Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
98 | |
91 | |
84 | |
71 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |