kraamerica
Board Regular
- Joined
- Apr 7, 2020
- Messages
- 66
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
If the following:
= Table.SelectRows(#"Changed Type", each [BOOK_DT] = #date(2025, 3, 19) or Date.IsInPreviousNDays([BOOK_DT], 1))
I'm trying to change the specific date listed as the actual date 2025, 3, 19 to show today and previous day but I can't write this correctly. Searches turn up how to write it as if I only want to have the expression just showing as today's date. So it needs to be overwritten with this?: <= Date.From(DateTime.LocalNow())) but I keep getting an error.
OR is there a way to filter the query date filter editor to just show today and previous day?
Thanks in advance.
= Table.SelectRows(#"Changed Type", each [BOOK_DT] = #date(2025, 3, 19) or Date.IsInPreviousNDays([BOOK_DT], 1))
I'm trying to change the specific date listed as the actual date 2025, 3, 19 to show today and previous day but I can't write this correctly. Searches turn up how to write it as if I only want to have the expression just showing as today's date. So it needs to be overwritten with this?: <= Date.From(DateTime.LocalNow())) but I keep getting an error.
OR is there a way to filter the query date filter editor to just show today and previous day?
Thanks in advance.