Forum Discussion
myti
9 years agoHelper II
Date format problem
Dear Experts,
I have a calculated Measure which is an output in Date format like 1/1/2017. Once I want to use this output in if condition I can not get the correct answer and "if condition" can not recognise it.I dont know how I may have both in the same format to compre them in a if conditon. my current if condition is as below: I expect that the below formulah return 1 once Measure=1/1/2017.however it doesnt recognise them as equal and return 0. any idea how I can fix it?
CalculatedColumn=IF([Measure]=DATE(2017,1,1),1,0 )
Thank you,
Best Regards
Mehdi