Calculated item in pivot table #Num! error message

INN

Board Regular
Joined
Feb 3, 2021
Messages
118
Office Version
  1. 365
Platform
  1. Windows
Hi
I have added a calculated item to the pivot table and it was ok until I added a calculated column then I got #Num! for each calculated item, why is that? Please see attached file as well. Thank you so much


1669605978482.png


Book2.xlsx
ABCDEF
1RegionMonthSales
2SouthFeb717
3SouthJan947RegionSum of Field1
4NorthJan827East6030
5EastFeb974Jan3290
6EastJan945Feb2740
7SouthJan609%change#NUM!
8SouthFeb822North5600
9SouthJan647Jan3200
10NorthJan927Feb2410
11WestFeb734%change#NUM!
12SouthJan703South6800
13EastJan518Jan3620
14NorthJan804Feb3180
15EastFeb819%change#NUM!
16EastFeb949West2330
17EastJan622Jan630
18WestFeb970Feb1700
19SouthFeb528%change0.0000%
20NorthJan637
21SouthFeb608
22NorthFeb996
23WestJan629
24EastJan650
25NorthFeb828
26EastJan552
27NorthFeb586
28SouthFeb502
29SouthJan714
Sheet1
 
Last edited:

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
There are a couple of ways of doing this but they will both end up looking slightly different to the way you are trying to present it.
Option 1) Pull your sales column into your Pivot Values field a second time and then Show Values as > % Difference from (Previous)

It will look something like this:

1669622999500.png


Option 2) Because the months are in the same field or column, you can't use Calculated "Field" you need to use Calculated "Item"

The issue with that is that since it is now a % in the same field the subtotals and totals don't make sense and you would need to remove them.
Arguably adding the months in a comparison scenario doesn't make sense anyway.

1669623243429.png
 
  • Like
Reactions: INN
Upvote 0
Solution
Thank you. You answered more questions than I asked. So I learn other stuff as well. Thank you again.
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

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
Back
Top