The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I took a survey where some questions allowed respondents to tick multiple response options. In my report, I would have liked to show the proportion of respondents who ticked a particular answer option, visualised in a bar chart.
With a simple example, this looks like this:
Data table:
How I want this to be displayed in Power BI (now calculated in Excel):
Thanks in adance
Solved! Go to Solution.
Hi @wdvro
You need to first find out how respondants there are. Presuming there is a ResponseID or UserID in the Data ?
Reposnses/Users = DISTINCTCOUNT('Table'[ResponseID])
Then Create this
% = DIVIDE([Responses/Users], CALCULATE([Responses/Users], ALL('Table')))
Convert to %
Thanks
Joe
If this post helps, then please Accept it as the solution
Hi @wdvro
You need to first find out how respondants there are. Presuming there is a ResponseID or UserID in the Data ?
Reposnses/Users = DISTINCTCOUNT('Table'[ResponseID])
Then Create this
% = DIVIDE([Responses/Users], CALCULATE([Responses/Users], ALL('Table')))
Convert to %
Thanks
Joe
If this post helps, then please Accept it as the solution
Thank you, just what I was looking for!
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
94 | |
80 | |
55 | |
48 | |
48 |