Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Problem in chart using alternate states

Hi QV experts,

 

  I have a chart which shows sales by region. I use  products as two groups Group1 and Group2. I display both the groups in a list boxes i use the following expression in charts to show the sales

Group1:

SUM({[Group 1]

<Year=$::Year

,Month=$::Month

,Day=$:Smiley Very Happyay

,Quarter=$::Quarter

,Category=$::Category

,Region=$::Region

,Customers=$::Customers

,Suppliers=$:Smiley Frustrateduppliers

,Shippers=$:Smiley Frustratedhippers

,Employees=$::Employees

,Products=$:Smiley Tongueroducts

>}

NetPrice)

Group2:

SUM({[Group 2]

<Year=$::Year

,Month=$::Month

,Day=$:Smiley Very Happyay

,Quarter=$::Quarter

,Category=$::Category

,Region=$::Region

,Customers=$::Customers

,Suppliers=$:Smiley Frustrateduppliers

,Shippers=$:Smiley Frustratedhippers

,Employees=$::Employees

,Products=$:Smiley Tongueroducts

>}

NetPrice)

The above expression working well and my chart reflect all the selections i made in groups or filters.But my requirement is when i made a selection in filter the changes reflect only in charts not in groups. For example if i select the sea food in the category filter then the group1 and group2 must enable/show only  the products coming under the sea food category . I dont know how to reflect the changes in the listboxes for group1 and group2. Can any one help me how to get this...............

1 Solution

Accepted Solutions

Re: Problem in chart using alternate states

The expressions use the default state for Category: ,Category=$::Category. So the listbox you use to select sea food should also be assigned to the default state if you want the selections to be applied to your expressions.


talk is cheap, supply exceeds demand
2 Replies

Re: Problem in chart using alternate states

The expressions use the default state for Category: ,Category=$::Category. So the listbox you use to select sea food should also be assigned to the default state if you want the selections to be applied to your expressions.


talk is cheap, supply exceeds demand
Not applicable

Re: Problem in chart using alternate states

Thank you Gysbert it works exactly

Community Browser