Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Creating a control chart with multiple y measurements for one x value

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 ...
  • mahoneypat's avatar
    5 years ago

    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