Forum Discussion
Anonymous
1 year agoNot applicable
How to set a date range
Hi, I hope someone can help me to solve this. I want to set a date range since 2024-01-01 to current date. I tried with this code but it doesn´t work. = Table.SelectRows(ConjuntoDeDatosConFaseTem...
- 1 year ago
Anonymous,
Try replacing the code in red with this:
DateTime.LocalNow()
Omid_Motamedise
1 year agoSuper User
Use this formula
= List.Dates(#date(2024,1,1),Number.From(Date.From(DateTime.LocalNow())- #date(2024,1,1))+1,Duration.From(1))