<?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 rows in pivot table based on expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29991#M4954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I was able to suppress the rows using the method I was trying EXCEPT I had the condition for each expression field in the wrong place. I had it in the Conditional box and I needed to have it in the Definition.&amp;nbsp; Now I have everything that has a difference of less than 5% excluded from the table.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2018 18:30:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-15T18:30:21Z</dc:date>
    <item>
      <title>Hide rows in pivot table based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29988#M4951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I know there have been several posts on this topic but while I think I'm following the approach used by others, it doesn't seem to want to work for me..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a pivot table with 5 dimensions (including one calculated dimension) and 5 expressions.&amp;nbsp; On the Presentation tab, I have Suppress Zero-Values selected. The expression fields includes QE Date, Actual Amount, Projected Amount, Difference and Difference Percentage (absolute value). The Difference Percentage contains the following definition: =(&lt;SPAN style="color: #0000ff;"&gt;fabs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AQ_Amt&lt;/SPAN&gt;-&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;)/&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;In order to hide the &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;rows with a Difference Percentage under 5%, for each of the 5 expressions, I enabled the Conditional option and put in the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;fabs&lt;/SPAN&gt;((&lt;SPAN style="color: #800000;"&gt;AQ_Amt&lt;/SPAN&gt;-&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;)/&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;) &amp;gt; .05, &amp;lt;expression definition&amp;gt; ). For example, for the Difference Percentage, I have following condition: =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;fabs&lt;/SPAN&gt;((&lt;SPAN style="color: #800000;"&gt;AQ_Amt&lt;/SPAN&gt;-&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;)/&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;) &amp;gt; .05,(&lt;SPAN style="color: #0000ff;"&gt;fabs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AQ_Amt&lt;/SPAN&gt;-&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;)/&lt;SPAN style="color: #800000;"&gt;PQ_Amt&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Any thoughts on what I may be doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Barry&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 23:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29988#M4951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-14T23:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29989#M4952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean when you say hide?&lt;/P&gt;&lt;P&gt;However... can you calculate the expression in the load script like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;fabs(AQ_Amt-PQ_Amt)/PQ_Amt as exp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id, AQ_Amt, PQ_Amt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X01, 0, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X02, 0, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X03, 0, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X04, -2, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X05, 1, -2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X06, -1, "1,1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X07, 0, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X08, 3, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X09, 1, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X10, 1, "1,1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X11, -1, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X12, -2, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X13, -1, "1,1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X14, -1, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X15, 5, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X16, 1, "1,9"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you may use set analysis:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;exp={"&amp;gt;=0,5"}&amp;gt;} fabs(AQ_Amt-PQ_Amt))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;exp={"&amp;gt;=0,5"}&amp;gt;} PQ_Amt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i have decimal separator=",")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29989#M4952</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-06-15T11:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29990#M4953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowledge, suppressing a row in pivot table happens only when all expression values are null. It doesnt suppress a row even when 'suppress zero values' is marked for one of the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use if( isnull(coulnm(n)),null(),condition) for all the non-driving expressions where column(n) is your driving expression column which determines whether a row is to be suppressed or not. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29990#M4953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-15T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29991#M4954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I was able to suppress the rows using the method I was trying EXCEPT I had the condition for each expression field in the wrong place. I had it in the Conditional box and I needed to have it in the Definition.&amp;nbsp; Now I have everything that has a difference of less than 5% excluded from the table.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 18:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table-based-on-expression/m-p/29991#M4954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-15T18:30:21Z</dc:date>
    </item>
  </channel>
</rss>

