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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
npadilla73
Contributor III
Contributor III

Get a selection according to the dates of production shift.

Hi, I need your help!

I have a list box with the dates of production that took place during the day , but I want that them be selected according to the production shift:

example :

Production shift "A" comes from 6:00 am to 6:00 pm,

Production shift "B" goes from 6:00 pm to 6:00 am,

So, if I selected production shift "A" , I require that QV selects everything that corresponds to the shift schedule from "DATE_PRODUCTION" field, and if I selected production shift "B", I need that QV selects from "DATE_PRODUCTION" field what occurred at that time.

I appreciate your help, Thank you.

Noé Padilla

11 Replies
ramoncova06
Partner - Specialist III
Partner - Specialist III

que cambio estas haciendo ?

en lugar de usar subfield usa left(campo,15)

aunque siendo sinceros no entiendo para que necesitas los minutos, a menos que tengas que agregar esa información como dato

npadilla73
Contributor III
Contributor III
Author

Hola Ramón,

Aplique la solución propuesta directo a mi desarrollo, pero en mi base de datos si concuerdan los formatos de fecha y no fue necesario utilizar el subfield,

Muchas gracias por la solución.