Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Set Expression

Dear Friends

My following set expression show zero results. I think there is an error there. Pls help me to rectify it

Screenshot_1.pngScreenshot_2.png

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this? I assume Date fields are good

Count({<RENEWED_PREMI|UM = {'>0'}, RENEWED_DATE = {"=$('<' & =Max(RENEWED_DATE))"}>} DISTINCT POLICT_NO)


OR


Count({<RENEWED_PREMI|UM = {'>0'}, RENEWED_DATE = {'<$(=Max(RENEWED_DATE))'}>} DISTINCT POLICT_NO)

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

View solution in original post

3 Replies
Anil_Babu_Samineni

May be this? I assume Date fields are good

Count({<RENEWED_PREMI|UM = {'>0'}, RENEWED_DATE = {"=$('<' & =Max(RENEWED_DATE))"}>} DISTINCT POLICT_NO)


OR


Count({<RENEWED_PREMI|UM = {'>0'}, RENEWED_DATE = {'<$(=Max(RENEWED_DATE))'}>} DISTINCT POLICT_NO)

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
upaliwije
Creator II
Creator II
Author

Thanks Anil

Your second option works

Anil_Babu_Samineni

I think first one also should work, May be remove = sign for your understand you can learn yourself

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