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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

2 Dates to one calendar

Hi,

 

I'd like to get some help.!

 

I want to make more than 2 active relationship.

here is my report, 2 dates columns and one calendor that created with dax calendarauto().

at the end, i want to show 2 dates columns progress in one graph.

Problem1.PNG

at the moment, one relationship is active and in the graph it count same figures which is wrong..

problem2.PNG

 

any advice would be much appreciated..

 

thank you,

CL

 

 

 

 

 

 

 

 

 

 

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @colourfullife,

                                

In you scenario, USERELATIONSHIP() function might be helpful for you.
Here’s my sample data:

2.PNG

Please check following steps as below and see if the result achieve your expectation:

1. Create inactive relationship:

 

1.PNG

2. Create measure:

Measure = CALCULATE(COUNT('Table'[end]),USERELATIONSHIP('Table'[end],'Table 2'[Date]))

3. Result would be shown as below:

3.PNG

Hopefully works for you.

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.