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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.