Forum Discussion
Anonymous
4 years agoNot applicable
How to compare multiple rows for a given column
Folks, I have a table like below which I import from mysql database. My goal is compare each of the metrics for a given model+submodel combination. May be a clustered bar grap where first colu...
- 4 years ago
Hello Anonymous
Below are two variants. 1st is what you showed as per your last post and 2nd is as per your 2nd post. You can choose any one. PowerBI file is attached.
Feel free to accept as solution so that others find it easy to get solution.
Thanks,
- 4 years ago
Hi
I believe you need a bridge table to resolve this. You can create a table (let's call it bridgetable) with unique IDs. Create a relationship with bridgetable and table with all metric values. This relationship will be 1 to many.
Thanks
Thingsclump
4 years agoResolver V
Hi Anonymous
- In powerquery editor, go to "Transform" tab. Select metric1,2,3,4 columns and click on "unpivot columns". Rename "attribute" column to "metric". Rename "value" column to "metric value". Close and apply to load the data.
- Now create a clustered column chart. "Model" and "sub model" field should be in Axis. Put "metric" field to Legend. Put "metric value" field to values.
You have to drill down to see model and sub model details.
Feel free to Accept it as a solution if this is what you expected.
Thanks
Anonymous
4 years agoNot applicable
hi,
Here is what I am looking for.