Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17897

DAX for getting distinct item and its count

$
0
0

I have a set of ids 

 

1

2

3

1

1

2

4

5

5

 

and i want the id and its count

1 - 3 times

2 - 2 times

3 - 1 time

4 - 1 time

5 - 2 times

 

and i have written a measure for the same

Measure = CONCATENATE(DISTINCT(Activityx[Column1.AppId]), DISTINCTCOUNT(Activityx[Column1.AppId]))

 

 

but i am unable to get the expected result. How can i achive that?


Viewing all articles
Browse latest Browse all 17897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>