Forum Discussion
Anonymous
6 years agoNot applicable
Dynamic Date IF Statement
Hi, I'm trying to do a simple IF Statment but it doesn't seem to work; I'm trying to created a calculate column to use as a customer filter. I'm looking at 3 Columns as listed below: (...
- 6 years ago
Hi Anonymous
Do you check my answers above?
these are all measures instead of columns
max selected = MAX('calendar'[Date]) Measure = IF([max selected]>MAX([start])&&[max selected]<=MAX([end]),"Include","exclude")Best Regards
Maggie
Anonymous
6 years agoNot applicable
Hi Maggie,
Still not resolved, I have tired out all the Measures in the chat and also looked at the model, I can't figure out why its not picking up, Also my data set has less than 20,000 line and the refresh on visuals takes far too long for the simple calculations.
there is a picture of my model, date table is not connected...
v-juanli-msft
6 years agoCommunity Support
Hi Anonymous
Do you check my answers above?
these are all measures instead of columns
max selected = MAX('calendar'[Date])
Measure = IF([max selected]>MAX([start])&&[max selected]<=MAX([end]),"Include","exclude")
Best Regards
Maggie
- Anonymous6 years agoNot applicable
Hi,
This worked after testing again! Thank you very much.
Regards
Dobby Libr3