cancel
Showing results for
Did you mean:
See all
See all
##### Top groups
Explore all groups
##### Support
Deleted user
0 / 0 points
Next:

Challenges
• Global
• Feed

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
You haven't given any kudos yet. Share the love above and you'll see it here.

# It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

# How to calculate change percentage in pivot table and show on chart Edited

Hello,

I have a table that has products sold on yearly basis.

Below is my chart and pivot table generated from the table. As you can see product-A increased from 1 to 2 (100% increase) between FY2019 and FY2020. How do I get to show this change % in the chart ??? Similarly, Product-B has 50% decrease (2 to 1) between FY2019 and 2020.  How to do I display that information in my chart and pivot table?

You may try the following: create a sequence "your table <- Pivot Table <- Table Transformer <- Chart from Table".

And set your macros as it is shown on the screenshots:

Pivot Table macro

Table Transformer macro

SELECT T1.'Product Type', T1.'Count FY2019', T1.'Count FY2020',
ROUND((T1.'Count FY2020'*100/T1.'Count FY2019' - 100), 2) AS 'Growth, %'
FROM T*

Chart from Table macro

It seems that the result is pretty close to your case, hope it helps.

Thank you.

However, this exactly doesn't suit my needs. I would like see this from FY perspective in the X axis.

Is it possible to view the growth as something like this???

I'm afraid that such custom graph where you show both absolute numbers and percent of growth in comparison with the previous period is not possible within our macro.

### Suggest an answer

###### TAGS
Community showcase
Published in Confluence

### Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

214 views 0 8

### Community Events

Connect with like-minded Atlassian users at free events near you!

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events