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

set analysis expression on alternate states

I have alternate states say state1, state2.

I need to write a set analysis expression for restrict value of field Year to 2013 in State1.

How can I achieve it through set analysis??

5 Replies
Not applicable
Author

Hi,

Try this:

Exp1:

=Sum({state1 <Year = {'2013'}>}Sales)

Exp2:

=Sum({state2 <Year = {'2013'}>}Sales)

MK_QSL
MVP
MVP

Something like below

=sum({[State 1]}{<Year -= {'2013'}>}Sales)

rustyfishbones
Master II
Master II

Try this

2014-04-15_1206.png

arjunkrishnan
Partner - Creator II
Partner - Creator II

Hai Frd,

I just Try This One ...I hope U For Helping to u

Year-S1:

SUM({S1}Sale)

Year-S2(To Restrict The Year 2013 )

SUM({S1}{<Year-={'2013'}>}Sale)

My Result Like That

Thank You

ArjunKrishnan