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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a date Field and I want to filter rows base on that
In the Value , I want to have yesterday date formula.
I used https://learn.microsoft.com/en-us/powerquery-m/datetime-fixedlocalnow in the Query ribbon but it not working.
Only #datetime(2023, 5, 31, 0, 0, 0) is working in Query Editor.
What Query I should have in query editor for yesterday date? My date field is datetime
Solved! Go to Solution.
Date.From(DateTime.LocalNow() - #duration(1,0,0,0))
Date.From(DateTime.LocalNow() - #duration(1,0,0,0))
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |