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
dmacgill
Frequent Visitor

Column not relating to dates

Hi,

 

Have create a Column that is not relating to a Calendar table Date Hierarchy:

Renewed CAPS = IF(AND([RENEWAL]=1,[A1B_BOUND_DATE]>1),1,BLANK())

 

Ironically created a similar Column that is relating to a Calendar table  Date Hierarchy:

Renewed Edge = if(AND([RENEWAL_FLAG]="y",[BOUND_DATE]>1),1,BLANK())

 

Any suggestions why the 1st Column will not relate to a Date Hierarchy?

 

Thanks

 

dmacgill

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@dmacgill,

 

This might be caused by the relationship.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
dmacgill
Frequent Visitor

Should have added, already have them fields related to the Calendar Date table

 

1st one

Date Renewal CAPS = if([Renewed CAPS]=1, CALCULATE(VALUES(PeriodMonth[Period]),FILTER(PeriodMonth,PeriodMonth[START_DATE].[Date]<=EARLIER([A1B_BOUND_DATE].[Date])&&PeriodMonth[END_DATE].[Date]>=EARLIER([A1B_BOUND_DATE].[Date]))),BLANK())

 

2nd one

Date Renewal Edge = IF([Renewed Edge]=1, CALCULATE(VALUES(PeriodMonth[Period]),FILTER(PeriodMonth,PeriodMonth[START_DATE].[Date]<=EARLIER([BOUND_DATE])&&PeriodMonth[END_DATE].[Date]>=EARLIER([BOUND_DATE]))),BLANK())

 

Thanks,

 

dmacgill

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.