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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Optimusprime_25
Resolver I
Resolver I

How to give relationship (join) between aggregated Data table and Detailed Data table in Power BI

Hi Team,

 

I have two tables aggregated data table and detailed data table.

We have a requirement where we should display aggregated data counts on first page, when user clicks on any particular kpi, then it should redirect to detailed level data page where we should display data in detailed level in table.

 

The major issue we have is how to give relationship between two tables, on what basis we should join both tables so that we should get accurate data when user clicks on any kpi then it should redirect to detailed level data page and show in details.

 

Ex: Aggregated Data Table

Optimusprime_25_1-1703680274226.png

 


Ex: Detailed Data Table

Optimusprime_25_0-1703680225272.png

 

 

 

3 REPLIES 3
bhanu_gautam
Super User
Super User

@Optimusprime_25 , Now you can create new table which contains each unique value , means basically copy and one table remove duplicated insert index like country key 1,2,3 and then use merge and insert that index in original table remove name (country name) if you use this column and create relationship.

 

Building relationships between tables when both have duplicates (youtube.com), Watch this video 

 

Accept this as solution if it helps.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






bhanu_gautam
Super User
Super User

@Optimusprime_25 , You can use country as in one table it looks like it contains unique value and if not then you can create new table which contains unique value and than create relationship with other two tables which have data




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






@bhanu_gautam  Thanks for your rpompt response.

 

In Aggregated Data table nothing is uniue, country also gets repeated. For every country there could be multiple Body, Class and Type columns. So, this means Country value will get repeated in multiple rows.

 

Please let me know if anything is possible.

 

Thank you.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.