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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trigger on a sheet / chart

Hi,

I am attempting to add a filter to a sheet object (Pivot Chart) so that it default to showing only data from today.

I have added to the sheet event trigger (OnActivateSheet), Action Type = Selection, Action = Select in Field

The field is set to the Date field and the search string is set to  getdate()

But this does not seem to work.

Can anyone tell me when the triggers get fired?

Also, have I done the trigger incorrectly?

Thanks.

Geoff

1 Solution

Accepted Solutions
Not applicable
Author

3 Replies
christophebrault
Specialist
Specialist

Hi,

It seems to be correct be sure that :

In the field, don't write "=" before your Date

In the search string, try : today() and be carefull you have the same date format.

Share a sample file if it's still not working.

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin
Not applicable
Author

screen attached

Not applicable
Author

Thanks for the Cristina.

The trigger gets fired when the document is (re)loaded.

Can you get the trigger to fire when the tab is switched to?