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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to exclude some data while adding total in SSRS report?

(0) ShareShare
ReportReport
Posted on by 210

=Sum(IIF(Fields!BusinessGroup.Value = "NA",0,Fields!Balance01Cur.Value))

I have the same question (0)
  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    I moved your question to a D365FO forum. Now can you pleae elaborate your question? You posted a piece of code and forgot to provide any explaination of what problem you have with it, or what else you need from us.

  • vikash_ Profile Picture
    210 on at

    Hi Martin,

    I need to calculate the amount where the business group is not equal to "NA" if it is then I need to consider it as 0. So in the expression, I wrote the above code. It is not working though.

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    What exactly do you mean by "not working"?

    What if you wrap IIF() in VAL()?

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Vikash,

    Did you put the expression on the same tablix where data is located or it's outside the tablix? Does your expression return 0 or sum all lines (NA and not NA) or something else? Are you sure that NA is real value for the field and it's not shown in the tablix with another expression for example is the value is empty?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans