Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |