Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

change selected value from script

Hi!

I have calendar object with 2 variables: nach_p and konec_p and field data_sale

and i have load script. in the end of script:

let start_period = date(today()-1-7,'YYYYMMDD');

also i have triger  - select in field data_sale with search string: 

='>=$(=date(nach_p,'YYYYMMDD'))<=$(=date(konec_p,'YYYYMMDD'))'

when i load data in calendar i see my nach_p and konec_p

, but nothing happend with data_sale field - there is no selection by nach_p and konec_p (only old selection)

but if i manuly change nach_p or  konec_p in calendar - triger works and selection is appear

why triger dosent work when variable changing in script?

please help

Tags (2)
1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: change selected value from script

I don't think a (re)load can trigger actions from the script. Have you tried setting an action on the OnPostReload document trigger (and/or the OnOpen trigger)?


talk is cheap, supply exceeds demand
2 Replies
MVP & Luminary
MVP & Luminary

Re: change selected value from script

I don't think a (re)load can trigger actions from the script. Have you tried setting an action on the OnPostReload document trigger (and/or the OnOpen trigger)?


talk is cheap, supply exceeds demand
Not applicable

Re: change selected value from script

thank you! it works

Community Browser