<?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: Condition not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177048#M381945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if((Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;$(vAttriationFlagNum)"},Year={'$(=(max(Year)-1))'},&lt;/SPAN&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;Month_Num={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;=$(=max(Month_Num))&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Attrition))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 17:13:45 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-08-11T17:13:45Z</dc:date>
    <item>
      <title>Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177047#M381944</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;My condition for set analysis for previous year is not working can you please suggest on this.&lt;/P&gt;&lt;P&gt;Below is the condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"$(vAttriationFlagNum)"},Year={'$(=(max(Year)-1))'},Month_Num={'&amp;lt;=$(=max(Month_Num))'}&amp;gt;}Attrition))&lt;/P&gt;&lt;P&gt;=0,&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"$(vAttriationFlagNum)"},Year={'$(=(max(Year)-2))'},Month_Num={'&amp;lt;=$(=max(Month_Num))'}&amp;gt;}Attrition))),&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"$(vAttriationFlagNum)"},Year={'$(=(max(Year)-1))'},Month_Num={'&amp;lt;=$(=max(Month_Num))'}&amp;gt;}Attrition)))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177047#M381944</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2016-08-11T17:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177048#M381945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if((Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;$(vAttriationFlagNum)"},Year={'$(=(max(Year)-1))'},&lt;/SPAN&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;Month_Num={&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;=$(=max(Month_Num))&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Attrition))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177048#M381945</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-08-11T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177049#M381946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you can also try Year without ' quotes &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year={$(=(max(Year)-1))}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177049#M381946</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-08-11T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177050#M381947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month_num is still&amp;nbsp; not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177050#M381947</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2016-08-11T17:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177051#M381948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange, does max(Month_Num) evaluate correctly in a text box? ARE both Numeric fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try below :&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"=$(vAttriationFlagNum)"},Year={$(=(max(Year)-1))}&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Month_Num={"&amp;lt;=$(=max(Month_Num))"}&amp;gt;}Attrition)=0,&amp;nbsp; //Then&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"=$(vAttriationFlagNum)"},Year={'$(=(max(Year)-2))'}&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Month_Num={"&amp;lt;=$(=max(Month_Num))"}&amp;gt;}Attrition),&amp;nbsp;&amp;nbsp;&amp;nbsp; //Else&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Head = {'Bcone'},FlagNum = {"=$(vAttriationFlagNum)"},Year={'$(=(max(Year)-1))'},&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month_Num={"&amp;lt;=$(=max(Month_Num))"}&amp;gt;}Attrition) &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:48:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177051#M381948</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-08-11T17:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177052#M381949</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Year={'$(=(max(Year)-1))'} is not working in set analysis here&lt;/SPAN&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; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&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; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&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; background-color: #f2f2f2;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177052#M381949</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2016-08-17T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Condition not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177053#M381950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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; background-color: #f2f2f2;"&gt;Year = { $(= max(Year)-1)) }&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-not-working/m-p/1177053#M381950</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-17T15:20:11Z</dc:date>
    </item>
  </channel>
</rss>

