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

Alternate State and Set analysis conundrum

Hi all,

I am new to QlikView and just trying to get my head around alternate states and set analysis. I have several fields in my data:

Country

Region

Product_Type

Year

Month

I have a single sheet with the first three in list boxes in an alternate state called 'Datatables'.

I have a single straight table also in the 'Datatable' Alternate state.

'Month' and 'Year' have two listboxes each, the first in a alternate state called 'Comparison1' , the other in a state called 'Comparison2'.

The table has two columns, which sum a datafield called 'SalesValue' I would like both columns to honour selections made in the Country, Region and Product_type fields, whilst the first column reflects 'Year' & 'Month' selections from listboxes in the 'Comparison1' state and the second column to reflect selections in the Year/Month in the Comparison2 state. Could someone help to point out the expression needed for this, as have tried a few attempts and its not working, is it even possible?

Would very much appreciate any help! thanks!!

1 Reply
giakoum
Partner - Master II
Partner - Master II

Please post a sample app