Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
swetha54
Contributor III
Contributor III

how to pass max of order numbers from a table to a variable input box.

how to pass max of order numbers from a table to a variable input box .

We have a  table with order numbers 1 to 100 for ex, Variable should take the value as max(Order) = 100 .

Please help.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Where this is not working? PFA

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

5 Replies
Anil_Babu_Samineni

Create a Variable in the design

vMaxOrder as variable Name

=Max(Order) as Definition

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
swetha54
Contributor III
Contributor III
Author

Hi Anil,

Thanks for your reply!

But this didnt work.

Anil_Babu_Samineni

Where this is not working? PFA

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jonathandienst
Partner - Champion III
Partner - Champion III

Your requirements are not clear. Please expand on what you mean by "Variable should take the value as max(Order) = 100".

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
swetha54
Contributor III
Contributor III
Author

We have a table with all the Order numbers as a column, and need to create a variable to hold max of all order numbers.

which should be passed to fetch the records from an API for that particular Order number.