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: 
Anonymous
Not applicable

Stock position on a given date

I have a table with the movement of stock to the position on .  

I managed to get the most earliest date that the informed variable, but can not get the amount in stock on the date .



Portugues:

Eu tenho uma tabela com o movimento do estoque para a posição ligado.
Eu consegui a data mais mais antiga que a variável informada , mas não pode obter a quantidade em estoque na data .


Untitled.png

12 Replies
Anonymous
Not applicable
Author

Goal is to know the balance of stock on a particular date , informed the variable.

I look at these information by opening deposit or by product , product derivation , through the collapse function or not collapse .
I have several charts / tables for this information

Anonymous
Not applicable
Author

The expected result is to know the stock of products on a certain date ( variable ) . Having collapse or expansion of deposit , Product , Product Derivation . I need information for Storage, Product , Derivation products, can use the function to collapse or not. Always grouping and adding the data or may be in different blocks of data.

sunny_talwar

How does this look?

Capture.PNG

Expression used:

=FirstSortedValue({<DataMovimentoPosicao = {"<=$(vDataBase)"}>} Aggr(Sum({<DataMovimentoPosicao = {"<=$(vDataBase)"}>}QtdeEstoquePosicao), DataMovimentoPosicao, CodigoDepositoPosicao),

-Aggr(DataMovimentoPosicao, DataMovimentoPosicao, CodigoDepositoPosicao))