Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
MPH
Contributor II
Contributor II

Can You use a calculated measure in set analysis

Is this legal statement

Num({$<PRODUCT_TYPE-="*spares","*spare"}>} sum(BILLING_SHIP_PROFIT)/sum(BILLING_AMT),'#,##0%')

4 Replies
Steven_Haught
Creator III
Creator III

I would try this.

Num(
(Sum({$<PRODUCT_TYPE-={"*spares","*spare"}>}BILLING_SHIP_PROFIT)
/
sum(BILLING_AMT))
,'#,##0%')

MPH
Contributor II
Contributor II
Author

It Works! Thank You for response!

Steven_Haught
Creator III
Creator III

Great! If appropriate, please mark the above as the answer! 

Swetha4
Contributor
Contributor

Hi Steven 

Similar question I want to perform set analysis will this work

sum( {<product name ='car',Location ='America'>}Sum(sales)*avg(purchase Price))