March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I'm creating a template dashboard for survey responses. I will use this template to run the data and refresh automatically to show all the analysis/chart in Power BI.
there are survey question which the column name will change. Eg:
Survey A has column names =
Option 1 | Option 2 | Option 3
and another Survey B has column names =
Option 4 | Option 5 | Option 6
So, I have create a chart for this survey question in Power BI. When I want to run the dashboard for each survey, I want to only click refresh and power Bi will pick up the data and fit it into the chart. I'm stuck with this thing and cannot find solution elsewhere. Thanks
You can unpivot the column first in power query, you can refer to the following link.
Unpivot columns - Power Query | Microsoft Learn
Then create a type column
e.g Option 1 | Option 2 | Option 3 belongs to'Survey A'
Option 4 | Option 5 | Option 6 belongs to'Survey B'
Then you can create a slicer and put the type to the slicer to control the display.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unpivot your data so that your variability translates into rows rather than columns.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
20 | |
13 | |
10 | |
9 | |
7 |
User | Count |
---|---|
39 | |
27 | |
16 | |
15 | |
10 |