Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Table transformer SQL concat a date


I am using table transformer to concat the content of a few columns into one before using it to put up on a gantt chart as a road map.

In the original table, I have the following columns:

  • Feature
  • Market
  • Channel
  • Phase
  • Start date
  • Target release Date (using date format d M yy)

In table transformer, I used the below SQL query:

SELECT *, CONCAT(T1.'Feature', " | ", T1.'Channel', " | ", T1.'Phase', " | ", T1.'Target release Date') as 'Combined' FROM T1

And the date format has been aligned through all the tables and charts.

Then I used the resulted table for Gantt chart (Chart from table), using Start date and Target release Date as values column, then Market and Combined (from table transformer) as labels column. 


On the graph, the dates in the 'Combined' label is showing something like '1670169600000'.


Is there a way to show the dates in concat as some readable dates?


Thank you.

1 answer

Hi @Arica Chan ,

Unfortunately I couldn't reproduce the issue. Here is how everything works for me:

Mon 3-1.pngSELECT T1.'Project', T1.'Phase', T1.'Start Date', T1.'End Date', T1.'Completion Ratio',
CONCAT(T1.'Project' + " | " + T1.'Start Date') as 'Project Combined'

Mon 3-2.png

Mon 3-3.png

Please check if your version of the Table Filter and Charts for Confluence app is up-to-date (the current one is 8.6.1).

If everything seems to be ok, please raise a support request (attach the page storage format: upper right corner -> menu ... -> View Storage Format. If you don't see the option, ask your Confluence administrator to do it for you. Then we'll be able to recreate exactly your data and look into the issue).

Hi Katerina,

Thanks for your check. 

Not sure if it relates to the date function that I used in the table? I used this format so to align everyone's input for the date in order for the gantt chart to work...

Confluence table.PNG

Then my gantt chart shows the date like '1670169600000' below.

Confluence concat date.PNG

Hi @Arica Chan ,

Still can't reproduce the issue: I've changed the dates for the Start Date column as you have on your screenshot (used a date picker).

Tue 1-1.png

Check that you have a proper date format in the Table Transformer macro settings:

Tue 1-2.png

The SQL query remains the same (see my previous reply). Check the last column - does your column look the same?

Tue 1-3.png

And here is the result graph:

Tue 1-4.png

Do you have a proper output after the Table Transformer macro? The Chart from Table macro just uses your combined column as plain text so I suppose smth goes wrong after the concatenation. Again check the date format inside the Table Transformer macro.

Hi @Katerina Kovriga _Stiltsoft_ ,

I tried with a simple table on a new page, but the date is still not in correct format after concat. I checked the date format in table transformer. 1.PNG

SELECT *, CONCAT(T1.'Feature' + " | " + T1.'Channel' + " | " + T1.'End date') as 'Combined' FROM T1

date format.PNG


But the date is still not showing in correct format.


Any other idea on this?

Please check the version of the app (update it if necessary, the current version is 8.6.1) and raise a support ticket with the page storage format attached - we'll try to look at the issue closely.

You may also try to use the CONCAT_VIEW function instead of the CONCAT - maybe it will help you to preserve the initial formatting.

Thank you. You have been helpful!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

953 views 15 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you