Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Functions in set expression

Hi all,

I'm trying to filter a set expression for the maximum InventoryFrozenInventoryDate value... In order to achieve that, I've written this expression:

Sum({<InventoryFrozenInventoryDate={"$=max(InventoryFrozenInventoryDate)"}, InventoryFrozenOrdType-={'PRS'},InventoryFrozenInventoryType={'FINISH'},InventoryFrozenStat={'B'}>}InventoryFrozenTon)

However, it's not working… does anyone knows what I might be doing wrong?

Thank you,

Sofia

1 Solution

Accepted Solutions
OmarBenSalem

Sum({<InventoryFrozenInventoryDate={"$(=max(InventoryFrozenInventoryDate))"}, InventoryFrozenOrdType-={'PRS'},InventoryFrozenInventoryType={'FINISH'},InventoryFrozenStat={'B'}>}InventoryFrozenTon)

View solution in original post

2 Replies
OmarBenSalem

Sum({<InventoryFrozenInventoryDate={"$(=max(InventoryFrozenInventoryDate))"}, InventoryFrozenOrdType-={'PRS'},InventoryFrozenInventoryType={'FINISH'},InventoryFrozenStat={'B'}>}InventoryFrozenTon)

Anonymous
Not applicable
Author

Thank you Omar! It works! What a silly mistake I did...!