Table format change using power query

Occasional Contributor

Can anyone please guide me about a table alignment conversion using power query? Kindly see the excel file attached.

9 Replies

@shohan421 Select the first three columns (Manufacturer, Type and Country), right-click and choose "Unpivot other columns".

@Riny_van_Eekelen it transforms like magic. Thank you. 

How the month can transform into the required column as a repeating item?

best response confirmed by shohan421 (Occasional Contributor)

@shohan421 Don't really know how that happened. See my version attached.


Edit: I see now. You didn't use the first row as headers.

@Riny_van_Eekelen Thank you. I am able to organize my data. It was 2000 row and now it becomes 100000 rows (as required). Again thank you very much. 

@shohan421 Well done! Glad I could help.

@Riny_van_Eekelen Can you please help me with another conversion? Please see the attached. Thank you. 

@shohan421 Always best to upload an Excel file, rather than a Word document. Anyhow, I replicated your "situation" and attach a file with the query in it.


Thank you. I will upload excel file from next request. A lot to learn.

@shohan421 No problem. But also better to open a new conversation, rather that continuing an old (already resolved) unrelated thread.