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 : 2In Progress: 1Pending: 1Total: 4
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:
SELECT 'Status',COUNT(DISTINCT 'Task') AS 'Number of Unique Tasks'FROM T*GROUP BY 'Status'
It looks like you're new here. Sign in or register to get started.