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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Emre75
New Member

Relation in Data Model after aggregation

when I aggregate data with groupby or summarize function in a new table , there is no relationship between the main table and new table in the data model. How can I establish this relationship?

3 REPLIES 3
Emre75
New Member

In the main table (which is quite a long table) there is time information for each row.

I group the values in one column and sum the values in another column for those groups. But when you do this (with summarize function), the relationship with time is lost. Any filtering in time is not reflected in this distribution.

Emre,

 

Maybe I'm missing something here, but include the relevant time columns in the SUMMARIZE function too then. Joining two fact tables together is generally not best practice; multiple fact tables may often both be joined to a common set of dimension tables though.

 

Hard to provide much help without more specific scenarios and more knowledge of your actual tables (both real and calculated) and/or context for why the calculated table is needed. 😄


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Wilson_
Super User
Super User

Hello Emre,

 

Presumably, they're both fact tables so my question is why would you want to? Would you not instead create relationships between your dimension tables and the new calculated table?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.