Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Line should display based ion values in SSRS report

Posted on by 5,901

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

  • vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Line should display based ion values in SSRS report

    Hi,

    Can you confirm that there is no 'space' in description value?

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Line should display based ion values in SSRS report

    Arpan,

    Can you try deleting the report from reporting server and deploying the report again?

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Line should display based ion values in SSRS report

    Vinit, the same only i did

  • Suggested answer
    vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Line should display based ion values in SSRS report

    Hi Arpan,

    You need set expression on Row visibility =iif(Fields!Description1.Value= space(0),True,False)

    select the entire row where you have a description set like below -> click on Row visibility and set the expression. 

    pastedimage1598367229232v1.png

    pastedimage1598367287600v2.png

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Line should display based ion values in SSRS report

    Arpan,

    It should work. id there is more than one dataset, please mention the dataset name and try deploying the report again.

    Check this example from SalesInvoice report as well -

    pastedimage1598366696239v1.png

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Line should display based ion values in SSRS report

    no bro

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Line should display based ion values in SSRS report

    Nothing else. Is it not working?

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Line should display based ion values in SSRS report

    i wrote 3 expressions like

    =iif(Fields!Description1.Value = space(0),True,False)

    =iif(Fields!Description2.Value = space(0),True,False)

    =iif(Fields!Description3.Value = space(0),True,False)

    for each rows. now what to change?

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Line should display based ion values in SSRS report

    First expression fetches only the first record of the dataset. Since this condition returns true, lines are getting displayed for all rows. Replace the existing condition with the  new condition I provided and test if you see expected result.

  • @rp@n Profile Picture
    @rp@n 5,901 on at
    RE: Line should display based ion values in SSRS report

    Gunjan,

    sorry, not understand

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans