Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
@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 !
Proud to be a PBI Community Champion
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |