Forum Discussion

K3nnysiu's avatar
K3nnysiu
New Member
3 years ago
Solved

DAX: Creating a measure to conditional format between a calendar table and data table w start/end

Hello Everyone,

 

Im trying to create a matrix visual that will highlight that is inbetween start and end date by title off of a calendar column. 

 

Please see below 

table1

table2 date

 

What I have so far - 

CF =
CALCULATE (1,
    FILTER (
        table2,
            table2[Date] >= min(table1[startdate] )
            && table2[Date] <= max(table1[enddate] )
    )
)
 
 
Doesnt work since it populate everything to 1, it needs to be dynamic enough to go row by row
 

example solution that what im trying to get to

 

 

2 Replies