Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

=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

=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!