Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

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_AParameter_BValueQuarter_Start_dateQuarter_End_date
AA1201/1/20183/31/2018
AA1204/1/20186/30/2018
AA1207/1/20189/30/2018
AA12010/1/201812/31/2018
BA1201/1/20183/31/2018
BA1204/1/20186/30/2018
BA1207/1/20189/30/2018
BA12010/1/201812/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_AParameter_BValueWeek_Start_date
AA101/1/2018
AA108/1/2018

etc...

 

Is it possible?

 

Thanks a lot,

Alessio

2 REPLIES 2
PattemManohar
Community Champion
Community 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 ! 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

@PattemManohar 

 

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!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.