I’m building a simple dashboard to visualize alarm data. The dataset I receive is fully aggregated—there are no dimensions, only measures. I understand this isn’t ideal for an analytical tool, but I need to make the most of it.
For simplicity, assume my dataset consists of a single row with these metrics:
Active Alarms <12h
Active Alarms 12-24h
Active Alarms >24h
I want to display these values in a bar chart. Since QuickSight requires a dimension, I drag one of these fields into the dimension area just to enable the chart. This results in a chart with three bars showing the correct values. However, my challenge is how to correctly label each bar.
Currently, QuickSight uses the selected dimension for labeling, which doesn’t reflect the actual alarm categories. I can display a legend, but I’d like the correct labels under each bar.
Is there a way to achieve this in QuickSight? Perhaps a workaround using calculated fields or another approach?
Notice:
I assume that the different metrics are dummy coded (0,1) and that one row can only have one “active” dimension (two of the metrics have to be “0” and one “1”).
If you have values in more than one metric you have to add more rules to the ifelse-statement.
Thanks for the suggestions, Fuchs! Pivoting the data would definitely work, but I was exploring alternative workarounds. I’ll be sure to check out Koushik’s recommendations regarding Highcharts.
Hi @Arturo_Munoz,
It’s been awhile since last communication took place on this thread, did you have any additional questions or were you able to find a work around for your case?
If we do not hear back within the next 3 business days, I’ll close out this topic.
Hi @Arturo_Munoz,
Since we have not heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.