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
Anonymous
Not applicable

What is the best way to relate two fact tables?

What is the best way to relate two fact tables?
2 ACCEPTED SOLUTIONS
sanalytics
Solution Supplier
Solution Supplier

@Anonymous 
The idle way to connect 2 fact table by a Dimension table..
create a Unique Dimesion table from your fact table then make one to many relationship..
Have a look into below sceenshot..

sanalytics_0-1604756874130.png

Attached link is power bi file..

https://we.tl/t-9wjZEhYklG
for better result please post your power bi model and exact requirement.

Regards,

sanalytics

If it is your solution then please Accept it as solution and please like.

 

 

 

View solution in original post

negi007
Community Champion
Community Champion

@Anonymous  Ideally, you should have one main table (can be called dimension table) which will have a unique field to connect to other tables (could be fact tables). Then you can create one-to-one relationship between your dimension table and fact table. It will be greate if you can share your dataset view so can assist you accordingly. However, you should follow one dimension table to multiple fact table relationship. this will also help in createing star schema in your dataset.




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



Proud to be a Super User!


Follow me on linkedin

View solution in original post

2 REPLIES 2
negi007
Community Champion
Community Champion

@Anonymous  Ideally, you should have one main table (can be called dimension table) which will have a unique field to connect to other tables (could be fact tables). Then you can create one-to-one relationship between your dimension table and fact table. It will be greate if you can share your dataset view so can assist you accordingly. However, you should follow one dimension table to multiple fact table relationship. this will also help in createing star schema in your dataset.




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



Proud to be a Super User!


Follow me on linkedin

sanalytics
Solution Supplier
Solution Supplier

@Anonymous 
The idle way to connect 2 fact table by a Dimension table..
create a Unique Dimesion table from your fact table then make one to many relationship..
Have a look into below sceenshot..

sanalytics_0-1604756874130.png

Attached link is power bi file..

https://we.tl/t-9wjZEhYklG
for better result please post your power bi model and exact requirement.

Regards,

sanalytics

If it is your solution then please Accept it as solution and please like.

 

 

 

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.