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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Tablix filter with OR for Posted Sales Shipment Report

(6) ShareShare
ReportReport
Posted on by 49
Hi all,
 
I am trying to change our Posted Sales Shipment report (report ID 208) so that it shows only items which have been shipped on that shipment, but also shows all Comments. I can filter using Report Builder to show only lines where the shipment quantity is >0 but this obviously doesn't then show the comments. I can show just the comments by choosing the line type to be 0 but then it doesn't show the lines. 
 
Is there any way to create a filter (or filters) which displays Quantity > 0  OR Line type = 0 ?
 
Thank you in advance,
I have the same question (0)
  • Verified answer
    Khushbu Rajvi. Profile Picture
    22,130 Super User 2026 Season 1 on at
    You can use an expression in the Tablix filter in Report Builder.
    =IIF(Fields!Quantity.Value > 0 OR Fields!LineType.Value = 0, True, False)
  • Sahan Hasitha Profile Picture
    2,683 on at
    hi
    01.Use an Expression in Report Builder
    • In Report Builder, you can add a Row Visibility Expression for the detail row:

      1. Right-click the detail row → Row Visibility → Show or hide based on an expression

      2. Use an expression like this:  (=IIF(Fields!Quantity.Value > 0 OR Fields!LineType.Value = 0, False, True))

    02. Modify the Dataset in AL (if needed)

                Add a calculated field that evaluates: (ShowLine := (Quantity > 0) OR (LineType = 0);)

    and pass this to ms report builder  Then filter rows in the report based on ShowLine = TRUE.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans