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
...Date.AddDays(DateTime.LocalNow(), -3))
Note that you are using a datetime value to test equality against what appears to be a date column. I would wrap DateTimeLocalNow() with a Date.From, so
Date.AddDays(Date.From(DateTime.LocalNow()), -3))
--Nate
Hello
If the date falls on the weekend, how should I say -2 days out?
Hello
I wanted to take out the day by translating the date into text, can you help
DateTime.ToText(Date.From(Date.AddDays(DateTime.LocalNow(), "dd-MM-yyyy", -3)))
...Date.AddDays(DateTime.LocalNow(), -3))
Note that you are using a datetime value to test equality against what appears to be a date column. I would wrap DateTimeLocalNow() with a Date.From, so
Date.AddDays(Date.From(DateTime.LocalNow()), -3))
--Nate
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 5 | |
| 5 | |
| 3 |