Pie chart in dashboard

  • What Grafana version and what operating system are you using?
    Hello. Im currently using Grafana 10.4 in a local PC and connecting to it through a static IP and the browser.

  • What are you trying to achieve?
    Im trying to create a pie chart with the % of the total represented by the different robot types from a logs database (ElasticSearch).

  • How are you trying to achieve it?
    I’m selecting the pie chart visualization. Then, at the value options drop-down, I select “Count” as Calculation function and “family” as selected field (Family represents the type of robot)

  • What happened?
    The pie chart is not showed and the legend only shows “family” instead of the different types of families

  • What did you expect to happen?
    I expected something like “50% toaster, 30% printer and 20% painter”

Can someone help me solve this? Thanks!