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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Automatically Select the Max Value from a Field in a Listbox

Hello,

I have the following table:

IDID_YEARID_MONTH
10212013May
10212013Jun
10212013Jul
10212013Sep
10212013Oct
10212013Nov
10212013Dec
10212014Jan
10212014Apr
10212014May
10212014Jun
10212014Jul
10212014Aug
10212014Sep
10212014Oct
10212014Nov
10212014Dec
10212015Jan
10212015Feb
10212015Mar

Then I have:

  • 1 Listbox with ID_YEAR: 2013 / 2014 / 2015
  • 1 Listbox with ID_MONTH: Jan / Feb / Mar
  • 1 Listbox with ID: 1021 / 1022 / 1023 / Etc

ID_YEAR and ID_MONTH are part from a Master Calendar table and the ID conforms another table.

What I need is that when I select an ID from the ID Listbox and the ID_YEAR from the ID_YEAR Listbox, then automatically select the last month in the ID_MONTH Listbox for the selected ID.

Do you know if that could be possible?

Thank you!!!

1 Reply
anbu1984
Master III
Master III

Use this expr for ID_Month

=Aggr(MaxString(ID_MONTH),ID,ID_YEAR)