The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make count of Merged Cell as One in Confluence Table

Anish Shah
November 17, 2023

In the confluence table, as we can see, the pivot is based on the total number of rows.

But if I want to bring the stats based on Task POV into the pivot, how can that be done?

i.e.

Complete : 2
In Progress: 1
Pending: 1
Total: 4 

2023-11-17 15_03_59-Q3023G Templates - Interact - Tenerity Confluence.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
November 17, 2023

Hi @Anish Shah,

For this case you need to count the number of unique tasks, so take the Table Transformer macro instead of the Pivot Table macro:

Fri 9-1.png

SELECT 'Status',
COUNT(DISTINCT 'Task') AS 'Number of Unique Tasks'
FROM T*
GROUP BY 'Status'

Fri 9-2.png

TAGS
AUG Leaders

Atlassian Community Events