office power query

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Office Power Query

Office Power Query

resolvedResolved · Low Priority · Version 365

Alex has attended:
Excel Advanced course

Office Power Query

Hi,

I am trying to use Power Query to convert a regularly used data source into a more usable format.

The data is exported as follows (/ indicates new column):

Company name / 2010 Revenue / 2011 Revenue / 2012 Revenue / 2013 Revenue / 2010 Profit / 2011 Profit / 2012 Profit / 2013 Profit / 2010 Employees / etc.

I want to unpivot this data so that it sits in the form with each company taking 4 rows(2010, 2011, 2012, 2013) and Revenue, Profit, Employees etc. each a column. If I try to unpivot this data currently I end up with way too many rows!

My current plan is to concatenate the values for each year into one colum (e.g. I will have one 2012 column containing Revenue, Profit, Employees), then unpivoting, then using delimiter to split the column back up.

Is that the best way of doing it?

Best,
Alex

RE: Office Power Query

Hi Alex,

Thank you for the forum question.

You will find what you want in the 5 minutes video below.

https://www.youtube.com/watch?v=XQS5V6_AGn8

I hope the video makes sense.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Wed 18 Sep 2019: Automatically marked as resolved.


 

Excel tip:

Apply Autosum with keyboard shortcut

If you press Alt and = at the same time, it applies autosum.

View all Excel hints and tips


Server loaded in 0.06 secs.