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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to put function in set analysis

Hi

 

i want to pull out the MemberID while AuditInsertDate is max one , i used many function but it is not working well

max

({$<AuditInsertDate={'<$(= max(AuditInsertDate)'}>} Member_id

)

anyone know hot to do it

6 Replies
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi,

Try this Expression

max

({$<AuditInsertDate={'<$(= max(AuditInsertDate))'}>} Member_id

)

Not applicable
Author

Hi there,

I used the following:

Max({<AuditInsertDate={$(=Max(AuditInsertDate))}>} Member_id)

Leo

Not applicable
Author

not working!

datatable like this

    MemberId   AuditInsertDate    
21866/28/2012 10:48:36
21866/28/2012 10:51:08
21866/29/2012 12:48:57
21866/29/2012 12:52:17
19416/29/2012 16:50:00
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi ,

If possible upload sample Application

Regards

Perumal A

Not applicable
Author

try this

Max({<AuditInsertDate={$(=Max(timestamp#(AuditInsertDate,'YYYY-MM-DD hh_mm'))}>} Member_id)

Thanks

priyanka

Not applicable
Author

Hi max,

Just curious, can you do that during loading?

Regards,

Xue Bin