Hi
I am trying to consolidate about 30 documents into this one master database with Power Query.
When expanding all my tables, it seems like the Item column isn't populated for some of the documents.
The Occupancy(%) column is organised in a sequence of 5 items for 3 KPIs.
> I would like this sequence to repeat throughout the entire column.
Below is a picture of my data sample in PQ; I have about 10k rows. As you can see, the sequence breaks from row 16. Row 16 should start with Occupancy (%).
I was thinking of using a modulo, but I don't know how to create a sequence so that it repeats:
The First one to get the KPIs > {1,1,1,1,1,2,2,2,2,2,3,3,3,3,3}. 1 will be replaced with Occupancy (%), 2 with Average Daily Rate etc...
the Second one with {1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,....}. The 5 will be replaced with Change vs prior year (%)
Keen to learn a new approach to solve this issue.
I hope it makes sense. Many thanks in advance for your time.
Best,
MattExcel
I am trying to consolidate about 30 documents into this one master database with Power Query.
When expanding all my tables, it seems like the Item column isn't populated for some of the documents.
The Occupancy(%) column is organised in a sequence of 5 items for 3 KPIs.
> I would like this sequence to repeat throughout the entire column.
Below is a picture of my data sample in PQ; I have about 10k rows. As you can see, the sequence breaks from row 16. Row 16 should start with Occupancy (%).
I was thinking of using a modulo, but I don't know how to create a sequence so that it repeats:
The First one to get the KPIs > {1,1,1,1,1,2,2,2,2,2,3,3,3,3,3}. 1 will be replaced with Occupancy (%), 2 with Average Daily Rate etc...
the Second one with {1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,....}. The 5 will be replaced with Change vs prior year (%)
Keen to learn a new approach to solve this issue.
I hope it makes sense. Many thanks in advance for your time.
Best,
MattExcel