Calculating Percent Change in a Pivot Table

nmizzell
nmizzell Contributor

My goal is to have the variance shown as a percent change from Last Year's Revenue in the pivot table. Is there a way to do this?

Best Answer

  • Jones01
    Jones01 Contributor
    edited July 2023 Answer ✓

    What does your beastmode look like?

    to calculate this you can do one of the following.

    ((sum(rev this year) / sum(rev last year)) * 100)-100

    or

    ((sum(rev this year) - sum(rev last year)) / sum(rev last year) and then format your column as a %

    or

    ((sum(rev this year) - sum(rev last year)) / sum(rev last year) *100

Answers

  • Can you expand on this a bit more? It seems you already have variance as a % in your pivot table?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • nmizzell
    nmizzell Contributor

    This is the percentage of the total variance for the column. I am looking for the percentage change between This year and last year's revenue totals. For this example, it should be -15%, not 1.7%. The variance column that is displayed is only a placeholder.

  • Jones01
    Jones01 Contributor
    edited July 2023 Answer ✓

    What does your beastmode look like?

    to calculate this you can do one of the following.

    ((sum(rev this year) / sum(rev last year)) * 100)-100

    or

    ((sum(rev this year) - sum(rev last year)) / sum(rev last year) and then format your column as a %

    or

    ((sum(rev this year) - sum(rev last year)) / sum(rev last year) *100