Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
sr_qlikview
Creator
Creator

Clear button clears trigger on sheet

I have a trigger on my sheet (ex: OnActivateSheet  - isTestFlag =1 )

When i hit on clear button it clear the trigger. I try adding  action on clear button properties as clear other fields - isTestFlag, it gets and 1 and 0 values for this field.

How to handle this, is there any expression in the button action to control this ?

Thank you.

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Could you please describe what exactly you are doing.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
sr_qlikview
Creator
Creator
Author

I have field like 'isTestFlag' in my Data model which set that flag = 1 on a condition like region ='US' .

we get all the data to the application but on a selected sheet we want to get only the US data with out using filters, which i have done using the onactivatesheet trigger when isTestFlag = 1.

but when i click on clear button (which has action - clear other fields , field = currency ) it wipesout the trigger filter and gets all the data.

sr_qlikview
Creator
Creator
Author

i added the same inselectfield action on the button. that worked.