Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,463,535
Community Members
 
Community Events
176
Community Groups

Max date in Table Tranformer

Edited

Hi,

I have a very simple table that list the jira tickets and their due dates. I want to find the farthest out due date. Using the Table Transformer, I have this simple query that produces the wrong date. I expect 8/19/22 to come back, but it came back with 5/31/22 which is one date from a list of many with 8/19/22 being the furthermost out.

SELECT FORMATDATE(MAX(T1.'Due')) FROM T1

or

SELECT FORMATDATE(MAX('Due')) FROM T*

Both produce the same wrong results. What am I missing?

Thank you.

1 answer

Hello Leona,

Thank you for using our Table Filter and Charts for Confluence app.

Please check that Date format in your Table Transformer macro browser corresponds to the dates from the Jira Issue macro. Usually this is the one specified in the screenshot:

image.png

And use the following SQL query:

SELECT FORMATDATE((MAX(T1.'Due')),"m/d/y") FROM T1

The part in bold is where you can specify the date format you would like to see as a result. In my example it will be as follows:

image.png

Best regards,
Alexey

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events