-
What Grafana version and what operating system are you using?
Windows 11, Grafana 10.1.4 -
What are you trying to achieve?
I am trying to display the content of multiple storages containing different items/articles with different amounts.
In the result I want to display one bar per storage which shows the articles which are stored to this storage with a different color, a corresponding size (according to the amount of items stored) and it should be stacked -
How are you trying to achieve it?
I am using bar chart panel and an SQL query which groups data according to storage and article/item:
And I am assigning the storage name to x-axis as well as selecting the normal stack option and setting “color by field” to the article number “ArtNr”.
-
What happened?
The data itself seems to be correct, but I get multiple bar charts for a single storage:
-
What did you expect to happen?
I want one bar per storage - see all bars within the red marked rectangle. They should be stacked and after that the next storage shold be one bar. -
Can you copy/paste the configuration(s) that you are having problems with?
See SQL query and config. If anything else is needed, I will be happy to provice it. -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No -
Did you follow any online instructions? If so, what is the URL?
I have tried using ChatGPT before which only gave me useless advice. I have also tried to do some data transformation, without any good result.
What am I missing? It has to be something stupid :-/
Thanks for your help!!