Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
boglarkal
Contributor
Contributor

Bar chart - two dimensions on the Y-Axis

Hi everyone, I'd like to build a bar chart that has two dimensions on its Y-Axis. I saw on the forum that a workaround could be concatenating the two fields, but that post was two years old and I was hoping that there might be a new, native / built-in solution for it.

As I'll have to create quite a few charts like this, creating concatenated fields would take a lot of effort.

Labels (1)
3 Replies
eike_s
Partner - Contributor III
Partner - Contributor III

Hello, a normal bar chart can display two dimensions. So it is not quite clear where the problem is, or is it the 2 dimension as a legend?  In general it is also possible to concatenate the dimensions in the chart as dynamic dimenison. However, this should only be done if absolutely necessary.

Calculated dimensions | Qlik Sense on Windows Help

Screenshot 2024-11-18 110120.png

boglarkal
Contributor
Contributor
Author

Thank you for your reply. My problem is that I want the two dimensions on the axis as labels, like a hierarchy, not in the bars. E.g. use Region, Sub-Region on the axis to properly order my data and then color the bars based on a different dimension (in my example product category).

boglarkal_0-1731925021890.png

 

sbaro_bd
Creator III
Creator III

Hi @boglarkal ,

For the bar chart in Qlik Sense, you can add maximum two dimensions. See the Qlik help  below : https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Visualizations/Bar-Chart/...

According to your Tableau screenshot, you're using three dimensions (two for axis-y and one for the color). One possible workaround is to use the Trellis container to get something which can approach what you get on Tableau (see the attached file).

Regards.