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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Morning
I need to create a custom column that dsiplays Todays date minus 1 day. I thought it might look someting like this
=Date.AddDays(DateTime.FixedLocalNow())-1
but this dispalys and error.
thank you
Richard
Solved! Go to Solution.
Hi,
this functions
Date.AddDays( DateTime.FixedLocalNow(),-1))
control your parenthesis
Hi @cottrera
Date.AddDays(Date.From(DateTime.FixedLocalNow()), -1 )
| Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Great works fine thank you for responding so quick;y 😀
Hi,
this functions
Date.AddDays( DateTime.FixedLocalNow(),-1))
control your parenthesis
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 9 | |
| 8 | |
| 8 |