Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am creating a control chart, but am having trouble plotting my data because of the various y measurements (M1...M5) per x value (date) on a scatter plot in POWER BI. My data set looks like this. I would like to include all 5 measurements per day, the avg of the measurements per day, upper control limits and lower control limits.
A B C D E F
1 Date M1 M2 M3 M4 M5
2 7/6/2021 4 5 4 2 5
3 7/8/2021 3 2 5 4 3
4 7/9/2021 4 3 4 6 4
Solved! Go to Solution.
You should unpivot your data and make your analysis/visualization simpler. In the query editor, right click on the Date column and choose "Unpivot Other Columns". This will create an Attribute and Value column (or whatever you name them). You can then use the Attribute column as the legend in your visual, but use individual measures for each property (avg, max, std, etc.), instead of having to write a set of measures for each column/measure.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
You should unpivot your data and make your analysis/visualization simpler. In the query editor, right click on the Date column and choose "Unpivot Other Columns". This will create an Attribute and Value column (or whatever you name them). You can then use the Attribute column as the legend in your visual, but use individual measures for each property (avg, max, std, etc.), instead of having to write a set of measures for each column/measure.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
I was able to unpivot my columns and use the attribute column as the legend, but it still will not display the points. I am not able to insert the value column as the Y Axis. Is there a step I am skipping?
Hi, @Anonymous
I agree @mahoneypat, you still need to modify your measure for use. If you are confused, Can you share some sample data ? So we can modify measure for you.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I was able to create the control chart by unpivoting my table and following the directions. I am now struggling with finding the average measurement per day and displaying this information on my scatterplot. I would like each average per day to show on the chart and connect to the other averages
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
104 | |
98 | |
97 | |
38 | |
38 |
User | Count |
---|---|
153 | |
122 | |
76 | |
73 | |
66 |