The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
6 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
17 | |
17 | |
6 | |
6 | |
5 |