Forum Discussion

GlobalFever's avatar
GlobalFever
Icon for Advocate II rankAdvocate II
4 years ago
Solved

Time cannot be set to 24 hour format in Continuous X Axis

Hi,   I've got a column which is in "Time" data type. It is used as X-axis in an Area Chart, continous. What I've found is that in Desktop it is showing as 24 hour format whereas it will be showi...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi GlobalFever ,

     

    If it is not a table visual, it will indeed automatically become the twelve hour format.

     

    Here's the workaround, you can turn the time field to text.

    24hr = FORMAT([Time],"HH:mm:ss")

    Then you need to sort the 24hr column by the time column.

    Now you can get the time in 24-hour format.

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.