<?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: expression is not working on button action in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855898#M300003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hi please find my sample attached app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 09:54:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-30T09:54:04Z</dc:date>
    <item>
      <title>expression is not working on button action</title>
      <link>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855895#M300000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expression works fine in the text object and shows value properly&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=((If(IsNull(Max({$&amp;lt;Year={$(=Max(Year))}&amp;gt;} per)),Week(Now()),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Pick(Match(Max({$&amp;lt;Year={$(=Max(Year))}&amp;gt;}per),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;1,2,3,4,5,6,7,8,9,10,11,12),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;4,8,13,17,21,26,30,34,39,43,47,52&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But when i'm assigning expression in button action for Set Variable, &lt;SPAN style="color: #ff0000;"&gt;then if i click button for twice then the proper value is getting&lt;/SPAN&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Variable --&amp;gt; vCYMaxWeek&lt;/P&gt;&lt;P&gt;Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; =((If(IsNull(Max({$&amp;lt;Year={$(=Max(Year))}&amp;gt;} per)),Week(Now()),&lt;/P&gt;&lt;P&gt;Pick(Match(Max({$&amp;lt;Year={$(=Max(Year))}&amp;gt;}per),&lt;/P&gt;&lt;P&gt;1,2,3,4,5,6,7,8,9,10,11,12),&lt;/P&gt;&lt;P&gt;4,8,13,17,21,26,30,34,39,43,47,52&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post your experience on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 08:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855895#M300000</guid>
      <dc:creator />
      <dc:date>2015-04-30T08:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working on button action</title>
      <link>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855896#M300001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be there might be two or multiple values of the expression ?&lt;/P&gt;&lt;P&gt;Plz share a sample &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 09:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855896#M300001</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-04-30T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working on button action</title>
      <link>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855897#M300002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't quite understand: That expression looks good, but where does that variable vCYMaxWeek come into play? How should that influence the formula?&lt;/P&gt;&lt;P&gt;=&amp;gt; From the look of it, you have a field &amp;gt; per &amp;lt; that can take the values 1 through 12 or BLANK and depending on that, you generate another field. Right?&lt;/P&gt;&lt;P&gt;Please explain in a little more detail what your issue is. Crystal balls are so hard to come by these days ...&lt;/P&gt;&lt;P&gt;Also, like Albert Einstein already stated "The detailed description of a problem often leads to a solution". This was repeated by Feynman who got the Nobelprice for it, I think, and it does happen to be true ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 09:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855897#M300002</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-04-30T09:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working on button action</title>
      <link>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855898#M300003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hi please find my sample attached app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 09:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-is-not-working-on-button-action/m-p/855898#M300003</guid>
      <dc:creator />
      <dc:date>2015-04-30T09:54:04Z</dc:date>
    </item>
  </channel>
</rss>

