Forum Discussion
dtartaglia
Resolver I
10 years agoCount number of string values in multi value columns?
Hi,
I'm sure this is an easy one but can't seem to figure it out. All I want to do is display a tooltip for the total number of users in a selected column. The below image shows the user count from the selected red part of the column.
Thanks,
Dan
You can use following measure to display the total number of users in a selected column.
User Count_2 = CALCULATE ( DISTINCTCOUNT ( SurveyDataTransposed[Name] ), ALLEXCEPT ( SurveyDataTransposed, SurveyDataTransposed[Studio] ) )
Best Regards,
Herbert
6 Replies
- Greg_Deckler
Community Champion
So you have this working or is that a mock-up of what you want? Any chance you can provide sample data?
- dtartaglia
Resolver I
I do not see how to attach a pbix.
- Greg_Deckler
Community Champion
Most times people put the pbix on their personnel OneDrive and share it.
- v-haibl-msft
Microsoft Employee
You can use following measure to display the total number of users in a selected column.
User Count_2 = CALCULATE ( DISTINCTCOUNT ( SurveyDataTransposed[Name] ), ALLEXCEPT ( SurveyDataTransposed, SurveyDataTransposed[Studio] ) )
Best Regards,
Herbert
- dtartaglia
Resolver I
Hi Herbert,
Thanks!
Dan