Pivot Table Help!!!!

Island Girl

New Member
Joined
Nov 21, 2016
Messages
7
[h=2]
icon1.png
Help with pivot table[/h]
Good morning,
how do i create a pivot table for the following:

1. Compare all four location showing the each weekly and Monthly values.
2. Compare the monthly KWH for each location.
3. Compare the values for locations y and a.


location x
weeknumber of personsestimated kwh
1-6 nov 1619
7-13 nov 1638
14-20 nov 1627
21-27 nov 1620
28-27 nov 1615
Month Total38,000

<tbody>
</tbody>



Location y
weeknumber of personsestimated kwh
1-6 nov 165
7-13 nov 165
14-20 nov 166
21-27 nov 165
28-27 nov 165
Month Total15,000

<tbody>
</tbody>


Location z
weeknumber of personsestimated kwh
1-6 nov 1610
7-13 nov 1610
14-20 nov 1612
21-27 nov 1611
28-27 nov 1613
Month Total44,000

<tbody>
</tbody>



Location a
weeknumber of personsestimated kwh
1-6 nov 1627
7-13 nov 1635
14-20 nov 1633
21-27 nov 1639
28-27 nov 1630
Month Total55,000

<tbody>
</tbody>



Your assistance is greatly needed!!!!!​
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

cyrilbrd

Well-known Member
Joined
Feb 2, 2012
Messages
4,095
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi, you might want to consider changing the way your raw data is encoded.
For instance one single table containing the fields Location, Week, Number of persons, estimated kWh might be easier to work with.
 
Upvote 0

Anand Sharma

Board Regular
Joined
Nov 22, 2016
Messages
63
Hi,

Normalize your tables into one with additional field identifying Data for locations as below and then use pivot table to compare


Locationweeknumber of personsestimated kwh
A1-6 nov 1627
X1-6 nov 1627
Y1-6 nov 1627

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

propi_

New Member
Joined
Jun 11, 2014
Messages
19
Hi,

Normalize your tables into one with additional field identifying Data for locations as below and then use pivot table to compare


Locationweeknumber of personsestimated kwh
A1-6 nov 1627
X1-6 nov 1627
Y1-6 nov 1627

<tbody>
</tbody>



Hi by normalizing Anand means putting it in one big table with the location column and then load it up to Power Pivot.

Then create the Measure :
Code:
=Sum([estimated kwh])

regards
Andy
 
Upvote 0

Forum statistics

Threads
1,191,717
Messages
5,988,258
Members
440,146
Latest member
rgomes8

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top