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
MH
Regular Visitor

2 dates to one Calendar

Hello everyone,

 

I have 2 column's with a date data and I'm trying to do one calendar.

 

 

 

I tried to do Calendar and connect it to the Effective_Date like this:

 

calendar.JPG

 

But then the date in the calendar ans the date of the Expiration_Date column does not match

 

powerbi.JPG

 

What am I doing wrong?
I'd be happy to get help  Smiley Happy

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @MH,

 

I don't know what is the final result you want but in PBI you can only make one active relation between two tables, What I do to make my calculations is make one of the date relationship active and another one not active and then make my measure for the non active relationship with a USERRELATIONSHIP formula.

 

What kind of information do you want to show?

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @MH,

From your screenshot, you connect Calendar[Date] to ServicePeriod[Effective-Date], so the Calendar[Date] equals to ServicePeriod[Effective-Date] rather than Expirtion data. You need to create a create a relationshiop between Calendar[Date] and  ServicePeriod[Expirtion data].

In addition, what's your requriement? Could you share more details.

Best Regards,
Angelia

MFelix
Super User
Super User

Hi @MH,

 

I don't know what is the final result you want but in PBI you can only make one active relation between two tables, What I do to make my calculations is make one of the date relationship active and another one not active and then make my measure for the non active relationship with a USERRELATIONSHIP formula.

 

What kind of information do you want to show?

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.