web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Line should display based ion values in SSRS report

(0) ShareShare
ReportReport
Posted on by 30

hi all,

Report design

salesQUOTATION.jpg

In the above design ---

Description - Is printing the ITEM NO

Description1, Description2, Description3 = it's should come for all item number based on value

Report output

reportQUO.jpg

here 3 GAPS  are coming for each item.

But the requirement is the above 3 LINES from each item SHOULD ONLY DISPLAY , IF VALUES IS THERE ELSE THOSE LINES SHOULD NOT COME.

In the above example, it should only show item numbers without GAPS

Please let me know how will do this

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    You should include an expression for row visibility like this -

    iif(First(Fields!Description1.Value, "SalesInvoiceDS") = "",false,true)

  • @rp@n Profile Picture
    30 on at

    for each line rite? means description2 and description3 also

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Correct. condition should be for each row.

  • @rp@n Profile Picture
    30 on at

    i tried this but the report is coming in below

    0257.a1.jpg

  • @rp@n Profile Picture
    30 on at

    i need to write the above expression -- Visibility  -- show/hide expression for each line rite?

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Yes. I think you wrote in the values expression.

  • @rp@n Profile Picture
    30 on at

    now i wrote code in each row -- row visiblity -- show/hide expression

    but still it's showing 3 balnk lines for each item

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Try this code please and check. Maybe I had the conditions reversed.

    iif(First(Fields!Description.Value, "SalesInvoiceDS") = space(0),True,False)

    You can check the Details rows (Packing slip for an example) in SalesInvoice report as well. They are using similar logic.

  • Jeremy_Mounet Profile Picture
    170 on at

    Hi

    Regarding the result, maybe your expression is not in the good sense.

    The property is Hidden, not "Show", so, if your value is empty  > Hidden = true else false.

    It's making something like

    iif(First(Fields!Description1.Value, "SalesInvoiceDS") = "",TRUE,FALSE)

    It is just a suggestion, you could display a screenshot of the visible property of your rows.

    Hope it could be helpful

    Jérémy.

  • @rp@n Profile Picture
    30 on at

    thanks Gunjan

    it's working now

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans