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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

How to use multiple queries in a Confluence table

I am trying to solve below problem

- Trying to calculate % of closed defects automatically

(i.e. 70/96 = 73% in the below example)


@Stiltsoft support helped me in getting numbers separated from the text (i.e. separating 70 from '70 issues') and the sql query to perform arithmetic calculation in one of my previous questions.

I am trying to use both of these sql queries in table transformer macro but it is not working.

Can anyone help here.

(@Stiltsoft support - as usual if you may help here)   

Thanks in advance!

1 answer

1 accepted

4 votes
Answer accepted
Katerina Rudkovskaya _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2023

Hi @Jitendra Shembekar,

Please follow these steps:

Mon 6-1.png

ROUND('Closed so far'*100/'Total problems', 0) + "%" AS 'Percent'
(SELECT 'Total problems'->split(" ")->0 AS 'Total problems',
'Closed so far'->split(" ")->0 AS 'Closed so far'

Mon 6-2.png

Note that here the result table was transposed for better understanding (it is optional, of course):

Mon 6-3.png

Hope this helps your case.

Thank you so much @Katerina Rudkovskaya _Stiltsoft_ for your quick help :)

This works perfectly. You guys are pro!


I modified your query little bit to see my table like below.


Like # people like this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events