Forum Discussion

saranp780's avatar
saranp780
Helper III
8 years ago
Solved

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.

 

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

1 Reply

  • jthomson's avatar
    jthomson
    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