<?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: multiple button actions not working as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212879#M388800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached a sample application for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i move from test1 to test 2 .&lt;/P&gt;&lt;P&gt;vTest=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i gain press buttopn &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VTest=8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be handled in one click&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2016 12:21:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-08T12:21:44Z</dc:date>
    <item>
      <title>multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212875#M388796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a very common issue. I have to clear a field on button action and then select the same field on the same button action.&lt;/P&gt;&lt;P&gt;Two actions have been added:&lt;/P&gt;&lt;P&gt;1. Clear field :&amp;nbsp;&amp;nbsp; Say Month&lt;/P&gt;&lt;P&gt;2. Select in Field : Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value: concat({&amp;lt;Flag_YTD={'1'}&amp;gt;}Month )&lt;/P&gt;&lt;P&gt;3.Set Variable : vCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value : count(distinct ({&amp;lt;Flag_YTD={'1'}&amp;gt;}Month)&lt;/P&gt;&lt;P&gt;We have time periods buttons QTD and YTD.&lt;/P&gt;&lt;P&gt;So as I move from QTD......to YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say in QTD vcount was 1. Even in YTD vCount is coming as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I double click on the button . It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any solution to this issue .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 10:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212875#M388796</guid>
      <dc:creator />
      <dc:date>2016-11-08T10:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212876#M388797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;Select in Field : Month&lt;/P&gt;&lt;P&gt;Value :&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #ff0000;"&gt;'('&amp;amp;&lt;/SPAN&gt;count(distinct ({&amp;lt;Flag_YTD={'1'}&amp;gt;}Month&lt;SPAN style="color: #ff0000;"&gt;,'|')&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212876#M388797</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-11-08T11:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212877#M388798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You did not get my issue. I am able to select the Months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But vCount is not getting refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212877#M388798</guid>
      <dc:creator />
      <dc:date>2016-11-08T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212878#M388799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you explain your issue clearly .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 11:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212878#M388799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-08T11:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212879#M388800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached a sample application for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i move from test1 to test 2 .&lt;/P&gt;&lt;P&gt;vTest=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i gain press buttopn &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VTest=8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be handled in one click&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 12:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212879#M388800</guid>
      <dc:creator />
      <dc:date>2016-11-08T12:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212880#M388801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible can you share a sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Leni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 12:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212880#M388801</guid>
      <dc:creator>leni_harishwara</dc:creator>
      <dc:date>2016-11-08T12:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiple button actions not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212881#M388802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Multiple actions within one button won't be mandatory executed sequentially in the order that they are determined - therefore you couldn't get a real stable solution with them if they are depending from eachother.&lt;/P&gt;&lt;P&gt;I think the reason is that they could be applied/calculated multi-threaded - and some of them might be faster as other (depending on further calculations on the machine and how the OS and qlik switched between the cores).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it (always) worked by the second time I think it's caused by the qlik caching which avoids a new calculation and is faster. Maybe it could be helpful (for only one click) if you not calculate the selections-values within the action else within a variable and used then this variable for the action ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 13:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-button-actions-not-working-as-expected/m-p/1212881#M388802</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-08T13:40:35Z</dc:date>
    </item>
  </channel>
</rss>

