Forum Discussion
Matching dates to a holiday table
- 8 years ago
Hi Anonymous
“I built a relationship between the values and was able to get a column to show the date”
Do you mean “built a relationship between the values” instead of building a relationship on the date column?
Does the following example do as you said?
Then with a DAX, I can lookup “Holiday” based on “value” as follows.
Next, identify matching dates and produce a result of "True"
Column = LOOKUPVALUE(Holidays[Holidays],'Cases'[CreatedDate],[CreatedDate])
flag = IF([Column]=[CreatedDate],"true",BLANK())
Best Regards
Maggie
Hi Anonymous
“I built a relationship between the values and was able to get a column to show the date”
Do you mean “built a relationship between the values” instead of building a relationship on the date column?
Does the following example do as you said?
Then with a DAX, I can lookup “Holiday” based on “value” as follows.
Next, identify matching dates and produce a result of "True"
Column = LOOKUPVALUE(Holidays[Holidays],'Cases'[CreatedDate],[CreatedDate])
flag = IF([Column]=[CreatedDate],"true",BLANK())
Best Regards
Maggie