Forum Discussion
Bbrown44
8 years agoAdvocate II
How to calculate a yes/no (binary) variable from date variable
I have a date variable where I want to create a new variable where IF date IS NOT Null THAN "YES' ELSE IF "NO" I tried to use DAX create this variable by creating a new column this is what I ha...
- 8 years ago
This worked with just a tweak: Thanks!!!
IF('Base Population Summary'[Date (11/17)].[Date]=BLANK(),"Yes","No")
- Anonymous8 years ago
NO problem, can you please mark it as resolved.?
Anonymous
8 years agoNot applicable
Can you try this?
if (Base Population Summary'[Date (11/17)].[Date]=BLANK(),''Yes","No")
Thanks
Aditya
Bbrown44
8 years agoAdvocate II
This worked with just a tweak: Thanks!!!
IF('Base Population Summary'[Date (11/17)].[Date]=BLANK(),"Yes","No")
- Anonymous8 years agoNot applicable
NO problem, can you please mark it as resolved.?