Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Measure and Calculation column not working properly

I have two calculated columns(TimeFrameDateRangeCol1) one is a measure (TimeFrameDateRange1 ) other is a calculation 

 

TimeFrameDateRange1 = 
IF( NOT( ISBLANK(vw_patientListNew[MinselectedDateRange1]) && ISBLANK(vw_patientListNew[MaxselectedDateRange1])),
vw_patientListNew[MinselectedDateRange1]  &"-"& vw_patientListNew[MaxselectedDateRange1],Blank())
TimeFrameDateRangeCol1 = 

IF(isblank([TimeFrameDateRange1]),"blank","Not")

 

 as you can see TimeFrameDateRangeCol1 condition is failing. Can you please let me know i i am doing wrong

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      I removed the measure in the column and still there is issues:

      as you can see the slicer1 is between 01/01/1989 and 7/26/1990. In TimeFrameDateRangeCol1  i want 1 for exists and blank for dont exists.

      DateFilterRange = IF(MAX(vw_patientListNew[StatusDate]) in UNION(VALUES(DateRange1[Date]),VALUES(DateRange2[Date]),VALUES(DateRange3[Date])),1)
      TimeFrameDateRangeCol1 = 
      IF(MAX(vw_patientListNew[StatusDate]) in VALUES(DateRange1[Date]),1)