Forum Discussion
singhswat
10 years agoFrequent Visitor
Date Comparison
Hi This might sound silly but I'm not able to get around this problem. = If (StartDate > Today()) then "Hello" Else "Bye" Now() / Today () function just doesn't work Thanks for the...
- 10 years ago
Try with this
if [Calendar] > DateTime.Date(DateTime.LocalNow()) then "Hello" else "Bye" )
singhswat
10 years agoFrequent Visitor
Yes and adding a new column in query editor
kcantor
10 years agoCommunity Champion
In Query Editor, capitilaization matters. Use if instead of If in your original statement.
Here is more information on IF http://www.excelguru.ca/blog/2014/08/27/the-if-function-in-power-query/