Forum

Notifications
Clear all

calculated item

7 Posts
3 Users
0 Reactions
531 Views
(@diaaeldin)
Posts: 4
Active Member
Topic starter
 

in pivot table when I calculated item this massage appear

"the item cannot be added or modified there may not be enough memory, the maximum number of items allowed in a field may have been reached, or if a visual basic macro is performing the operation, the macro may be incorrect.

simplify the pivottable report or check the macro for errors, and then try the operation again."

I attached the massage

please I need Solve

 
Posted : 08/09/2020 7:24 am
(@purfleet)
Posts: 412
Reputable Member
 

Nothing attached

 
Posted : 08/09/2020 2:09 pm
(@diaaeldin)
Posts: 4
Active Member
Topic starter
 

0.png

sorry I attached the massage again

 
Posted : 08/09/2020 6:12 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Diaa,

I don't know of a fix for this issue and a Google search didn't have any conclusive fixes, so I'd be inclined to find a workaround like using Power Query to calculate the item before loading the data to Excel and creating your PivotTable. I can't really help you more without a sample Excel file containing your data and desired result.

Mynda

 
Posted : 08/09/2020 6:47 pm
(@diaaeldin)
Posts: 4
Active Member
Topic starter
 

Hi Mynda

i attached the Excel file containing the data and I hope to find the solution

Diaa

 
Posted : 13/09/2020 6:34 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Diaa,

When I try to add a calculated item in your file I get the error "This PivotTable report field is grouped. You cannot add a calculated item to a grouped field".

Your date field is grouped by days and months. This grouping will prevent you adding any calculated items. If you want calculated items and grouped fields, then you need to add the calculated items to the source data. It cannot be done in the PivotTable. Or, add the date groupings for month and year to the source data as additional columns.

Mynda

 
Posted : 13/09/2020 7:36 pm
(@diaaeldin)
Posts: 4
Active Member
Topic starter
 

Hi Mynda

 

thank you for your effort Smile

Diaa

 
Posted : 15/09/2020 4:11 am
Share: