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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

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;

 

Pbra_0-1649180478384.png

But for now, the weeks are spread over the columns, as below;

 

Pbra_1-1649180667858.png

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!

 

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

 

Transform data.

vcgaomsft_0-1649393732015.png

Select column [Brand] and column [Model] -> right click and click Unpivot Other Columns -> Close and apply.

vcgaomsft_1-1649393853493.png

vcgaomsft_2-1649394099410.png

Attach the PBIX file for reference. Hope it helps.

 

Best Regards,
Community Support Team_Gao

 

If 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

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Transform data.

vcgaomsft_0-1649393732015.png

Select column [Brand] and column [Model] -> right click and click Unpivot Other Columns -> Close and apply.

vcgaomsft_1-1649393853493.png

vcgaomsft_2-1649394099410.png

Attach the PBIX file for reference. Hope it helps.

 

Best Regards,
Community Support Team_Gao

 

If 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

 

Ashish_Mathur
Super User
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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
truptis
Community Champion
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.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.