Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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);