Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

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

Posted on by Microsoft Employee

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

  • Suggested answer
    Redbeard Profile Picture
    Redbeard 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

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