Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscools
Creator II
Creator II

calculate stock per article, but only locations starting with the same letter

Hello,

can i adapt the expression below to only take into account Locations where the "LocationName" starts with the letter "K"?

sum ({< WarehouseName = {'WHS BE'}, LocationFunction={'PICKING','BULK'}>} StockQty )

Thanx!

Chris

1 Solution

Accepted Solutions
Gysbert_Wassenaar

sum ({< WarehouseName = {'WHS BE'}, LocationFunction={'PICKING','BULK'},LocationName={'K*'}>} StockQty )


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

sum ({< WarehouseName = {'WHS BE'}, LocationFunction={'PICKING','BULK'},LocationName={'K*'}>} StockQty )


talk is cheap, supply exceeds demand
brijesh1991
Partner - Specialist
Partner - Specialist

if(wildmatch(LocationName,'K*'),

sum ({< WarehouseName = {'WHS BE'}, LocationFunction={'PICKING','BULK'}>} StockQty ))

OR

sum ({< WarehouseName = {'WHS BE'}, LocationFunction={'PICKING','BULK'},LocationName={'K*'}>} StockQty )

chriscools
Creator II
Creator II
Author

thanx! this works fine!