How can I show a datetime timestamp formatted as 24 hour format in Google Data Studio?

Viewed 817

I have a field, timestamp, in Data Studio. The type is DateTime. enter image description here

When I try to sort on timestamp, the order is not correct, and it seems to be because it is not using 24 hour format. enter image description here enter image description here

How can I show a datetime timestamp formatted as 24 hour format in Google Data Studio?

I have tried different uses of FORMAT_DATETIME, TODATE and PARSE_DATETIME, but can't get it to work correctly.

What I have, is the format "May 17, 2021, 2:37:55 PM".

What I want is the format "2021-05-17, 14:37:55"

1 Answers
Related