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
patri0t82
Post Patron
Post Patron

Multiple Active Relationships, Help with USERELATIONSHIP

Hello,

I have two tables with three different columns that match, that I would like active relationships for:

 

'Gate Scans'[Corrected Date] - 'Daily Force Report'[Date]

'Gate Scans'[Company] - 'Daily Force Report'[Company]

'Gate Scans'[Day or Night] - 'Daily Force Report'[Days/Nights]

 

All I'm trying to do is have one date slider at the top that filters a table visual with lists from both separate tables. 

If I make the 'Corrected Date - Date' relationship active, it gets me the closest, but I'm still not able to interact with the companies together. Likewise I can't filter on Day or Night fields. 

 

I understand I'll need to create some sort of measure using USERELATIONSHIP, but I'm having a difficult time understanding the concept. I don't understand how the 'CALCULATE' function would fit in if I'm just trying to slice and dice.

 

Thanks for your help.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@patri0t82 , Do you need userealtionship means alternate join or concatenated key

 

In case you need -concatenated key 

 

New column in 'Gate Scans'
key = [Corrected Date] & [Company] & [Day or Night]

new column in 'Daily Force Report'
key = [Date] & [Company] & [Days/Nights]

 

for userelationship

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@patri0t82 , Do you need userealtionship means alternate join or concatenated key

 

In case you need -concatenated key 

 

New column in 'Gate Scans'
key = [Corrected Date] & [Company] & [Day or Night]

new column in 'Daily Force Report'
key = [Date] & [Company] & [Days/Nights]

 

for userelationship

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for this solution - I believe the 'key' idea is going to work fine. Is this something that is used pretty common?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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