Forum Discussion
Anonymous
7 years agoNot applicable
Create rows for every date in date-range
Hello all I have a table with a "from" and a "till" date. I need to generate a row for each date in that range, i think ive done this before but cant figure out how i did it. Best regards
- 7 years ago
Hi Anonymous ,
Add a custom column in Query Editor mode.
=List.Dates([From], Number.From([Till]-[From])+1, #duration(1, 0, 0, 0))
Best regards,
Yuliana Gu
MattAllington
7 years agoCommunity Champion
This may give you some ideas that you can adapt. https://exceleratorbi.com.au/expanding-rows-using-power-query/
- Anonymous7 years agoNot applicable
Ill take a look into it, thank you!
Just to add infos, every record/row in this table does have a from and till column. So the dates are not spreaded in the whole table.