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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

how to len(trim) with set analysis?

Hi guys,

I have an expression, now i want to add in 2 more condtions = A_Rate_Name = 'Low' and B_Rate_Name = 'Low'. How should I add it into this expression?

=Count(DISTINCT {<Record_ID = {"=Len(Trim(Only({<Year,Rating, Record_ID = P(Record_ID)>}Rating))) = 0"}>}Record_ID)

rgds,

Jim Chan

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=Count(DISTINCT {<A_Rate_Name ={'Low'}, B_Rate_Name = {'Low'}, Record_ID = {"=Len(Trim(Only({<Year,Rating, Record_ID = P(Record_ID)>}Rating))) = 0"}>}Record_ID)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=Count(DISTINCT {<A_Rate_Name ={'Low'}, B_Rate_Name = {'Low'}, Record_ID = {"=Len(Trim(Only({<Year,Rating, Record_ID = P(Record_ID)>}Rating))) = 0"}>}Record_ID)


talk is cheap, supply exceeds demand
jim_chan
Specialist
Specialist
Author

Thank you gysbert!