Date Data Display in a Stat Panel

  • What Grafana version and what operating system are you using?
    Windows11
    Grafana11.2.0

  • What are you trying to achieve?
    Display date data from external input(MQTT).

I want to send date data in the format yyyy/mm/dd in real-time via MQTT communication and display it. Is there any way to do this?

Will you receive date as a timestamp or as a string?

For example, if you receive data like this:

{
"unitId":3,
"meterId":7,
"activePower":96.596,
"timestamp":1733010000746}

You can use Convert field type transformation, choose required field under ‘Select the fields that should be included in the panel’ and specify time:yyyy/MM/DD as Unit:

If you receive date as string in required format, just choose that field under ‘Select the fields that should be included in the panel’ without any additional transformations / formatting