<?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 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541709#M745478</link>
    <description>&lt;P&gt;Can you please add a sample where we have 2 years like the above mentioned. I will have to test it out before I gave an expression which will work for you.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 16:21:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-02-08T16:21:30Z</dc:date>
    <item>
      <title>Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541621#M745469</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table as shown below&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 466px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5542iBF046C36AE43FA27/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calculating &lt;STRONG&gt;Current - Dec = (Current Month POC - Last Year December month POC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Eg: for January-2018, 28.30-19.90 = 8.4, for February-2018, 39.40-19.90 = 19.5.&lt;/P&gt;&lt;P&gt;But My Values are wrong as highlighted in the above image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong with my expression here?&amp;nbsp;Attached is the file for reference&lt;/P&gt;&lt;PRE&gt;Sum(POC)
-
Sum({&amp;lt;Num_Month = {'$(vPreYearLastMonth)'},Year = {'$(vPreYear)'}&amp;gt;}POC)&lt;/PRE&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541621#M745469</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2024-11-16T04:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541625#M745470</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum(POC)
-
Above(TOTAL Sum(POC))&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Feb 2019 15:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541625#M745470</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-08T15:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541626#M745471</link>
      <description>I think below will do&lt;BR /&gt;&lt;BR /&gt;Column(1)-above(column(1))</description>
      <pubDate>Fri, 08 Feb 2019 15:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541626#M745471</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-08T15:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541640#M745472</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;the expression is working now, but I want Last year December POC as base value, and calculating current month POC - December month POC&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 588px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5546i6E783A67DB772B9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 15:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541640#M745472</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T15:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541650#M745473</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum(POC)
-
Sum(TOTAL {&amp;lt;Num_Month, Year, MonthYear = {"$(=MinString(MonthYear))"}&amp;gt;}POC)&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Feb 2019 15:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541650#M745473</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-08T15:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541674#M745474</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ask, if instead of using set analysis, you have it precalculated at that value? you could use the sentence "Previous" to obtain the value of the previous record, also adding an if you want to make sure that it is Project_Number indicated, you should also order it in a desc way. Regards!!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 15:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541674#M745474</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-02-08T15:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541684#M745475</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;it is working fine, but when we include November-2017, or October-2017 the base value changed to&amp;nbsp;November-2017, October-2017. I tried to include these variables in the set analysis which is giving me an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vPreYear = Year(AddYears(Today(),-2));&lt;BR /&gt;Let vPreYearLastMonth = '12';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 482px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5566i46310291588842E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541684#M745475</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541699#M745476</link>
      <description>&lt;P&gt;So, what would you expect to see when you select Dec 2016 to Dec 2018 (2 years)&lt;/P&gt;&lt;P&gt;Jan 2017 - Dec 2016&lt;BR /&gt;Feb 2017 - Dec 2016&lt;BR /&gt;...&lt;BR /&gt;Dec 2017 - Dec 2016&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jan 2018 - Dec 2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feb 2018 - Dec 2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dec 2018 - Dec 2017&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541699#M745476</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-08T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541705#M745477</link>
      <description>&lt;P&gt;Yes, what you've written is correct.&lt;/P&gt;&lt;P&gt;Dec 2016 should be base value for all months from Jan-2017......Dec-2017&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dec 2017 should be base value for all months from Jan-2018......Dec-2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541705#M745477</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541709#M745478</link>
      <description>&lt;P&gt;Can you please add a sample where we have 2 years like the above mentioned. I will have to test it out before I gave an expression which will work for you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541709#M745478</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-08T16:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541715#M745479</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;, please look into the attached file;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 609px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5574i0FB3F97EEED772DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541715#M745479</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T16:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541719#M745480</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Sum(POC) - Above(TOTAL Sum(POC), Num(Month))&lt;/PRE&gt;&lt;P&gt;I think your values for Jan, Feb, Mar are not right.... they should be 0, 0, and 0, right because you have 100-100 for all three months of 2018&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541719#M745480</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-08T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541725#M745481</link>
      <description>&lt;P&gt;Awesome&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;, thank you&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://community.qlik.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;-you are right, it was a typo error&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541725#M745481</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541782#M745482</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;the expression is null when selecting Month field, it is showing correct&amp;nbsp;values when no month is selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since, this post is closed Please look into the link below, thanks&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Expression-is-showing-null-when-selecting-the-Month-field/td-p/1541781" target="_self"&gt;https://community.qlik.com/t5/New-to-QlikView/Expression-is-showing-null-when-selecting-the-Month-field/td-p/1541781&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 19:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working/m-p/1541782#M745482</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-02-08T19:28:44Z</dc:date>
    </item>
  </channel>
</rss>

