<?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: Set expression not working returning '0' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314591#M841922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this instead of AD_CAL_MONTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(=only(num(AD_CAL_MONTH,'#'))-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 13:33:42 GMT</pubDate>
    <dc:creator>manideep78</dc:creator>
    <dc:date>2017-04-25T13:33:42Z</dc:date>
    <item>
      <title>Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314590#M841921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to get below &lt;STRONG style="text-decoration: underline;"&gt;set expression&lt;/STRONG&gt; to work. However, I can figure out what I'm doing wrong.&lt;/P&gt;&lt;P&gt;As you can see, the first Set Expression is concerning Months, and the second is concerning Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be something with the structure of the datafield &lt;STRONG&gt;AD_CAL_MONTH&lt;/STRONG&gt;? It contains the data 01,02.....12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Udklip.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161172_Udklip.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that someone can help &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;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314590#M841921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314591#M841922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this instead of AD_CAL_MONTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(=only(num(AD_CAL_MONTH,'#'))-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314591#M841922</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2017-04-25T13:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314592#M841923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It still returns '0' &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;AD_CAL_MONTH={$(=only(num(AD_CAL_MONTH,'#'))-1)}&amp;gt;}if(CUSTOMER.CGRNO &amp;lt;&amp;gt; 'IA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'KA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'BA' ,&amp;nbsp; New_NET))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314592#M841923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314593#M841924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the expected output and can u post the sample app??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also what is the data that present in AD_CAL_YEAR field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314593#M841924</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2017-04-25T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314594#M841925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting a single &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AD_CAL_MONTH&lt;/SPAN&gt;? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;AD_CAL_MONTH = {$(=Num(Max(AD_CAL_MONTH)-1, '00'))}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CUSTOMER.CGRNO &lt;/SPAN&gt;-= {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'IA'&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'KA'&lt;/SPAN&gt;, 'BA'}&amp;gt;} New_NET)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314594#M841925</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-25T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314595#M841926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked perfectly thanks &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;And Manideep thanks for your suggestion to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314595#M841926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314596#M841927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314596#M841927</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-25T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314597#M841928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mark the correct answer and close the thread &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 14:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314597#M841928</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2017-04-25T14:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression not working returning '0'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314598#M841929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;/SPAN&gt; green star "Correct Answer" to click?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 14:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-not-working-returning-0/m-p/1314598#M841929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T14:08:30Z</dc:date>
    </item>
  </channel>
</rss>

