Chart to Table - Multiple Values show as Single value
Asked by Charles Middlebrooks:

When I create a pie chart or table using a field with multiple select or one that can contain multiple values (like labels, components, etc), Chart from Table treats these as a single value rather than multiple instances of the value.  

Is there a way (maybe with Table transformer) to somehow get Jira to understand a single issue with multiple selections to treat each selection individually?

![pie selections.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/304928i62A282D65272CF6C/image-size/large?v=v2&px=999 "pie selections.JPG")![Table selections.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/304929iBD13070AFD318C56/image-size/large?v=v2&px=999 "Table selections.JPG")


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

That is because they are separate individual values.

I think you could use the table transformer to do it, but only by telling it that the select value options are all single selects, not separate values (For example, "red, blue" would not be counted as "red" or "blue", and is different to "red, blue, green" as well)

comments: author: Charles Middlebrooks
body: Yeah I want "Connection Crashing" for example, to be treated as one count of Connection and one count of Crashing. Not one count of Connection Crashing


author: Stiltsoft support
body: Please look into the cell value delimiter option of the Pivot Table macro: <https://docs.stiltsoft.com/tfac/cloud/managing-pivot-table-options-42239653.html#Managingpivottableoptions-Setthecellvaluedelimiter>

It may help to count your values separately.


author: Charles Middlebrooks
body: Yes, I think this is probably what im looking for! Any idea what the Unicode charater im looking for is? looking at the list in <https://en.wikipedia.org/wiki/List_of_Unicode_characters>, "Bullet" shows as U+2022 but that doesnt seem to impact my counts. Neither does "Space", or a variety of new line characters.


author: Stiltsoft support
body: The bullet point won't be visible for the macro: it is not a real symbol but html character. To separate entries, you should use commas or, for example, semicolons at the end of each option.

There may be a workaround with the Table Transformer macro, please see the next reply for the details.

But again it is always better to use visible real characters as separators.


author: Stiltsoft support
body: Hi [@Charles Middlebrooks](/t5/user/viewprofilepage/user-id/5416444) ,

We've returned to your case: the mentioned workaround behaves inconsistently in the view mode so I've removed the screenshots.

Please follow this example:

![Thu 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/305283iB5D4A49885EFDC4F/image-size/large?v=v2&px=999 "Thu 2-1.png")

**Internal Table Transformer:**

![Thu 2-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/305284i236C6ABAD3090782/image-size/large?v=v2&px=999 "Thu 2-2.png")

SELECT \*,  
T1.'Type'-\>tfView AS 'Type'  
FROM T\*

**Middle Table Transformer:**

![Thu 2-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/305285iEBF352721A147ECE/image-size/large?v=v2&px=999 "Thu 2-3.png")

SEARCH / AS @a EX('Type'-\>split("\</li\>\<li\>")) /  
RETURN(@a-\>'Project' AS 'Project', _ AS 'Type', @a-\>'Number' AS 'Number') FROM T\*

**External Table Transformer:**

![Thu 2-4.png](https://community.atlassian.com/t5/image/serverpage/image-id/305286iAD4C783CBAE42EF5/image-size/large?v=v2&px=999 "Thu 2-4.png")

SELECT \*,  
HTML_DECODE('Type'::string) AS 'Type'  
FROM T\*

**Chart from Table:**

![Thu 2-5.png](https://community.atlassian.com/t5/image/serverpage/image-id/305287i82AFAE9ED6FC4F8B/image-size/large?v=v2&px=999 "Thu 2-5.png")

And here is your page in a published state:

![Thu 2-6.png](https://community.atlassian.com/t5/image/serverpage/image-id/305288iE10EBF6F91EC87DC/image-size/large?v=v2&px=999 "Thu 2-6.png")Hope this helps your case.


author: Stiltsoft support
body: Hi [@Charles Middlebrooks](/t5/user/viewprofilepage/user-id/5416444) ,

Not sure what you are trying to count here - if I understand correctly, you are trying to create a chart based on the Pivot Table macro.

Maybe you should reorganize your pivot table (make it one dimensional)?

You may share the screenshot of your source table and describe what exactly should be counted.


Tags: chart-from-table

filter

pivot-table

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-transformer

unknown-hosting-type