Hi - I created two tables with JIRA filters in Confluence using filters- One table has all the planned story points, other one has all the completed story points
Now, I tried to use a table transform on these two tables to display the following
1. Count of Planned Story Points
2. Sum of Planned Story Points
3. Count of Completed Story Points
4. Sum of Completed Story Points
5. % complete
Below is the query I used
Select (SELECT count(T1.'story points') from T1) as 'Completed Stories' , (Select SUM(T1.'story points') from T1) as 'Completed Story Points',
(Select count(T2.'story points') from T2) as 'Planned Stories', (select sum(T2.'story points') from T2) as 'Planned Story Points',
ROUND((Select SUM(T1.'story points') from T1)/(select sum(T2.'story points') from T2)*100,0) as '% Completed'
The query works fine when there is data in both T1 and T2 tables. However, none of the above columns get displayed when one of the table is empty. Is it possible to display atleast #1,#2 when Completed Story points table is empty or viceversa