I have target data for the KPIs in the different sheet as shown below. I don't know how to build relations between the both in PowerBI data model. I am trying to use the targets as dots on the Bar charts.
Sheet 1 | Actual Data | ||||
Plants | Freq | KPI 1 | KPI2 | KPI3 | |
ABC | Week1 | 83% | 83% | 88% | |
XYZ | Week1 | 75% | 85% | 84% | |
TEST | Week1 | 76% | 90% | 98% | |
ABC | Week2 | 71% | 93% | 100% | |
XYZ | Week2 | 68% | 97% | 98% | |
TEST | Week2 | 64% | 100% | 100% | |
Sheet 2 | Target | ||||
Plants | KPI 1 | KPI2 | KPI3 | ||
ABC | 83% | 85% | 90% | ||
XYZ | 75% | 86% | 95% | ||
TEST | 76% | 88% | 92% |
Hi @lotus22 ,
1. You can set the relationship between the two tables in the relationship view, Manage relationships-New
2. Place in the Bar chart
Is this the result you expect, if not, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data
You can downloaded PBIX file from here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out new user group experience and if you are a leader please create your group
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
User | Count |
---|---|
420 | |
168 | |
105 | |
85 | |
58 |
User | Count |
---|---|
437 | |
183 | |
136 | |
109 | |
87 |