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: 
Not applicable

Set Analysis Help

Hello! I am having a problem with a set analysis. I need the sum where Arrangement={'Hourly'} but I also need to give the alternative to whatever is selected.

Basically I am trying to add {$<Arrangement={'Hourly'>} to Sum({1-$}WIP_Total_Fees).

Thank you!!!

8 Replies
sunny_talwar
MVP
MVP

Alternative to whatever is selected? Not sure I understand....

With regards to adding the set in there, try this:

Sum({1-$<Arrangement={'Hourly'}>} WIP_Total_Fees)

Not applicable
Author

So there are filters and drill downs, and I need the alternative to what is selected by the filters/drills. I need the selected of Arrangement=Hourly to remain regardless.

sunny_talwar
MVP
MVP

May be this:

Sum({<Arrangement={'Hourly'}>} WIP_Total_Fees)

The above will filter based on all selections, except Arrangement which will always be Hourly

Not applicable
Author

But I need the alternative of the selections

sunny_talwar
MVP
MVP

I got it....

May be this:

Sum({1-$<Arrangement -= {'Hourly'}>} WIP_Total_Fees)

Not applicable
Author

I figured it out. Thanks!

sunny_talwar
MVP
MVP

What was it? Can you share with us?

Not applicable
Author

Sure. It was more that I was thinking about it the wrong way. I just did

Sum({$<Arrangement={'Hourly'}>}WIP_Total_Fees-WIP_Fees1)/Sum({1<Arrangement={'Hourly'}>}WIP_Total_Fees-WIP_Fees1)

And it accomplished the same thing.

Thanks!