Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
tresB
Champion III
Champion III

Alternate State in Set Analysis

Hello,

I am selecting from two different states (calculated dimensions (Field1 - State1, Field2- State2)) and my Date field is in default state. I have to take the max date from that date field which. How do i tell that my my date field's state?

See, the below expressions: the one with IF works fine. I want the same with Set Analysis.

Sum({State2+State3}if(Date=vUIMaxDate,Rate))- OK

Sum({State3+State2<
[Date]={'$(vUIMaxDate)'}>}Rate) - Wrong (probably because i have to specify somehow that Date is in default state).

Thanks.

Labels (1)
3 Replies
kumarnatarajan
Partner - Specialist
Partner - Specialist

tresB
Champion III
Champion III
Author

Thanks Kumar. I am still not clear(though not yet took a deep look) how to implement my scenario  as it contains a variable in the default state. i will still take a close look at the discussion you referred.

AbhijitBansode
Specialist
Specialist