Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
MichaelFL
Contributor III
Contributor III

numer of pallets in pending orders

Hello ,
i would like to create a simple table to view the no. of pallets in the future goods receipts.
To sum or to count the pallets is clear but I think in this regard we have to consider one more thing to get the right output.
For example on one pallet are 100 units. The supplier deliver 500 units. Than it is clear 5 pallets.
But how can I change the formula that I consider also partial shipments. Can I do this with aggr func?
Variable data:
PO pos 1. Article 1 with 80 units
PO pos 2 article 2 with 20 units.
Output should be 2 pallets not 1.

Hope I have describe my problem clearly enough...

Labels (2)
1 Solution

Accepted Solutions
usamabinsadiq
Contributor III
Contributor III

Hi,

please see the result, I think this is what you were looking for

numer of pallets in pending orders.jpg

here is the Measure Expression:

Sum(ceil(QTY/100))

hope this helps,

 

Regards,

 

if my replay helped you then please press like button and do not forget to press the "Accept as Solution" button.

View solution in original post

3 Replies
usamabinsadiq
Contributor III
Contributor III

Hi,

 

please provide sample data in excel to work with, 

 

thanks

if my replay helped you then please press like button and do not forget to press the "Accept as Solution" button.
MichaelFL
Contributor III
Contributor III
Author

Unbenannt.JPG

 

The correct no of pallets is 9. When you sum QTY and divide with 100 is 8. And 8 is not correct

usamabinsadiq
Contributor III
Contributor III

Hi,

please see the result, I think this is what you were looking for

numer of pallets in pending orders.jpg

here is the Measure Expression:

Sum(ceil(QTY/100))

hope this helps,

 

Regards,

 

if my replay helped you then please press like button and do not forget to press the "Accept as Solution" button.