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.
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:
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:
Best regards,
Alexey
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.