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
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'
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.