Calculated item in Pivot table error when field is grouped

fahim ruwala 11 Reputation points
2022-01-20T05:31:51.45+00:00

166616-screenshot-11.png

Microsoft 365 and Office Excel For business Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,796 Reputation points
    2022-01-20T08:50:54.7+00:00

    Hi @fahim ruwala

    According to your image, although you did not select the Dates field for the pivot table, in the fields list, Dates is automatically grouped into the Years field, you need to ungroup this first.

    • Please select the Dates and Years fields on Rows area like following image.
      166743-capture2.png
    • Then please select one cell of Dates on pivot table, right-click it, click “Ungroup", the group fields would be removed from fields list, such as the Years field.
      166742-capture3.png
      166679-capture4.png
    • Now you can remove the Dates field, and insert the Calculated item.
      166726-capture5.png

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    4 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.