Table Filter and Charts Multi Values into a graph

Craig.Harley
Contributor
November 22, 2023

I am currently using a page properties report to return some simple parameter values

Field A - Can be Yes/No

Field B - Can be Yes/No

Field C - Can be Yes/No

Field D - Can be Yes /No

I want to be able to report on these in a single graph to show all the Yes occurrences of each field.

For example

Fields - Field A, Field B, Field C, Field D

Row 1 - Yes, Yes, No, No

Row 2 - Yes, No, No, Yes

Row 3 - No, Yes, No, No

Row 4 - Yes, No, No, No

I would want to represent these in a table/Donut chart, showing

Field A Value = 3

Field B Value = 2

Field C Value = 0

Field D Value = 1

Is there a simple way to deal with this?

1 answer

1 accepted

2 votes
Answer accepted
Katerina Rudkovskaya [Stiltsoft]
Atlassian Partner
November 22, 2023

Hi @Craig.Harley,

Please check the following example with the Table Transformer and Chart from Table macros:

Wed 3-1.png

SELECT "Yes" AS 'Field',
SUM(IF(T1.'Field A' = "Yes", 1, 0)) AS 'Field A',
SUM(IF(T1.'Field B' = "Yes", 1, 0)) AS 'Field B'
FROM T1

Wed 3-2.png

And here are the settings of the Chart from Table macro – don’t forget to set the table data orientation as horizontal:

Wed 3-3.pngWed 3-4.png

Craig.Harley
Contributor
November 22, 2023

Thats Brilliant, worked perfectly, thank you

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events