Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lotus22
Helper III
Helper III

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 1
v-yangliu-msft
Community Support
Community Support

Hi  @lotus22 ,

1. You can set the relationship between the two tables in the relationship view, Manage relationships-New

v-yangliu-msft_0-1614817995900.jpeg

2. Place in the Bar chart

v-yangliu-msft_1-1614817995905.jpeg

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.