Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Label alternate states

Hello again

I have an line chart with two products.

Each product has a listbox.

Product Comparison1

and

Product Comparsion2

My expression for sums are like this

1: =Sum({$<Year=, Month=, ProductName=[ProduktSammenligning1]::ProductName>}BuyPriceRealized)

and

2: =Sum({$<Year=, Month=, ProductName=[ProduktSammenligning2]::ProductName>}BuyPriceRealized)

This allows me to compare 2 products in my line chart. However, my labels only show ProduktSAmmenligning1 and 2

How can i make my label dynamic, so it actually shows what i have chosen in the different listboxes??

Ived tryed Max({produktsammenligning1} ProductName) - That does not work

Any1 with an idea??

2 Replies
Not applicable
Author

Don't know if you've found a solution to this yet, but have you tried to use only() instead of max()?

Not applicable
Author

I can try!