Hi again,
Next problem: how to create a list of non-consecutive dates in Power Query.
Source data as follows:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Dates[/TH]
[/TR]
[TR]
[TD]11/12/2017[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
</tbody>[/TABLE]
Table (list) to be generated:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Dates[/TH]
[/TR]
[TR]
[TD]11/12/2017[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
</tbody>[/TABLE]
In other words, the earliest and latest dates needs to be identified from the source data, and then a list of dates 7 days apart should be generated (the dates are always a Monday).
Anyone have any ideas how this could be achieved?
Cheers,
Matty
Next problem: how to create a list of non-consecutive dates in Power Query.
Source data as follows:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Dates[/TH]
[/TR]
[TR]
[TD]11/12/2017[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
</tbody>[/TABLE]
Table (list) to be generated:
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Dates[/TH]
[/TR]
[TR]
[TD]11/12/2017[/TD]
[/TR]
[TR]
[TD]18/12/2017[/TD]
[/TR]
[TR]
[TD]25/12/2017[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]08/01/2018[/TD]
[/TR]
[TR]
[TD]15/01/2018[/TD]
[/TR]
[TR]
[TD]22/01/2018[/TD]
[/TR]
</tbody>[/TABLE]
In other words, the earliest and latest dates needs to be identified from the source data, and then a list of dates 7 days apart should be generated (the dates are always a Monday).
Anyone have any ideas how this could be achieved?
Cheers,
Matty