Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

total in set analysis irrespective to column name

Hi Team,

I have below straight table:

Transport(Dimension)Expression (What is coming)Expression(What I want)
Avalue corresponding to Avalue corresponding to A and B
Bvalue corresponding to Avalue corresponding to A and B

I am using below set analysis but not working:

sum({$<TRANSPORT_NAME={'A','B'}>}cost)

Can anybody help me?

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

Try this?

sum(TOTAL {$<TRANSPORT_NAME={'A','B'}>}cost)

View solution in original post

4 Replies
vipingarg23
Creator
Creator
Author

Sorry..typo mistake in Expression(What is coming)...In B cell, it is coming value corresponding to B

vishsaggi
Champion III
Champion III

Try this?

sum(TOTAL {$<TRANSPORT_NAME={'A','B'}>}cost)

tresesco
MVP
MVP

Try using Total keyword like:

=sum( total cost)

vipingarg23
Creator
Creator
Author

Great...It is working fine....thanks a lot...You made my day....