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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to exclude selection of list item in expression

Hi,

I have a following expression, there is a list having FREEZING_REASON_CODE field on the dashboard. I want the resultset not to be changed upon selection of FREEZING_REASON_CODE field. Please help.

 

=aggr(
FirstSortedValue({<FREEZING_LAST_ACCESSED = {'<=$(=NUM(As_Of_Date))'} >} FREEZING_REASON_CODE , -FREEZING_LAST_ACCESSED)
,
FREEZING_PARTICIPANT_ID,FREEZING_ACCOUNT_NUMBER, FREEZING_SECURITY_ID)

 

6 Replies
kamielrajaram
Creator III
Creator III

Hi Imran,

Try this

=aggr(
FirstSortedValue({<FREEZING_LAST_ACCESSED = {'<=$(=NUM(As_Of_Date))'},FREEZING_REASON_CODE= >} FREEZING_REASON_CODE , -FREEZING_LAST_ACCESSED)
,
FREEZING_PARTICIPANT_ID,FREEZING_ACCOUNT_NUMBER, FREEZING_SECURITY_ID)

Not applicable
Author

Hi,

Its not working.

Anil_Babu_Samineni

What are you trying to do with your query? Can you explain the rek

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

May be this

=Only({<FREEZING_REASON_CODE>} Aggr(FirstSortedValue({<FREEZING_LAST_ACCESSED = {'<=$(=NUM(As_Of_Date))'}, FREEZING_REASON_CODE >}FREEZING_REASON_CODE, -FREEZING_LAST_ACCESSED), FREEZING_PARTICIPANT_ID, FREEZING_ACCOUNT_NUMBER, FREEZING_SECURITY_ID))

Not applicable
Author

Hi, Thanks for your reply, but its still not working.

Anil_Babu_Samineni

Would you able to share sample qvw

Try this

=Aggr(Only({<FREEZING_REASON_CODE>} Aggr(FirstSortedValue({<FREEZING_LAST_ACCESSED = {'<=$(=NUM(As_Of_Date))'}, FREEZING_REASON_CODE >}FREEZING_REASON_CODE, -FREEZING_LAST_ACCESSED), FREEZING_PARTICIPANT_ID, FREEZING_ACCOUNT_NUMBER, FREEZING_SECURITY_ID)),FREEZING_REASON_CODE)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful