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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
antonybi
Creator
Creator

object_doubt

Hi All,

I have a list box and it contains shift times But here I don't want to show all the shifts.

I want to display only particular times like 6:30:00 AM, 4:30:00 PM, 10:30:00 PM

list_doubt.JPG

I have tried with combination of pick and match.

=Time(Pick(Match([login time],'6:30','16:30','22:30'),'6:30','16:30','22:30'),'hh:mm:ss TT')

but it is not working.

any suggestions will be appreciated.

Thanks in advance!!!

15 Replies
antonybi
Creator
Creator
Author

I think it is something wrong in my application can you check it out?

antonybi
Creator
Creator
Author

PFB for your reference

list2.JPG

list3.JPG

Anil_Babu_Samineni

Expression correct only, and in your script there is not good connection. Could be the reason?

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
effinty2112
Master
Master

Hi Antony,

Try:

=Aggr(if(Match([login time],'6:30','16:30','22:30'),Time([login time])),[login time])

as the expression in a listbox.

Cheers

Andrew

antonybi
Creator
Creator
Author

No. Now I configured correct connect even though I am getting same issue.

I don't  understand whats really wrong with this?

antonybi
Creator
Creator
Author

Hey thank you so much it worked.