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

Default selections in list boxes

Hi all,

I have 2 fields Period Type and Period Key.  When the user selects the period type, I would like to default the 'Period Key' selection to the first possible value in the list box.

VW.JPG

VW2.JPG

vw3.JPG

Any suggestions please.

Thank you,

2 Replies
karthickv
Partner - Creator
Partner - Creator

Hi Aishwarya,

Are you looking for the latest Period type to be selected ?

From the screenshots, I can see Period Type seems to be already sorted and it is in proper format.


The first value could be selected using a simple Max(PeriodType). Why is it not working ?

Regards,

Karthick V.

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Use a global qlikview trigger:

Settings--> DocumentSettings--> Triggers --> Field Triggers -> choose "PeriodType" field and assign trigger on "OnChange" or "On Select" (depending on your needs) AddAction: Select in field: Field Name and in trigger use a suggested by Karthick formula.

Click Ok and Test

See screenshots below:

regards

Lech

2017-03-13_11-35-00.png

2017-03-13_11-38-52.png2017-03-13_11-39-58.png

cheers Lech, 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 to the problem.