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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.