<?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 column in pivot table based on calculation of the column itself in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724140#M55110</link>
    <description>&lt;P&gt;can you attached your sample qvf here?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 14:28:04 GMT</pubDate>
    <dc:creator>NitinK7</dc:creator>
    <dc:date>2020-07-01T14:28:04Z</dc:date>
    <item>
      <title>Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724095#M55104</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I built a pivot table showing yearly sales for different dimensions + objectives of sales.&lt;/P&gt;&lt;P&gt;The table in QS looks like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="table 1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36762i0D79010CFA9F630C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table 1.PNG" alt="table 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(by clicking on the + button you can drill down to the 5 other dimensions)&lt;/P&gt;&lt;P&gt;Users of my report don't want to see the objectives of sales for past years in this table (but we still need them in the report for other purposes) so I was able to hide the calculation for 2019, 2018 etc.. BUT now they ask me to remove columns "objective 1" and "objective 2" for 2019 and before - they just need these columns for the current year..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried some options in QS dealing with hiding column if and using aggregates to calculate the sum of sales over a year and pass it as a condition to show or hide the column but no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you have an idea how to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In advance thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724095#M55104</guid>
      <dc:creator>Hakim-A</dc:creator>
      <dc:date>2020-07-01T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724112#M55105</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;which condition you are trying?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724112#M55105</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2020-07-01T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724117#M55107</link>
      <description>&lt;P&gt;I put that in "Show column if"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(&lt;BR /&gt;sum(aggr(&lt;BR /&gt;if(year(max(date_sales))=year(today()),&lt;BR /&gt;Sum({&amp;lt;code_objectiv={'SIGN'},[date_sales_daf.autoCalendar.InYTD] = {'1'}&amp;gt;}sales),&lt;BR /&gt;0),&lt;BR /&gt;[date_sales_daf.autoCalendar.Year]))&lt;BR /&gt;&amp;gt;=1,1,0)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724117#M55107</guid>
      <dc:creator>Hakim-A</dc:creator>
      <dc:date>2020-07-01T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724125#M55108</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please try like&lt;/P&gt;&lt;P&gt;if(year=year(today()),1,0)&lt;/P&gt;&lt;P&gt;may be it is work&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724125#M55108</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2020-07-01T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724132#M55109</link>
      <description>&lt;P&gt;Doesn't work it is more complex than that I guess&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724132#M55109</guid>
      <dc:creator>Hakim-A</dc:creator>
      <dc:date>2020-07-01T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hide column in pivot table based on calculation of the column itself</title>
      <link>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724140#M55110</link>
      <description>&lt;P&gt;can you attached your sample qvf here?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Hide-column-in-pivot-table-based-on-calculation-of-the-column/m-p/1724140#M55110</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2020-07-01T14:28:04Z</dc:date>
    </item>
  </channel>
</rss>

