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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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