Calculated Fields Greyed out in Pivot Table with Data Model

harv133

New Member
Joined
May 10, 2019
Messages
1
I watched the YouTube Video - Budget vs. Actual - Podcast 2016 where a data model is used to compare an actuals table to a pivot table, by using intermediary "Joiner tables." It's a great solution! I am trying to expand the idea by introducing a calculated column for the difference between actual and budget, but the ability to add a calculated field (and item) is greyed out.

Does anyone know why that is or how to get around the problem?

Thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
For whatever reason (honestly I haven't given it much thought or did research) you can't mix data-model with calculated fields.

So if you want to use calculated fields in a Pivot table you must uncheck Add to data model.
 
Upvote 0
I have a similar problem except I did not add to data model. I have a simple pivot from a table of data. When I go to calculated field item its greyed out. I've tried it on every spreadsheet I have and its the same problem. Excel 2016 on 365.
 
Upvote 0
Are you certain it wasn't added to the data model? Can you use a Distinct Count function on a value field? (If so, it's in the data model)

For a regular pivot table, calculated fields should be available as long as you have selected something in the pivot table, unlike calculated items, which are only enabled if the active cell is a non-value field.
 
Upvote 0
I have found no scenario where the Add Calculated Fields is not greyed out. It simply is not available. The good news is adding columns in Power Query and Measures in Power Pivot is actually better. A little more work but better. I am inclined to believe MS is forcing this by disabling the subject item.
 
Upvote 0

Forum statistics

Threads
1,214,527
Messages
6,120,058
Members
448,940
Latest member
mdusw

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