Showing results for 
Search instead for 
Did you mean: 
stephane513 Occasional Visitor
Occasional Visitor

Pivoting Several Columns / List.Sum



I have searching a lot in the messages but could not find a solution to my problem which I feel is pretty straight forward

Here below a simplified extract from a table I want to work on


I would want to transform that table having 7 columns

Item / Sum Qty for FY=18 / Sum Sales for FY=18 / Sum Costs for FY=18 / Sum Qty for FY=19 / Sum Sales for FY=19 / Sum Costs for FY=19


I tried pivoting/unpivoting

I tried with List.Sum(Table.SelectRows


but wasn't able to achieve the result


Thanks in advance for your support



Community Support Team
Community Support Team

Re: Pivoting Several Columns / List.Sum

Hi @stephane513,


I have a little confused about your requirement.


Is the image you shared your data sample?


If it is convenient, could you share your desired output so that I can understand your requirement better and get the solution?


Best  Regards,


Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 6 members 2,443 guests
Please welcome our newest community members: