Forum Discussion
Percentage Differences Boggle
- Anonymous7 years ago
I had already been down that road. The solution was to add the order to the tool tips (minimum), then select it from the "More Options" on the visual itself.
Anonymous it is not very clear what you are trying to achieve and what is not working? Can you share sample data and expected results.
One measure with the axis being the distance category.
All I want to do is calculate the percentages of each column. I could create a measure for each category and then a percentage measure too, but that seems a bit tedious.
- parry2k7 years agoSuper User
Anonymous add following measure to get %
% = DIVIDE( COUNT(Table[Distance Category]), CALCULATE( COUNT( Table[Distance Category] ), ALLSELECTED( Table[Distance Category] ) )
you can also have a measure for count and replace COUNT in above expression with your measure
- Anonymous7 years agoNot applicable
I tried that, but it returns 1 for all categories:
Pct = DIVIDE([Distance Count], CALCULATE([Distance Count], ALLSELECTED('Distance Category'[Distance Category])))Distance Count = COUNT(Mbr_Geo_Data[Mbshp_Address])- parry2k7 years agoSuper User
Anonymoushmm, seems like I'm missing something here, looks like you have multiple table with relationship, can you share what does that relationship looks like
also can you make sure on x-axis you are using the same distance category column which you used in DAX ALLSELECTED Function.