Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

alternative states

Hello All,

i need help in a requirement,the thing is i got a list box(type) and two same bar charts,

i mean both charts  having same dimensions only in expression a slightly change suppose in

first char  exp: sum(sales)

second chart exp:sum({group1}sales)..only group is added to 2nd chart exp....

dimesions: type,date

now what i am looking is on selecting a value from type field listbox,i want that value should reflect on both the charts ......

in simple words two charts(normal,group) ,one listbox...

plz any suggestions

1 Solution

Accepted Solutions
sunny_talwar

Try these expressions

1) Sum(sales)

2) Sum({group1<type = $::type>} sales)

Now both your expression are controlled by type in default state.

View solution in original post

4 Replies
sunny_talwar

Try these expressions

1) Sum(sales)

2) Sum({group1<type = $::type>} sales)

Now both your expression are controlled by type in default state.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Your second chart expression should be

sum({group1<Type= $::Type>}sales)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
kunkumnaveen
Specialist
Specialist
Author

thanks dude ,bang on...............

kkkumar82
Specialist III
Specialist III

Use like below


sum({group1<[type field =$::<type field>}sales)