Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.