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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
saranp780
Helper III
Helper III

How to count the same data?

If I have some data like this.

 

NameDistrict
AAUX01
AAUX02
BBUX01
BBUX01
AAUx02
AAUx02
AAUx02
BBUX01
BBUX01
AAUX01
AA

UX01

 

All I want to do, is I want to count Name and put it into District, for example,

AA=7 and AA in Ux01 = 3 and AA in Ux02 = 4.

BB=4 and AA in Ux01 = 4 without BB in Ux02.

 

 

Please, help me to tell the DAX that I can finish it.

Thank you all.

 

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Why would you need DAX to do this? Just put it into a matrix visual, just need a simple countrows measure for the values

View solution in original post

1 REPLY 1
jthomson
Solution Sage
Solution Sage

Why would you need DAX to do this? Just put it into a matrix visual, just need a simple countrows measure for the values

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors