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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

Set Analysis


Hi all,

i havetwo expressions

=sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]={'Albany'}>}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>}[DEPOSIT SUM])

in my first expression i am calculating sum(DEPOSIT SUM) for 'ABC Bank' and [ ASSESSMENT AREA]={'Albany'}. my problem is i want to calculate sum for all my ASSESSMENT AREA's...

how to do that...can any one help...

Thanks in advance!!!

Smiley

9 Replies
kouroshkarimi
Creator III
Creator III

=sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]=>}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>}[DEPOSIT SUM])

Not applicable

Hi

if i understand well, you want to use set analysis for every ASSESSMENT AREA.


I would suggest you to use a pivot or straight table with assesment area as dimension

and =sum({<NAME={'ABCt Bank''}>}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>} TOTAL [DEPOSIT SUM])

as expression


Chris

Not applicable

=sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]=>}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>}[DEPOSIT SUM])

Not applicable

If you want all Assessment areas, simply remove that bit of the set analysis. Thus allowing 'all' Assessment areas.

=sum({<NAME={'ABCt Bank'}>}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>}[DEPOSIT SUM])

Hope this helps

James

Not applicable

Why don't you try this ??

=sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]={'*'}[DEPOSIT SUM])  / sum({<NAME={'ABC Bank'}>}[DEPOSIT SUM])

Not applicable

This is also work...

both are same

rathnam_qv
Creator
Creator
Author

Hi Sathia,

both expressions giving me the same values

Smiley

MayilVahanan

Hi

Try like this

=sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]=>}[DEPOSIT SUM])  / sum(Total {<NAME={'ABC Bank'}>}[DEPOSIT SUM])

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable

sum({<NAME={'ABCt Bank'},[ ASSESSMENT AREA]={"*"}>}[DEPOSIT SUM])


try like this