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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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 Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.