<?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: Hide lines based on formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829829#M469634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try in all expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Produced)&amp;lt;&amp;gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(Delivered),.......required expression, null()).... PFA&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 10:06:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-26T10:06:37Z</dc:date>
    <item>
      <title>Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829826#M469631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight tabe with some dimensions like order number, customer name etc. and some formulas that calculate the produced quantity, the delivered quantity and the ready for dispatch quantity. The dispatch quantity is simply "produced minus delivered". This results in a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90953_Table1.PNG" style="height: 265px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I want to get rid of all lines in this table where the "Ready for dispatch" column has a "0" value:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90954_Table2.PNG" style="height: 222px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Is there a nice way to do this in the properties somewhere? I tried my luck with the surpress zero values, but this did not work out the way I wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Günter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829826#M469631</guid>
      <dc:creator />
      <dc:date>2015-06-26T09:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829827#M469632</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;if([Ready for dispatch(kg)]&amp;gt;0,put_here_your_expressions_for_each_column).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have 3 expressions:&lt;/P&gt;&lt;P&gt;sum(sales),&lt;/P&gt;&lt;P&gt;count(id),&lt;/P&gt;&lt;P&gt;max(days)&amp;nbsp;&amp;nbsp; &amp;lt;--- this I want to use for check zero&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;max(days)&amp;gt;0,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(sales))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;max(days)&amp;gt;0,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;count(id))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;max(days) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829827#M469632</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-06-26T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829828#M469633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please send us the expression you use&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 09:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829828#M469633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-26T09:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829829#M469634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try in all expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Produced)&amp;lt;&amp;gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(Delivered),.......required expression, null()).... PFA&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829829#M469634</guid>
      <dc:creator />
      <dc:date>2015-06-26T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829830#M469635</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;U can write like this (if u r trying to show them in straight table in qlik)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(([produced(kg)]-[delivered])&amp;gt;0,([produced(kg)]-[delivered]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont put anything in else part ...and give ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure that u shd have write these two exp (produced,delivered) before this exp..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829830#M469635</guid>
      <dc:creator />
      <dc:date>2015-06-26T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829831#M469636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gunter ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Second your expected table in Dispatch qty column's expression you should write below code-&lt;/P&gt;&lt;P&gt;if(sum(ProducedQty) &amp;lt;&amp;gt; sum(DeliveredQty) ,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(Produced)-sum(Delivered) ).&lt;/SPAN&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;&lt;/P&gt;&lt;P&gt;Hope this would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829831#M469636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-26T10:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829832#M469637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sergey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this seems to be the right approach. I have my formulas based on your proposal which brings me to the correct table, but the totals are wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is again an Excel screenshot to show the difference. The first line shows the totals calculated by Excel (which are correct for the values shown) and the last line the total that comes from QlikView. Obviously the totals are not effected by the formula. How can this be changed?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90955_Table3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Günter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829832#M469637</guid>
      <dc:creator />
      <dc:date>2015-06-26T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hide lines based on formula</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829833#M469638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that this solved the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table4.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90959_Table4.PNG" style="height: 244px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed in the formula page the total value from "all values" to "sum" - everything works now perfectly fine. Thank you for all your contributions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-lines-based-on-formula/m-p/829833#M469638</guid>
      <dc:creator />
      <dc:date>2015-06-26T10:17:18Z</dc:date>
    </item>
  </channel>
</rss>

