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 :
Microsoft Dynamics CRM (Archived)

How to count Distinct values based on 2 different column values in a SSRS report?

(0) ShareShare
ReportReport
Posted on by

Hello Experts,

Sorry for off the topic post, however I could not find any community forum related to SSRS. 

I have a question around Counting number of New Accounts based on Distinct Account values, I'm using grouping condition to list all the Accounts and in another column I'm listing whether it is a New or Old account using an expression. But however when I try to count the number number of new Account it is counting all the rows that have a value of "New" but I want to count all the distinct New Accounts. Is there any way that I can do that.

NOTE: "New/Old Account" column is not in my database but I'm getting that value based on another condition/expression. 

Here in the screenshot below, Count of New Accounts should be 2 instead of 3 since there are only 2 new accounts. 

66057.1.png

Thanks,

Sunny

*This post is locked for comments

I have the same question (0)

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans