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: 
apthansh
Creator
Creator

Sum Total in Set Analysis

I have the below expression but How can I put that in set analysis ?

IF(_BTUnitOfMeasure = 'SQF',Sum(Total([RSF])),

                                                 Sum(Total([RSF])) * VarSfTOM2)

Thanks much.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this:

RangeSum(

Sum(Total {<_BTUnitOfMeasure  *= {'SQF'}>}[RSF]),

Sum(Total {<_BTUnitOfMeasure  -= {'SQF'}>}[RSF]) * VarSfTOM2)

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

May be like this:

RangeSum(

Sum(Total {<_BTUnitOfMeasure  *= {'SQF'}>}[RSF]),

Sum(Total {<_BTUnitOfMeasure  -= {'SQF'}>}[RSF]) * VarSfTOM2)

miguelbraga
Partner - Specialist III
Partner - Specialist III

You can make it something like this:

=Sum(Total {<_BTUnitOfMeasure = {'SQF'}>} ([RSF])) + Sum(Total {<_BTUnitOfMeasure -= {'SQF'}>} ([RSF])) * VarSfTOM2

Let me know if you got it right

Best regards,

D.A. MB

apthansh
Creator
Creator
Author

Thank you.