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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

Show or Not to show zero balance in SSRS Report

(0) ShareShare
ReportReport
Posted on by 130

Hi all ,

I have a parameter show zero balance ( yes , no )

if the user turns on the show zero balance He get the data with zero else they are turned off

How can I do it as show or hide expression in SSRS report 

Thanks 

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Show or Not to show zero balance in SSRS Report

    Hi lala,

    When you say, data with zero, are you referring to hiding a row in the report, or only hiding a text box?

    To look at examples for visibility expressions, you can check SalesInvoice report., right click a few the rows and check the row visibility condition.

    pastedimage1613409250679v1.png

    You can write a similar condition based on the parameter value.

  • GAE Profile Picture
    130 on at
    RE: Show or Not to show zero balance in SSRS Report

    Hello

    If I want to hide a row in the report , what the condition to hide the zero values

  • Suggested answer
    Ajit Profile Picture
    8,755 on at
    RE: Show or Not to show zero balance in SSRS Report

    I believe you will have parameter on your report dialog. I would recommend to handle the logic in your code itself. Are you using DP class or query for your SSRS report?

  • GAE Profile Picture
    130 on at
    RE: Show or Not to show zero balance in SSRS Report

    Yes I have a parameter : Show zero balance

    Im using DP Class

    i need the condition to hide or show the zero balance

  • Suggested answer
    Ajit Profile Picture
    8,755 on at
    RE: Show or Not to show zero balance in SSRS Report

    Good. Populate your temp table based on your parameter. If it says show zero 'yes' then only insert zero value data in your temp table.

  • GAE Profile Picture
    130 on at
    RE: Show or Not to show zero balance in SSRS Report

    I need the code for this condition

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Show or Not to show zero balance in SSRS Report

    You can use something like this in the visibility expression -

    =iif(Parameters!ShowZero.Value = "Yes", false, 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 753

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 752 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 534 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans