Forum Discussion
Data from multiple columns in one visual
- 9 years ago
Another way is:
Step 1
Go to Edit Queries
Select your columns with answers.
Transform - Unpivot Columns
Step 2
In the bar chart put Attribute (You can change the name to Question or another) in axis and Values(You can change the name to answer or another) in Value section
you need to create a measure for each column:
A = CALCULATE(COUNTROWS(Survey),Survey[I did A]=True)
B = CALCULATE(COUNTROWS(Survey),Survey[I did B]=True)
C = CALCULATE(COUNTROWS(Survey),Survey[I did C]=True)
Is there no other easier/alternative way to do things? I"ve got like 40 survey questions like this.
- Vvelarde9 years agoCommunity Champion
Another way is:
Step 1
Go to Edit Queries
Select your columns with answers.
Transform - Unpivot Columns
Step 2
In the bar chart put Attribute (You can change the name to Question or another) in axis and Values(You can change the name to answer or another) in Value section