Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217177

Count (Distinct): DAX equivalent or rename table header

$
0
0

I have table visualization with 2 columns. First column: "State", another column should be number of clubs  for each state.

There is field in table "Club_Number". When I use right-click-on-Club_Number and select "Count (Distinct)" I get correct number of clubs for each state and column header "Count of Club_Number". I need different column header, for examle "Number of Clubs".

But:

- I don't see option to reame header, is there way to re-name header ?

- when I try to create measure it gives me different-wrong number of clubs, same for each state.

   Measure is: DISTINCT('MYTABLE'[CLUB_NUMBER])

   What is the DAX statement for "Count (Distinct)" (which shows up in popup menuon right-btn-click) ?

 

Many thanks


Viewing all articles
Browse latest Browse all 217177

Trending Articles



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