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
Billiam864
Regular Visitor

How can I adjust data model to avoid triangular relationship

1000008839.jpg

Hi - Data model question...

 

I have a fact table of usage/activity data containing the user, date, and location of use. 

I have dimension tables for location, date, and user details.

 

Two issues:

  • Part of the user data includes what location they are primarily aligned to.  I then use a connection between users and locations to identify a count of users assigned to each location (regardless of if they have any activity or not).

 

  • Both locations and users have regional geographic data they're assigned to.  If I keep the geo data within user and location tables then I'm forced to show multiple filters for geo on visuals... if I snowflake out the geo dimension table and link to both users and locations...then when a region is selected it will always apply to both (sometimes I want to see the activity for a location regardless of if user is assigned there or not...and other times I want to see activity of user regardless of location of use)

 

Feels like I'm stuck in a triangle data model between fact and 2 dimension tables using inactive relationships... and not a proper data model setup...thoughts?

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

@Billiam864 Get rid of the bi-directional relationship between TableDNA and TableWorkDayRoster. You could then potentially make the dimension relationships between your dimensions and fact tables bi-directional. If you have some problem that this configuration won't solve, solve it using measures.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler

1000008845.jpg

Thanks Greg for the response. As directed, I adjusted the dimensions to be bidirectional to the Fact table and not connect to each other...  however now the dimensions don't talk to each other... so for example I cannot count users by location.   Not all locations or users necessary show up in fact table,  so I don't believe communicating through that as a medium will work... unless I'm misunderstanding your suggestion?

@Billiam864 I don't know specifically what visualizations/calculations you are having problems with. But you can form relationships between your dimension tables via measures, for example. This would be a lot easier with sample data and expected results.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

Thanks Greg, I've tried to attach an excel file to help, but appear not allowed.  Photos are provided instead.   I unfortunately cannot attach BI data (due to scale and sensitivity).  There are 100's of various visuals across many dashboards connected to this data, so I'm trying hard to focus on the core data model, as opposed to getting lost in the weeds.  Does the excel help?

1000008858.jpg

1000008859.jpg

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