<?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: Pivot table with input filter, if vs set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427813#M96296</link>
    <description>&lt;P&gt;Hello, try do uncheck "include null values" in "add ons" section.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151738.png" style="width: 447px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161451i3EC26E8B1F24C491/image-dimensions/447x146?v=v2" width="447" height="146" role="button" title="Capture d'écran 2024-03-06 151738.png" alt="Capture d'écran 2024-03-06 151738.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151742.png" style="width: 199px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161453iA3AD6D1121F08DC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-03-06 151742.png" alt="Capture d'écran 2024-03-06 151742.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151747.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161454i367E0BF1E91A3A30/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-03-06 151747.png" alt="Capture d'écran 2024-03-06 151747.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151750.png" style="width: 528px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161452i05098FE813145073/image-dimensions/528x116?v=v2" width="528" height="116" role="button" title="Capture d'écran 2024-03-06 151750.png" alt="Capture d'écran 2024-03-06 151750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Enjoy your Qlik.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Théo ATRAGIE.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 14:19:03 GMT</pubDate>
    <dc:creator>theoat</dc:creator>
    <dc:date>2024-03-06T14:19:03Z</dc:date>
    <item>
      <title>Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427770#M96289</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working with input filters in two reports.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first one, we have the data we want to filter in a column. The scenario here is invoices overdue, so it is a calculated number of days made in the script at load. Easy enough, we can here put it in a set analysis like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;DAYS_OVERDUE = {"&amp;gt;=$(=vDaysOverdueInputFilter)"}&amp;gt;} [OPEN_AMOUNT])&lt;/P&gt;
&lt;P&gt;The result then is that the pivot table excludes the rows that are below what is entered in the input filter - All good.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I have a second report where they again want an input filter, but this time around, it filtered on a more complex calculation. A percentage calculation derived from total revenue divided by external revenue (Ebit sort of). Since this is done on a higher level up in the pivot table, I do not think I can put this back in the script and load step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For that reason, I think I also need to do an if statement in my expression rather than using a set analysis for the input filter.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if&lt;BR /&gt;(sum(Revenue) /&amp;nbsp; sum(externalRevenue)&amp;nbsp;&amp;gt;$(vInputVariable), &lt;BR /&gt;sum(Revenue) /&amp;nbsp; sum(externalRevenue)&lt;BR /&gt;,nul())&lt;/P&gt;
&lt;P&gt;The pivot table correctly shows null where the threshold is below my filter. But it still shows the rows even if they are all nulls.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the if statement in my expression seems to be handled more front end than the set analysis?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I get my pivot table with the if statement to hide rows with all null values, just as when I am using the filter in a set analysis?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Not showing where all rows are null (set analysis):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="olac_0-1709731280570.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161439iDDEEE73FF6E6CFAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="olac_0-1709731280570.png" alt="olac_0-1709731280570.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Showing null values (if statement in the expression)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="olac_1-1709731472661.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161440iFF89AC509D84F7C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="olac_1-1709731472661.png" alt="olac_1-1709731472661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All in Qlik sense cloud&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427770#M96289</guid>
      <dc:creator>olac</dc:creator>
      <dc:date>2024-03-06T13:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427813#M96296</link>
      <description>&lt;P&gt;Hello, try do uncheck "include null values" in "add ons" section.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151738.png" style="width: 447px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161451i3EC26E8B1F24C491/image-dimensions/447x146?v=v2" width="447" height="146" role="button" title="Capture d'écran 2024-03-06 151738.png" alt="Capture d'écran 2024-03-06 151738.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151742.png" style="width: 199px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161453iA3AD6D1121F08DC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-03-06 151742.png" alt="Capture d'écran 2024-03-06 151742.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151747.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161454i367E0BF1E91A3A30/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-03-06 151747.png" alt="Capture d'écran 2024-03-06 151747.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-03-06 151750.png" style="width: 528px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161452i05098FE813145073/image-dimensions/528x116?v=v2" width="528" height="116" role="button" title="Capture d'écran 2024-03-06 151750.png" alt="Capture d'écran 2024-03-06 151750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Enjoy your Qlik.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Théo ATRAGIE.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427813#M96296</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-03-06T14:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427817#M96297</link>
      <description>&lt;P&gt;in the properties of the pivot table, go to Add-Ons-&amp;gt;Data Handling-&amp;gt; un check include zero values&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427817#M96297</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-03-06T14:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427831#M96299</link>
      <description>&lt;P&gt;Yeap thats it, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427831#M96299</guid>
      <dc:creator>olac</dc:creator>
      <dc:date>2024-03-06T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427832#M96300</link>
      <description>&lt;P&gt;Yeap thats it, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427832#M96300</guid>
      <dc:creator>olac</dc:creator>
      <dc:date>2024-03-06T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table with input filter, if vs set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427834#M96301</link>
      <description>&lt;P&gt;Have a great day.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-table-with-input-filter-if-vs-set-analysis/m-p/2427834#M96301</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-03-06T14:40:52Z</dc:date>
    </item>
  </channel>
</rss>

