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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hey Everyone - I have this formula in Power Query that looks like this:
=if [Provided Date]>= Date.From(DateTime.LocalNow() then "Up To Date" else 0
I'm trying to have it look at the "provided date" and if it's >= whatever the current date is, list it as "up to date".
I keep getting a token comma expected error and can't figure this one out - can anyone help?
Solved! Go to Solution.
You need to close parentheses for your Date.From. Add another after .LocalNow())
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
You need to close parentheses for your Date.From. Add another after .LocalNow())
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thank you for your help.