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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Remove blank lines from Report

(0) ShareShare
ReportReport
Posted on by

Hello Experts,

I am developing a Report, in that i am using multiple tables. But in some table somewhere is data and somewhere not . So i want to Remove blank lines those are not having data. Please guide me ASAP.

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Rehan Satti Profile Picture
    634 on at
    RE: Remove blank lines from Report

    Have you tried to use

    Use PrintOnlyIfDetail property of report data item

  • Community Member Profile Picture
    on at
    RE: Remove blank lines from Report

    Hello Rehan,

    I tried this. but its not working.

  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at
    RE: Remove blank lines from Report

    Hi Manita,

    Hope CurrReport.SKIP help you!

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Remove blank lines from Report

    Please apply the filter on the group in the report, to filter lines or apply Row Visibility Condition

    docs.microsoft.com/.../add-dataset-filters-data-region-filters-and-group-filters

  • Suggested answer
    Zaid Tariq Profile Picture
    2,274 on at
    RE: Remove blank lines from Report

    Well just click on the row from the tablix and go to row visibility,, Add a condition and it will work. If still not just share your Layout screenshot and Data-set, i will write you back the condition. Thanks

  • manish.yadav Profile Picture
    1,893 on at
    RE: Remove blank lines from Report

    Dear manita,

    Please follow my screenshots, your problem will be resolved 100%.

    86402.2.png

    86402.2.png

  • Suggested answer
    Tina Menezes Profile Picture
    2,582 on at
    RE: Remove blank lines from Report

    Hi Manita,

    You need to go to the 'Row visibility' of your details row of the table.

    3480.Report1.png

    Select 'Show or hide based on an expression'.

    3480.Report1.png

    Now enter the expression based on which the row must be hidden.

    =Fields!FieldName.Value=""

    Enter the name of the field based on which the row should be hidden.

    report-2.png

  • Verified answer
    Binesh Profile Picture
    7,885 on at
    RE: Remove blank lines from Report

    Hello Manita,

    for hiding a rows from RDLC -> Select whole row and then go for Row Visibility and then write in expression something:

    =Fields!YourFieldName.Value=""

    or you can use

    =IsNothing(Fields!YourFieldName.Value)

    For skipping the record that you don't want then write something in

    OnAfterGetRecord triger

    IF YourTableField = '' THEN Currreport.SKIP;

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans