Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to select the max value of a field in another table

Hi,

how I select the minimum and maximum START_MONTH per Customer (see attached small sample)?

Problem is, that the customer is selected via webticket on the access point, so I need an expression after the load that sets a variable.

Thanks.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

If only one customer is selected, when you open the document you have that selection that works on the date so simply using min and max you obtain the result

if you want to have min and max for all customers tìyou can do it in the script.

View solution in original post

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

If only one customer is selected, when you open the document you have that selection that works on the date so simply using min and max you obtain the result

if you want to have min and max for all customers tìyou can do it in the script.

Not applicable
Author

Yes, you are right. Currently it does not work in my real application, but this seems to be a side effect from all that trigger stuff that is running at the Open document event. Will need to debug this.

Thanks!