Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Run a report on visibility

Posted on by 4,184

Hi

In purchase order line, I have three lines, first line has quantity has 0, second with quantity as 100, third is 0,

The report should only display the contents of the line with quantity = 100, other lines should be hidden.

I applied visibility property on the report table as

=IIF(Fields!Quantity_ItemLedgerEntry.Value<>0,False,True)

then the whole report becomes invisible.

Any solution to this?

*This post is locked for comments

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Run a report on visibility

    If you dont want those Lines (With Zero Quantity) in the Report why Bring those lines even in Dataset?

    Filter your Data Item (Purchase Line) In Developer Environment with Quantity <> 0.

    With That you dont need to apply any visiblity condition in Report layout.

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 1,762 on at
    RE: Run a report on visibility

    So, depending on quantity, do you want to check whether to display additional info lines or not?

    If yes, set the same visibility on those lines as well.

    I assume you have created separate lines in table to display data from line items.

    -Yogesh Kulkarni

    Please verify, if you find answer helpful.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Run a report on visibility

    If you put visibility on rows then entire rows will be hide if quantity is zero and vice versa.

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 1,762 on at
    RE: Run a report on visibility

    Please apply visibility on Order Line grid and not on entire report dataitem.

    -Yogesh Kulkarni

    Please verify, if you find answer helpful.

  • CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Run a report on visibility

    Based on the Quantity there are lines above the row which has its related information like description etc

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Run a report on visibility

    You need to apply visibility on rows and not on the entire dataitem. Apply it on Rows and checl

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans