Forum Discussion
dmacgill
8 years agoFrequent 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...
dmacgill
8 years agoFrequent 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