<?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 Show/Hide with If Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412980#M427128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Hope you are doing great..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;How will get symbols based on this weekly analysis when clicking on th "Rank" OR "CA" OR "TX" etc..&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;I used&amp;nbsp; 'If' condition for comparing current week and previous week but when the previous week not there its taking the value 0 then result is showing wrong symbols.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;I wrote below condition in symbols layout.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;This is for&amp;nbsp; GreenThumbsUP.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;DIV&gt;=if(vscore=0,1,0)&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000) &amp;amp; '%' &lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000) &amp;amp; '%', 1,0)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;IF analysis Constance.-&amp;gt;Yellow &lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;exclamation mark -&amp;gt;&lt;/STRONG&gt;Put the above same expression in layout and changed '=' and&amp;nbsp; If Increased -&amp;gt; RedThumbs down like below.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Please help on this expression. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Expression is not working when the previous week absence.&amp;nbsp;&amp;nbsp; Thanks in Advance.&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187181_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 16:13:06 GMT</pubDate>
    <dc:creator>rkpatelqlikview</dc:creator>
    <dc:date>2017-12-15T16:13:06Z</dc:date>
    <item>
      <title>Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412980#M427128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Hope you are doing great..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;How will get symbols based on this weekly analysis when clicking on th "Rank" OR "CA" OR "TX" etc..&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;I used&amp;nbsp; 'If' condition for comparing current week and previous week but when the previous week not there its taking the value 0 then result is showing wrong symbols.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;I wrote below condition in symbols layout.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;This is for&amp;nbsp; GreenThumbsUP.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;DIV&gt;=if(vscore=0,1,0)&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;=if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000) &amp;amp; '%' &lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000) &amp;amp; '%', 1,0)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;IF analysis Constance.-&amp;gt;Yellow &lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;exclamation mark -&amp;gt;&lt;/STRONG&gt;Put the above same expression in layout and changed '=' and&amp;nbsp; If Increased -&amp;gt; RedThumbs down like below.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Please help on this expression. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Expression is not working when the previous week absence.&amp;nbsp;&amp;nbsp; Thanks in Advance.&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187181_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412980#M427128</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-15T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412981#M427129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extract of portion of your data and attach it if it is possible. or the app &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412981#M427129</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-12-15T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412982#M427130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what do you want to happen when there is no data for the previous week? If you want all symbols to disappear, then add a preliminary check to your IF() for a zero condition, in which case your return 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, drop the &lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;amp; '%'&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;*1000&lt;/SPAN&gt; parts from the comparison expressions. Comparing 100% to 80% is the same as comparing the underlying ratios 1.0 to 0.8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412982#M427130</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-15T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412983#M427131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, this expression should work for the GreenThumbsUP symbol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'courier new', courier;"&gt;=IF (C&lt;SPAN style="color: #3d3d3d;"&gt;eil(Sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/Sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])) &amp;lt;&amp;gt; 0, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF &lt;/SPAN&gt;(Ceil(Sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/Sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;lt;&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="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/Sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])),&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="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 0),&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="font-size: 8pt; font-family: 'courier new', courier;"&gt; 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412983#M427131</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-15T16:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412984#M427132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter for your quick response. &lt;/P&gt;&lt;P&gt;for above IF condition is applicable when the last week is not equals to 0. if it's 0 it should compare with =Max(week)-2 (if this one also&amp;nbsp; &amp;lt;&amp;gt; 0) if this &lt;SPAN style="font-size: 13.3333px;"&gt;=Max(week)-2 is equals 0 then it should compare with &lt;SPAN style="font-size: 13.3333px;"&gt;=Max(week)-3 like that.HOw to write for these cases?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 03:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412984#M427132</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-16T03:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412985#M427133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I wrote this one&amp;nbsp; in object layout. Please let me know this if condition is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(vscore=0,1,0)&lt;/P&gt;&lt;P&gt;=IF(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000)&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;if(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000) &lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000), 1, &lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-1)}&amp;gt;}[Kms Travelled])*1000)=0 and &lt;/P&gt;&lt;P&gt;&amp;nbsp; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}[Kms Travelled])*1000)&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}[Kms Travelled])*1000),1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-2)}&amp;gt;}[Kms Travelled])*1000)=0 and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-3)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-3)}&amp;gt;}[Kms Travelled])*1000)&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;} $(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK))}&amp;gt;}[Kms Travelled])*1000) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt; ceil( sum({$&amp;lt;WEEK={$(=Max(WEEK)-3)}&amp;gt;}$(sumkm))/sum({$&amp;lt;WEEK={$(=Max(WEEK)-3)}&amp;gt;}[Kms Travelled])*1000),1,0))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this expression correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 02:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412985#M427133</guid>
      <dc:creator>rkpatelqlikview</dc:creator>
      <dc:date>2017-12-19T02:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide with If Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412986#M427134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may work, and the easiest way to test it would be to display the week data in numerical format, select different Week Numbers and see what happens with the symbol that carries this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may also be an easier method (using the Above() function) but in order to create an expression like that, it would be nice if you could upload an example document with some test data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 08:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-with-If-Condition/m-p/1412986#M427134</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-19T08:34:56Z</dc:date>
    </item>
  </channel>
</rss>

