Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,473
Community Members
 
Community Events
176
Community Groups

Wrap table transform around table filter and/or table pivot

I use the table filter and charts add-on. I need to do three things:

  1. Pivot the table to calculate totals
  2. Filter the columns by a category
  3. Calculate the proportion

Steps 1 and 2 are easy using  a pivot table and table filter. To calculate the proportion I can use a table transform. However if I wrap a table transform around ta pivot table or filter they are essentially ignored. I tried using a table excerpt so that I can wrap a table excerpt include with a table transform to calculate the proportion but that doesn't work either. Any suggestions?

1 answer

1 accepted

1 vote
Answer accepted

Hi @soumaya mauthoor ,

As you didn't provide any screenshots, I tried to recreate your case with a simple table.

In the first variant I used the Chart from Table macro to visualize the proportion of your categories:

Tue 1-1.png

Here is the pivot where I aggregate the data:

Tue 1-2.png

Here is the Table Filter macro where I continue to work only with the Android and Apple categories:

Tue 1-3.png

And, finally, the Chart from Table macro allows me to visualize the proportion easily:

Tue 1-4.png

For the second variant I chose your option and used the Table Transformer macro instead of the Chart from Table macro:

Tue 1-5.png

The first steps are the same, so here are the Table Transformer macro settings:

Tue 1-6.png

Tue 1-7.png

SELECT T1.'Android', T1.'Apple',
T1.'Android'*100/T1.'Total' AS '%Android',
T1.'Apple'*100/T1.'Total' AS '%Apple'
FROM T*

Tue 1-8.png

Hope this helps your case.

If you still have any questions, please, attach your screenshots here or raise a support ticket.

Thanks for the quick response! I also changed the options so that I can see the source table which allows me to change the filter :-)

Glad I could help!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events