Forum Discussion
% of total
- 9 years ago
I ended up adding two columns. One for No responses [QuestionNumNo] and one for yes responses[QuestionNumYes]. Then used the following to divide the yes's by the total. This seems to work.
QuestionNumPerc = sum('DataSet'[QuestionNumYes]) / (sum('DataSet'[QuestionNumYes])+sum('DataSet'[QuestionNumNo]))
Hi joshcomputer1,
Did you try to use 100% stacked column chart? It will show the value as the percent.
Regards,
Xiaoxin Sheng
I ended up adding two columns. One for No responses [QuestionNumNo] and one for yes responses[QuestionNumYes]. Then used the following to divide the yes's by the total. This seems to work.
QuestionNumPerc = sum('DataSet'[QuestionNumYes]) / (sum('DataSet'[QuestionNumYes])+sum('DataSet'[QuestionNumNo]))
- cartman219 years ago
Helper I
Had a similar query - appreciate you sharing the solution, thanks!