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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
IvanS
Helper V
Helper V

How to create 3 relationships between 3 tables

Hello,

 

I am trying to create relationships between my DateTable and 2 fact tables (Drivers & Session tables).


Currently I have relation between DateTable and Session using "Date Charging From" and another relation between Session and Drives using "DriverID" column.

 

Now I would need to create connection between DateTable and Drivers as well to have custom date hierarchy (weeks, etc.) applied for Drivers table.

IvanS_0-1649408122594.png

Any suggestions how to avoid ambiguity in this model?

 

Thank you in advance!

Ivan

 

1 ACCEPTED SOLUTION

Hi, @IvanS 

 

Create the DriverID dimension table, disconnect the id column of the original two fact tables, and then connect to the two fact tables respectively. When it comes to visual, just use the columns of the dimension table.

 

Best Regards,
Community Support Team _ Janey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

General guidance is that you should avoid connecting fact tables to other fact tables. Instead, both should be controlled by the common dimension table.

But how can I create visuals with the following scenarios?

 

- Trend line of charging sessions (using date table)

- Trend line of registered drivers (using date table)

- Charging sessions per driver

 

Do I need to create another table, e.g. calculated table of Drivers (with distinct values) which will be then connected separately?

Hi, @IvanS 

 

Create the DriverID dimension table, disconnect the id column of the original two fact tables, and then connect to the two fact tables respectively. When it comes to visual, just use the columns of the dimension table.

 

Best Regards,
Community Support Team _ Janey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors