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

1 Solution

Accepted Solutions
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

View solution in original post

15 Replies
Anil_Babu_Samineni

don't use Pick match here, I know your intention. Should be this?

If(Match([login time], '6:30','16:30','22:30'), [login time])

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
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Antony,

try to use calculate Dimension in List  box As Follow:

=If(WildMatch([login time],'6:30:00','16:30:00','22:30:00'),[login time])

Thanks,

Arvind Patil

antonybi
Creator
Creator
Author

Still it is not showing anything I have tried the same as you suggested.

PFA for your reference!!

Anil_Babu_Samineni

Looks like showing?

Capture.PNG

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
Anil_Babu_Samineni

Or this?

=If(Match([login time], '6:30','16:30','22:30'), TimeStamp([login time]))

Capture.PNG

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
antonybi
Creator
Creator
Author

No it is not showing anything.

Anil_Babu_Samineni

I just opened your application? Check my replies with screenshots.

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
antonybi
Creator
Creator
Author

Both expressions I have tried but it is still not showing anything.

what's wrong with this??

Can you do it in my application which shared in the below.

Anil_Babu_Samineni

May be share your image, Where it is not working for you

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