Forum Discussion

lotus22's avatar
lotus22
Icon for Helper III rankHelper III
5 years ago

Relationship between KPIs and Targets on multiple datasets

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 1Actual Data   
 PlantsFreqKPI 1KPI2KPI3
 ABCWeek183%83%88%
 XYZWeek175%85%84%
 TESTWeek176%90%98%
 ABCWeek271%93%100%
 XYZWeek268%97%98%
 TESTWeek264%100%100%
      
      
Sheet 2Target    
 PlantsKPI 1KPI2KPI3 
 ABC83%85%90% 
 XYZ75%86%95% 
 TEST76%88%92% 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.