Forum Discussion

Excelerator's avatar
Excelerator
New Member
2 years ago

Transformation to add missing rows

Hi,

 

What are the correct transformation steps to add in missing rows per week as shown below. I need to have a row for every week of the month for every product, even if the source data is missing rows for some products (which it is). Please see below for example of before and desired after. Practical application has several hundred products spanning several years. Thanks for your assistance.

 

 

5 Replies

  • Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

    • Excelerator's avatar
      Excelerator
      New Member

      Thank you. Really appreciate the direction! Looking at the applied steps, could you describe the process and what's happening? In particular, the custom step you created is complex (to my eyes). I would like to better understand so that the approach can be broken down, tweaked, and applied to other scenarios.