Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Complex Problem

Good morning community, I am creating a model in qlikview and there is something that worries me.
I work with two spreadsheets communicated with each other by "ID_code_product", a spreadsheet is a Stock (with one column that delivers the stock by ID_code_product) and the second is one of Stock Requests (where it contains information on today's requests, tomorrow, the day after tomorrow , etc) in columns defined as Order Day, Order Month and Order Year.

My problem, I need to give information about the available stock, it means if on day 1 there are 10 boxes in stock and the order for that same day is 2 boxes; the order for the next day is 1 box, for day 1 the available stock should be 8 and for the second it should be 7.

Seen in another way.

Day one:
Available stock: 10
Request: 2

Day two:
Available stock: 8
Application: 1

Day Three:
Available stock: 7
Request: x (....)

I have tried everything and I still do not reach a successful result, I hope you can help me.
Greetings.

-------------------------------------------------------------------------o-----------------------------------------------------------------------------

Buenos días comunidad, estoy creando un modelo en qlikview y hay algo que me inquieta.

Trabajo con dos planillas comunicadas entre si por "ID_code_product", una planilla es un  Stock (con una columna que entrega el stock por ID_code_product)  y la segunda es una de Solicitudes de stock (donde contiene información de solicitudes de hoy, mañana, pasado mañana, etc)  en columnas definidas como Dia de pedido, mes de pedido y año de pedido.

Mi problema, necesito entregar información del stock disponible, quiere decir si el día 1 existen en stock 10 cajas y el pedido de ese mismo dia es de 2 cajas; el pedido del día siguiente es de 1 caja, para el día 1 el stock disponible debe ser 8 y para el segundo debería ser 7.

Visto de otra forma.

Día uno:

Stock disponible:10

Solicitud: 2

Día dos:

Stock disponible:8

Solicitud: 1

Día tres:

Stock disponible:7

Solicitud: x (....)

He intentado de todo y aun no llego a un resultado exitoso, espero puedan ayudarme.

Saludos.

0 Replies