Use wildcard for Values Column
Asked by Eyal Zmora:

I am using a 'Table from CSV' macro wrapped by 'Chart From Table' macro to create a stacked column chart.

In the 'Chart From Table' configuration I need to update the Values column field.

The problem is that my data may change and providing hardcoded Values Column may not be correct - show partial data or miss other data that exists in the excel file.

Is there a way to configure the Values column with a wildcard? Something like:

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

If not, what are my alternatives?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi there,

As this question mentions our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community) app, we are happy to introduce its new macro -- [Table Spreadsheet](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community).

The macro allows you to work with fully functional Excel spreadsheets right in Confluence.

You'll be able to use cells' formulas, filters, conditional formatting, etc., create pivot tables and charts from the page view and edit modes. The Table Spreadsheet macro is available for Cloud and Server/Data Center.

![](https://docs.stiltsoft.com/download/attachments/83100938/Conditional%20formatting.png?version=1&modificationDate=1641987630000&api=v2&effects=border-simple,shadow-kn)


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Eyal Zmora](/t5/user/viewprofilepage/user-id/2480702) ,

We've created a corresponding ticket in our backlog and added your vote to it. I'll get back to you here when the feature is implemented.

As for now, you may insert all the possible column header' names into the Chart from Table macro manually beforehand.

For example, if you have Test_1 and Test_2 columns as usual, but sometimes it happens so that the Test_3 column appears too, then type in its name manually. When the third column really comes through the Table from CSV macro, the Chart from Table macro will "catch" it.

comments: author: Eyal Zmora
body: Thanks [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)

The values are dynamic. New values may be added, in which case your proposal may be valid, but existing values may be removed - in which case I need to manually delete unnecessary values.

I will wait for your implementation


author: Katerina Kovriga {Stiltsoft}
body: The Chart from Table macro will check all the typed in headers: if there are any then they will be included into the graph. So, if you know all the possible variants, then just type them beforehand.

If your columns have random unpredictable names, then there is nothing to be done at the moment.


author: Eyal Zmora
body: The columns are semi random...

I will wait for your implementation.

Thanks


author: Pramodh M
body: Hi [@Eyal Zmora](/t5/user/viewprofilepage/user-id/2480702)

Here's a quick answer from another post

<https://community.atlassian.com/t5/Confluence-questions/Modify-a-table-created-with-quot-Table-from-CSV-quot-macro/qaq-p/1930007>

Let me know if this helps you

Thanks,  
Pramodh


Tags: atl-orange

chart

confluence-server

marketplace

server

table