Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
vireshkolagimat
Creator III
Creator III

Exclude Year selection in expression

Hi All,

I've the below expression which calculate the sum InvQty based on the set analysis expression.

=sum({<StockTransType={'STKTKEFULL'}, TransNo={'$(=MaxString(TransNo))'}, Year= >}InvQty)

I don't want the exp value to change if they make selections in Year list box so i have excluded it in the exp.

But if select the Year list box, the value is changing. I need to keep this value as constant.

what is wrong in my expression? Thanks 

VK

1 Solution

Accepted Solutions
Vegar
MVP
MVP

I guess you would need to add the set into your maxString() function as well.

=sum({<
StockTransType={'STKTKEFULL'},
TransNo={'$(=MaxString({<StockTransType={'STKTKEFULL'},Year=>}TransNo))'},
Year= >}InvQty)

 

View solution in original post

2 Replies
Vegar
MVP
MVP

I guess you would need to add the set into your maxString() function as well.

=sum({<
StockTransType={'STKTKEFULL'},
TransNo={'$(=MaxString({<StockTransType={'STKTKEFULL'},Year=>}TransNo))'},
Year= >}InvQty)

 

vireshkolagimat
Creator III
Creator III
Author

Hi, Thanks for suggestion. Its working fine.