<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Actions and variables, what's happening ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278170#M401170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still take that as a bug : a succession of Clear and Select always work fine. But setting a variable seem to happen only when the action list is over. Too bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear other fields is nice but if you have selected nothing, it will select All .. I don't like that .. I want to clear other, not clear other and select all !!&amp;nbsp; Again I would say it's a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2017 16:00:55 GMT</pubDate>
    <dc:creator>fredericvillemi</dc:creator>
    <dc:date>2017-03-13T16:00:55Z</dc:date>
    <item>
      <title>Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278167#M401167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using Qlikview 11.2 SR12. It's not the greatest version and maybe I will have to upgrade because I think I have a bug about actions and variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a button to remove all filters except 1 if it is already selected.&lt;/P&gt;&lt;P&gt;So my idea is to make a button with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;set a variable to the value of getfieldselections&lt;/LI&gt;&lt;LI&gt;clear all&lt;/LI&gt;&lt;LI&gt;select the field with the value of my variable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it seems Qlikview only update the variable value when all the actions have been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my selection of Company, &lt;/P&gt;&lt;P&gt;If I select the Company1, it will end with everything cleared and Company1 in the variable.&lt;/P&gt;&lt;P&gt;But after that, if I select Company2 and press the button, it will clear all, select Company1 (because it was in the variable) and then put Company2 in the variable, even if the Set Variable was the first action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the example provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an error in my code ?&amp;nbsp;&amp;nbsp; is there a walkaround or do you know if another SP of 11.2 fixes that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 11:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278167#M401167</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2017-03-13T11:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278168#M401168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actions in qlikview won't be executed seriell. This meant you couldn't get a stable solution with a chain of actions if they are depending on eachother in any way. Perhaps you need another usability with multiple buttons and/or back/forward-buttons or bookmark-actions or something similar. Maybe also this is helpful for you: &lt;A href="https://community.qlik.com/docs/DOC-17337"&gt;Tracking the historical selections&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 12:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278168#M401168</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-13T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278169#M401169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;some of the actions in Qlikview take time to update and there for when applying several actions &lt;/P&gt;&lt;P&gt;you'll need to include a macro that do a sleep function&lt;/P&gt;&lt;P&gt;but the good news you don't need this sequence , just use the action clear other fields &lt;/P&gt;&lt;P&gt;that clears all the fields except to the field you set&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 12:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278169#M401169</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2017-03-13T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278170#M401170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still take that as a bug : a succession of Clear and Select always work fine. But setting a variable seem to happen only when the action list is over. Too bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear other fields is nice but if you have selected nothing, it will select All .. I don't like that .. I want to clear other, not clear other and select all !!&amp;nbsp; Again I would say it's a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 16:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278170#M401170</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2017-03-13T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278171#M401171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your very interesting link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still think my problem could be easily fixed (and is some kind of a bug) : all actions of selecting and clearing are sequential. Too bad the Set Variable is not and only occurs when the actions are over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fixed my issue with the tip of another article : locking the Company field, clearing everything and unlocking the Company.&amp;nbsp; It adds a lock/unlock to the history of filters but it's the better way to do I think&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 16:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278171#M401171</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2017-03-13T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278172#M401172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the objective is to clear &lt;SPAN style="text-decoration: underline;"&gt;everything&lt;/SPAN&gt; except a particular field (which I call "preservefield"):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Unlock all&lt;/LI&gt;&lt;LI&gt;Lock preservefield&lt;/LI&gt;&lt;LI&gt;Clear all&lt;/LI&gt;&lt;LI&gt;Unlock preservefield&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you must &lt;SPAN style="text-decoration: underline;"&gt;also&lt;/SPAN&gt; preserve the already-locked fields, add this in the script:&lt;/P&gt;&lt;P&gt;Set HiddenPrefix = '_'; // or whatever you like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preservation_Island:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;&amp;nbsp; preservefield,&lt;BR /&gt;&amp;nbsp; preservefield as _shadowfield&lt;BR /&gt;Resident Table_With_Preservefield;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the button actions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select possible _shadowfield&lt;/LI&gt;&lt;LI&gt;Lock _shadowfield&lt;/LI&gt;&lt;LI&gt;Clear all&lt;/LI&gt;&lt;LI&gt;Select possible preservefield&lt;/LI&gt;&lt;LI&gt;Unlock _shadowfield&lt;/LI&gt;&lt;LI&gt;Clear _shadowfield&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that works for you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 20:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278172#M401172</guid>
      <dc:creator>brian554xx</dc:creator>
      <dc:date>2017-05-11T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278173#M401173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, yes I have done this way (without the code to preserve the locked fields but it is ok for me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just unhappy about the fact Actions and triggers are not really sequential in Qlikview but I'll do with it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 08:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278173#M401173</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2017-05-12T08:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278174#M401174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederic Villemin, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do Actions work on Ajax browser when published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few Red Green Amber Text objects and have Actions on them to " select in fields Action " to filter out a table beneath it. &lt;STRONG&gt;Will these Select In field Actions of these text boxes work in Ajax browser.&lt;/STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;Basically will Actions work in Ajax browser.&lt;/SPAN&gt; Please kindly let me know. This would be really helpful! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 18:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278174#M401174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T18:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278175#M401175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus Sommer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you? I have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do Actions work on Ajax browser when published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few Red Green Amber Text objects and have Actions on them to " select in fields Action " to filter out a table beneath it. &lt;STRONG&gt;Will these Select In field Actions of these text boxes work in Ajax browser.&lt;/STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;Basically will Actions work in Ajax browser.&lt;/SPAN&gt; Please kindly let me know. This would be really helpful! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 18:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278175#M401175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T18:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278176#M401176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian Schiefen, I have a Question on Actions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do Actions work on Ajax browser when published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few Red Green Amber Text objects and have Actions on them to " select in fields Action " to filter out a table beneath it. &lt;STRONG&gt;Will these Select In field Actions of these text boxes work in Ajax browser.&lt;/STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;Basically will Actions work in Ajax browser.&lt;/SPAN&gt; Please kindly let me know. This would be really helpful! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 18:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278176#M401176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T18:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278177#M401177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not tested all actions. The ones I use seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time you move a version to production, create a private sheet (show condition OSUser()='&amp;lt;yourusername&amp;gt;' &lt;EM&gt;* note below&lt;/EM&gt;). In production, add a button in that sheet to test actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was planning to tell you that any properties available in the Properties box in web view would work in production. However, I do not believe this is true. For example, you can create a grid-style multi-box in web view, but it looks no different from a regular multi-box - until you turn off web view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* There may be more to your full username than what you expect. When in doubt, temporarily create a text box, or temporarily borrow a caption, with the formula =OSUser(). I got tired of that and I wanted an easier way to add more people to the condition, so I started using WildMatch5(OSUser(), '*schiebx*', '*otherperson*', '*example*') for the show condition.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 21:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278177#M401177</guid>
      <dc:creator>brian554xx</dc:creator>
      <dc:date>2017-10-27T21:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278178#M401178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Will this action work in Ajax browser.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I plan to use simple&lt;STRONG&gt; " Select In Field "&lt;/STRONG&gt; &lt;STRONG&gt;Actions&lt;/STRONG&gt; present in a &lt;STRONG&gt;Text object&lt;/STRONG&gt; as shown in the attached picture to &lt;STRONG&gt;" select In Field " values from a Field&lt;/STRONG&gt; to &lt;STRONG&gt;drill down tables&lt;/STRONG&gt;. &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Will this action work in Ajax browser.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please reply to this as soon as you see this post. That will be really helpful. Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Select In Field Action in Text boxes.jpg" class="jive-image image-1" src="/legacyfs/online/181364_Select In Field Action in Text boxes.jpg" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 07:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278178#M401178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-28T07:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Actions and variables, what's happening ?</title>
      <link>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278179#M401179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;yes &lt;STRONG&gt;Select in Field&lt;/STRONG&gt; works correctly in Server / Ajax Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What doesn't really work is to make multiple triggers with links to each other like Setting a variable, using it in select field, etc. Qlikview won't update variables in the order we would like it to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But yes Select in Field works correctly (as most actions)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 08:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actions-and-variables-what-s-happening/m-p/1278179#M401179</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2017-10-30T08:34:14Z</dc:date>
    </item>
  </channel>
</rss>

