Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 have
Criteria = IF('Base Population Summary'[Date (11/17)].[Date]null,"NO","YES")
Base Population Summary = Data Tab
Date (11/17) = Date Variable
What is the correct way to write this custom variable?
Thanks
~Bryon
Solved! Go to Solution.
This worked with just a tweak: Thanks!!!
IF('Base Population Summary'[Date (11/17)].[Date]=BLANK(),"Yes","No")
NO problem, can you please mark it as resolved.?
Can you try this?
if (Base Population Summary'[Date (11/17)].[Date]=BLANK(),''Yes","No")
Thanks
Aditya
This worked with just a tweak: Thanks!!!
IF('Base Population Summary'[Date (11/17)].[Date]=BLANK(),"Yes","No")
NO problem, can you please mark it as resolved.?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |