<?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: If Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386363#M422105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Anil. &lt;/P&gt;&lt;P&gt;My expression for this wrote in text object layout &lt;/P&gt;&lt;P&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales)..&amp;nbsp;&amp;nbsp; When i wrote this exprssion its comparing with last week. Here the last week is 0. its showing wrong symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture22323.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186545_Capture22323.PNG" style="height: auto;" /&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;Correct one is below. How will get this with if condition. i thought that there is a nested If need to use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1233.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/186546_Capture1233.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 06:36:15 GMT</pubDate>
    <dc:creator>rkpatelqlikview</dc:creator>
    <dc:date>2017-12-12T06:36:15Z</dc:date>
    <item>
      <title>If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386355#M422097</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;Am showing the trend analysis weekly wise with symbols.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =if( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales) &amp;lt; &lt;SPAN style="font-size: 10pt;"&gt; sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales) , 0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When am using this expression its comparing last week sales even the last week is not in present that week is treated as '0'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Week&amp;nbsp; Sales&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;33&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;37&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When am using that expression its taking 36th week as '0'. but i need to compare with last week if its '0' and compare with last of last week even if its '0' it should compare with another previous week. How to write the condition? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386355#M422097</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386356#M422098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;condition seems okay, Perhaps anyone of these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(sum({$&amp;lt;WEEK={'$(=Max(WEEK))'}&amp;gt;}Sales) &amp;lt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt; sum({$&amp;lt;WEEK={'$(=Max(WEEK-1))'}&amp;gt;}Sales) , 0,1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;If(Sum(Sales) &amp;lt; Above(Sum(Sales)), 0,1) --&lt;/STRONG&gt; And sorting order should be Ascending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you are using more than QV12, You can try this too&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 10pt;"&gt;Aggr(If(Sum(Sales) &amp;lt; Above(Sum(Sales)), 0,1),&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt; (WEEK, (NUMERIC, ASCENDING)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386356#M422098</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T05:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386357#M422099</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;Is this what you're after? I'm confused about the 36th week...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186529_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386357#M422099</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T06:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386358#M422100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Anil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=if(sum({$&amp;lt;WEEK={'$(=Max(WEEK))'}&amp;gt;}Sales) &amp;lt; &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum({$&amp;lt;WEEK={'$(=Max(WEEK-1))'}&amp;gt;}Sales) , 0,1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Its comparing with the last week.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P&gt;=If(vovsdhide= 0,1,0)&lt;/P&gt;&lt;P&gt;=(if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}) Sales)*1000)&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales)*1000),1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Saels)*1000)=0, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales)*1000)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}Sales)*1000),1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386358#M422100</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T06:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386359#M422101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Madriz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no sales on 36th ans 35 th week.&lt;/P&gt;&lt;P&gt;This condition i should write in Textobject layout for show and hide purpose.&lt;/P&gt;&lt;P&gt;But little bit of confusing to write&amp;nbsp; Nested IF condition when previous week are no sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386359#M422101</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T06:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386360#M422102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you get output, Off course, You can use it!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386360#M422102</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386361#M422103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386361#M422103</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T06:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386362#M422104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create a MasterWeek table from Min(Week) to Max(Week) in the Load script and then have somehting like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186548_Untitled.png" style="height: 240px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would that help you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386362#M422104</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T06:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386363#M422105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Anil. &lt;/P&gt;&lt;P&gt;My expression for this wrote in text object layout &lt;/P&gt;&lt;P&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales)..&amp;nbsp;&amp;nbsp; When i wrote this exprssion its comparing with last week. Here the last week is 0. its showing wrong symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture22323.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186545_Capture22323.PNG" style="height: auto;" /&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;Correct one is below. How will get this with if condition. i thought that there is a nested If need to use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1233.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/186546_Capture1233.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386363#M422105</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T06:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386364#M422106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means, When you pick 53 there is no 52nd week. And it consider as Null. That means Null / 0 &amp;lt; Value - condition is wrong it should show fails only.. Does this not returned to you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 07:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386364#M422106</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386365#M422107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Anil. There is no 44th Week data/ Transaction. When&amp;nbsp; writing below expression its taking the 44th week is '0'&amp;nbsp; value and calculating its giving the wrong symbol.&lt;/P&gt;&lt;P&gt;This wrote in layout of that symbol text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Instead&amp;nbsp; of this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;can we go for directly transaction week and compare with that value?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 08:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386365#M422107</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T08:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386366#M422108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=if((ceil(sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales) &lt;SPAN style="color: #ff0000;"&gt;or Not IsNull(ceil(sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales) or Len(Trim(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;ceil(sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;STRONG&gt;ceil(sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 08:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386366#M422108</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386367#M422109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will Check it Anil Thanks for you quick response &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386367#M422109</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T10:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386368#M422110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Anil. Its not working. &lt;/P&gt;&lt;P&gt;I need some help &lt;/P&gt;&lt;P&gt;The Below is the expression am using in my image text object layout&lt;/P&gt;&lt;P&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;[Safety Voilance]&lt;/SPAN&gt;)/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Safety Voilance])/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000) 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp; its comparing with last week but i need if there is no week it should&amp;nbsp; skipped that week and compare with the week which is in the x axis.&lt;/P&gt;&lt;P&gt;Weeks are 42 , 43,44,45.&lt;/P&gt;&lt;P&gt;In this current week is 45&lt;/P&gt;&lt;P&gt;so there is no 43 and 44 weeks in my trend then it should compare with 42.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 12:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386368#M422110</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T12:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386369#M422111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will you able to provide sample? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 12:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386369#M422111</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T12:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386370#M422112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sure. I will do it now &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 12:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386370#M422112</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386371#M422113</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;There are 4 analysis scr, hr, AR, MR. When you are clicking on anyone it should be show that analysis along with respective symbols. and same for all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((The trend will show the last 12 weeks of data , the score will be calculated as total number of violations in week / total km driven * 1000 , the score will show green , yellow , red according to the scr value (&amp;lt;20 green , Yellow (20 - 50) , &amp;gt; 50 will show RED)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture54.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186650_Capture54.PNG" style="height: auto;" /&gt;&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>Tue, 12 Dec 2017 13:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386371#M422113</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-12T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386372#M422114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's lot make sense. But, Difficult to answer without having something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Measure &amp;lt; 20, Image1, If(Measure &amp;gt;20 and Measure &amp;lt;50, Image2, Image3))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 15:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386372#M422114</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T15:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386373#M422115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Anil. I will provide in details.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;KUMAR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A class="jive-link-email-small" href="mailto:kumardeveloper19@gmail.com"&gt;kumardeveloper19@gmail.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 04:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386373#M422115</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-13T04:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386374#M422116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question answered.. So, No need to reply here. Create one more thread with excellent inputs..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Condition/m-p/1386374#M422116</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-13T05:10:12Z</dc:date>
    </item>
  </channel>
</rss>

