Forum Discussion
Weeks with amounts in columns
Hi,
I'm currently working on a dataset with an another layout that I'm used to.
Normaly I've got the weeks sorted in the rows, as below;
But for now, the weeks are spread over the columns, as below;
For example, how am I going to process the total sales of the Porsche Taycan? And how can I make a sum of the total sales?
Questions, questions, questions...
Cheers!
Hi,
Select the first 2 columns, right click and click on "Unpivot Other Columns". You will now see the Table as you see in image 1.
- Anonymous4 years ago
Hi Anonymous ,
Transform data.
Select column [Brand] and column [Model] -> right click and click Unpivot Other Columns -> Close and apply.
Attach the PBIX file for reference. Hope it helps.
Best Regards,
Community Support Team_GaoIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
3 Replies
- truptis
Community Champion
Hi Anonymous ,
Try to Pivot your table. Once you Pivot it you will get the desired structure and then you can calculate Sales based upon Brand.
Anonymous if this helps you, then please hit the thumbs up. Thanks.
- Ashish_Mathur
Super User
Hi,
Select the first 2 columns, right click and click on "Unpivot Other Columns". You will now see the Table as you see in image 1.
- AnonymousNot applicable
Hi Anonymous ,
Transform data.
Select column [Brand] and column [Model] -> right click and click Unpivot Other Columns -> Close and apply.
Attach the PBIX file for reference. Hope it helps.
Best Regards,
Community Support Team_GaoIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data