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
Roinka
Helper I
Helper I

One active relation when we need 2

Hi,

I have a calendar dimension which holds the date and name of the day of the week and a sales fact table which holds details per sales. The sales table include both an order date and a stock date for every order.

I can join between the sales table and the calendar table based over the Sales.orderDate to Calendar.Date or based over Sales.stockDate to Calendar.Date but as you know only one relation may be active at a time.

Lets say i want to present 2 visuals. One will hold the profits per day of the week considering the orderDate and the other will hold the profits per day of the week considering the stock date.

Since we can only have one active relation between calendar and sales, how can we present the two matrix on the same report?

Thanks.

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Roinka 

Have you checked out USERELATIONSHIP? You could have one relationship active and the other inactive and activate the latter through USERELATIONSHIP in a CALCULATE

https://dax.guide/userelationship/

View solution in original post

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @Roinka 

Have you checked out USERELATIONSHIP? You could have one relationship active and the other inactive and activate the latter through USERELATIONSHIP in a CALCULATE

https://dax.guide/userelationship/

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
Top Kudoed Authors