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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikwiz123
Creator III
Creator III

Total Function in Alternate State

Hi,

How do I add Alternate State parameters in an expression with total?

sum(sales)/ sum(total < Month, Group > sales )


My Alternate State is State1 and here are the filters that I have in the state


Name=State1::Name,Country=State1::Country


How do I include these in the given expression?

2 Replies
Digvijay_Singh

May be this -


sum({<Name= State1::Name, Country = State1::Country>}sales)/ sum({<Name= State1::Name, Country = State1::Country>}total < Month, Group > sales )


qlikwiz123
Creator III
Creator III
Author

Hi,

Thanks. That was from my Sample data set. There is a much more complex expression and I was wondering if you could help me with that.