Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
2 years ago

replace null in columns before unpivoting

Hey guys, 
Can I fill the nulls across to the right and go one row down and get the month as well?
see image attached for Power Query and the other image expected results. 

Thank you so much for your help. 

 

 

 

1 Reply

  • You could try a transpose then fill down on the year column.  Next transform --> merge on the columns with the year and months.  After that transpose it back to the normal orientation.