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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

chart properties

How to get the two results/values in a single column in chart,

Normally min values will come in one column and max values will come in one column, but

I would like to get the min and max values in one cell. Like

Min,Max

How I will get like this? please help me.

6 Replies
sivarajs
Specialist II
Specialist II

Try to stack the bars

Not applicable
Author

Hi,

Try this

max(Value)&'-'&min(Value)

May be it will work

PrashantSangle

Hi,

Use concat()

or append result of two expression using &','&

for expamle

expr1&','&expr2

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
hannan_t
Partner - Contributor III
Partner - Contributor III

Try using the expression in the following way,

Sum(Max) &','& Sum(Min)

Not applicable
Author

if you do not have Min and Max values calculated in your load you will have to use aggr. something like:

Set Variable:

vMinSales = aggr(min(sales), ordernumber)

vMaxSales = aggr(max(sales), ordernumber)

and then use the following in your expression:

$(vMinSales ) & ',' & $(vMaxSales)

Hope that works for you.

Regards

RL

Not applicable
Author

Thank you Rahul