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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CoboleiroBr
Helper I
Helper I

Help using multiple date relationships

Hello guys!

 

I have a Calendar table and a Tickets Table. 

 

The most important columns in Tickets Table are:

- Ticket Number

- Open Date

- Response Date

- Close Date

 

They are related with Calendar table by Open Date (active relationship), Response Date (inactive), Close Date (inactive).

 

I have a report and I need to filter the Tickets by Open Date. I use the Calendar Date in the slicer and it's working perfectly.

 

But how to use the Calendar date in the slicer to filter by Response Date? Is that possible?

 

I guess it's not possible, so I created a table called Responsed Tickets, filtering only the Tickets that were already responded. The problem is I can't create a relationship with Calendar Date, because another column in Tickets table is using a RELATED dax statement with calendar (to know if it's a holiday), and I get a circular reference.

 

How are you used to deal with it?

 

Thanks!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

In some cases, you will want to create another duplicate calendar table that you relate to your other date. The other option is to use the USERELATIONSHIP with measures but that may not work in your specific case.



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...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

In some cases, you will want to create another duplicate calendar table that you relate to your other date. The other option is to use the USERELATIONSHIP with measures but that may not work in your specific case.



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...

Hi @Greg_Deckler !

 

I'm already using USERELATIONSHIP in measures, but I didn't find a solution in this case besides creating other Calendar Table...

 

Thanks!

Once I toyed around with creating a third calendar table related to my two calendar tables and using that as my central calendar table but I am pretty sure that ran into issues. I'd have t revisit.



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...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.