Timestamp formatting from ${__cell_0}?

Hi all,

I am new to grafana and I would like to know if there is a way to get a readable timestamp instead of all numbers. Currently I am using ${__cell_0} to override the default display name of each bar.

Is it possible to format the output from ${__cell_0} ?


1 Like

Have you found a solution to this by any chance?

I too want to do exactly this with the exact same stats. Well, not exact, but you know, showing dates or day names as DisplayName for every bar in the bar gauge visualisation.

The visuals look really nice, but I don’t know if I’m looking at today or last week…


I was facing the same issue. Just wanted to share the solution I found.

Fields support custom units.
Adding ‘date’ as unit to ${__cell_0} => ${__cell_0:date} will convert the unix timestamp to a readable date format.

After that you can also add a custom format for that date.
e.g. ${__cell_0:date:MM-DD-YYYY}