Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Distinct Count

Hi, 

 

Need help on DAX to find the Distinct Count of the users per day at different level. if we select a Matix table aand created a row headers as L2,Level1 and Userscount then the  sum of Distict Count of Level2 users should match with Level1 users distict Count. Please refer to the attachment for your reference.

 

Regards,

https://drive.google.com/file/d/1Rn5U3ABe8_fuQmay3HABtyCEjVa8UGnv/view?usp=sharing  

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Your expected result is not very clear. Can you update the link of file or provide dummy data in table format directly?

 

Usually when you want to get the distinct count values per day at different levels in a matrix, you can put date column and level column into the matrix. For example, Level as row field and Date as column field, or reverse. Then create a measure UserCount = DISTINCTCOUNT ( 'tablename'[user] ) and use this measure as Values field in the matrix. Then you will get what you want. 

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

TomMartens
Super User
Super User

Hey @Anonymous ,

 

the link you provided requires a login. Please provide a link that accepts an anonymous connection.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.