Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to assign Maximum sales value to the variable at Script level?

Hi Everyone,

Please explain, how to assign maximum sales value to the variable at script level?

1 Reply
olivierrobin
Specialist III
Specialist III

hello

you can do something like that

temp:

load max(sales value) as max_sales

resident mytable;

let vMaxValue=peek(max_sales,0,temp);