Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 4 | |
| 3 |