Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I am trying to compare two date columns to see if one is greater than the other. The formula I am trying to use is:
=IF([Training record completed date]>[training record Due Date], "Yes", "No")
The error message I get it Expression.Error. The name 'IF' wasn't recognised. Make sure it's spelled correctly.
I have no clue as to why it isn't working. Please can anyone offer me a solution?
Thanks
Nikki
Solved! Go to Solution.
The IF function is different in Power Query. Try this:
if [Training record completed date] > [training record Due Date] then "Yes" else "No"
Proud to be a Super User!
That worked thank you so much!
The IF function is different in Power Query. Try this:
if [Training record completed date] > [training record Due Date] then "Yes" else "No"
Proud to be a Super User!
User | Count |
---|---|
70 | |
70 | |
34 | |
23 | |
22 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |