Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

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

Join group
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?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No 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.

Atlassian Community Hero Image Collage

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. 
table.JPG

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?

count.JPG

1 answer

Hi @Sooraj S Padmanabhan ,

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

Mon 1-1.png

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

Pivot Table macro

Mon 1-2.png

Table Transformer macro

Mon 1-3.png

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

Mon 1-4.png

Chart from Table macro

Mon 1-5.png

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??? 

growth.png

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

Log in or Sign up to 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
Read article

Community Events

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

Find an event

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

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

Host an event

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

Events near you