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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.