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 GP (Archived)

How to hide the whole section if the total balance is zero

(0) ShareShare
ReportReport
Posted on by

Hi there,

I used "X0" under "Print Control" to hide any row with zero balance. However, this function only works for Format code with "TOT", "CAL" or Blank. Is there any way I can hide the whole group/department where the total balance is zero? See example below.

Finance Department
   Postage expenses $0.00
  Courier expenses $0.00
Misc. expenses $0.00
Total expenditures for Finance Department $0.00

How can I hide the whole department as the total expenditures is zero.

Thanks,

Louise

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Redbeard Profile Picture
    12,931 on at
    RE: How to hide the whole section if the total balance is zero

    Louise,

    This one is a tough one, I was thinking perhaps you could get clever and add a calculation to the description row(s) like a check sum, which totals the component rows.  Then put the cal result (check sum) in an invisible column (like D) by adding a column restriction, so the result won't show on the report (because you suppress column D as your check sum column on your column layout with NP).  Then , the row will be suppressed by your 'X0' control when the cal / tot is zero?  Perhaps I should have said this with more confidence?

    Columns A D
    Finance Department $0.00
       Postage expenses $0.00 
      Courier expenses $0.00
    Misc. expenses $0.00
    Total expenditures for Finance Department $0.00
    Column Definition CR:A PC:NP
    Row Definition CR:D PC:X0

    CR = Column Restriction

    PC =  Print Control

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 GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans