Forum Discussion
Split rows from quarterly data to weekly data
Hello,
I need help on this, since I have really little experience with Power Query.
I have this kind of input data:
| Parameter_A | Parameter_B | Value | Quarter_Start_date | Quarter_End_date |
| A | A | 120 | 1/1/2018 | 3/31/2018 |
| A | A | 120 | 4/1/2018 | 6/30/2018 |
| A | A | 120 | 7/1/2018 | 9/30/2018 |
| A | A | 120 | 10/1/2018 | 12/31/2018 |
| B | A | 120 | 1/1/2018 | 3/31/2018 |
| B | A | 120 | 4/1/2018 | 6/30/2018 |
| B | A | 120 | 7/1/2018 | 9/30/2018 |
| B | A | 120 | 10/1/2018 | 12/31/2018 |
For each quarter i have start and end date and a Value.
I would like to change the table creating a Row for each week in the quarter, dividing also the Value (column C) equally between each week.
| Parameter_A | Parameter_B | Value | Week_Start_date |
| A | A | 10 | 1/1/2018 |
| A | A | 10 | 8/1/2018 |
etc...
Is it possible?
Thanks a lot,
Alessio
2 Replies
- PattemManoharCommunity Champion
Anonymous Yes it's possible. You need to link your main source table with another date dimension table which will have week_Start_date along with the quarter_end_date. Then a calculated table by joining those two tables should give you the multiple rows for each of the quarter. Give a try !
- AnonymousNot applicable
Thanks for the prompt answer.
I'm sorry but I don't know how to try your solution because it's little bit too concise for my level of experience in Power Query!