Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.