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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to execute two dimension in a single expression

Hai,

Any one pls help me with this fix..?

I have an example here ..pfa

In that I am taking top 10 customers based on order sale amount

I have taken customers as dimension and sum(ordersaleamount) as my dimension.

but I want customers respective country also in a same bar chart near to a customer or near to a value in bracket().

Thanks in advance..

12 Replies
Not applicable
Author

I am asking for an bar chart

Not applicable
Author

Sathiyanc

I found a way to do this on a bar chart, using the above suggestions of a calculated dimension with the chr(13) or chr(10 added in the middle, you must then also change the direction of the labels. It doesn't work on a bar chart when the labels are horizontal, but if you change the axis labels to diagonal or vertical then it will work, see below image.

example1.png

You can do this at the bottom of the Axes tab as shown below:

example2.png

nizamsha
Specialist II
Specialist II

=Date( Country,'YYYY') & chr(10) & chr(13)& Customer