Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to clear a field, 'Receipt_WeekStart' before populating with the maximum date. I have a 'OnOpen' trigger under document properties that clears the field and then sets the value. The clear is not working. See attached screenshots.
Thanks!
Hi
you can do this without macro.delete the clear field trigger and try to use date(max( {1} Receipt_WeekStart)), this will ignore any selections and set the max Weekstart. Also make sure you are giving the right date format.
hope this helps
Best
Stefan
Hi,
Plz put the clear field action after all of the actions.put it in last then it will work.here you have after clear field u can select a field action is der so thats the problem
Putting the clear field after the other actions did not work. Now when I close and reopen the app, the date filter is blank. I need this field cleared and repopulated when I re-open the app or tab off and back onto the sheet. The only way I can get this to work is to manually clear the filter and tab off and back onto the sheet. Not what I need though.
Hi,
For this we need to use macro here.try to use that macro and create a action run macro.
Kindly search for that macro in community.
I would appreciate more specifics as I'm fairly new to Qlikview and Macros.
Hi
you can do this without macro.delete the clear field trigger and try to use date(max( {1} Receipt_WeekStart)), this will ignore any selections and set the max Weekstart. Also make sure you are giving the right date format.
hope this helps
Best
Stefan
Thank you Stefan!! That works!!!