Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis Optimization

Is there any better way of writing the below set expression?

Sum({<Year={'2017'},Quarter={'Q4'}>}InsideSales)+Sum({<Year={'2017'},Quarter={'Q4'}>}WonSales)+Sum({<Year={'2017'},Quarter={'Q4'}>}LikelySales)+Sum({<Year={'2017'},Quarter={'Q4'}>}OutsideSales)

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like:

Sum({<Year={'2017'},Quarter={'Q4'}>} Rangesum(InsideSales,WonSales,OutsideSales))

View solution in original post

3 Replies
tresesco
MVP
MVP

May be like:

Sum({<Year={'2017'},Quarter={'Q4'}>} Rangesum(InsideSales,WonSales,OutsideSales))

swuehl
MVP
MVP

Not sure how your model looks like and this could be important, but maybe

=Sum({<Year={'2017'},Quarter={'Q4'}>} RangeSum(InsideSales,WonSales,LikelySales,OutsideSales))

Anonymous
Not applicable
Author

Thank you.It is working perfectly.