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

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 131 members 1,653 guests
Please welcome our newest community members: