<?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 Hide rows in pivot table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459294#M435747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with an alternate state.The user can select 2 different periods to compare.&lt;/P&gt;&lt;P&gt;I'va also created a slider.&lt;/P&gt;&lt;P&gt;Is there a way that I can only show the rows with a percentage higher or equal to the selected % in the slider?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="compare.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189010_compare.JPG" style="height: 243px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 08:53:34 GMT</pubDate>
    <dc:creator>kris_vliegen</dc:creator>
    <dc:date>2018-01-05T08:53:34Z</dc:date>
    <item>
      <title>Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459294#M435747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with an alternate state.The user can select 2 different periods to compare.&lt;/P&gt;&lt;P&gt;I'va also created a slider.&lt;/P&gt;&lt;P&gt;Is there a way that I can only show the rows with a percentage higher or equal to the selected % in the slider?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="compare.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189010_compare.JPG" style="height: 243px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459294#M435747</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-01-05T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459295#M435748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be possible from 2 different selection with 2 different objects. Can you post example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 09:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459295#M435748</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-05T09:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459296#M435749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes by using a set expression in all the expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="189032" alt="2018-01-05 10_28_10-QlikView x64 - [Data Visualization_].png" class="jive-image image-1" src="/legacyfs/online/189032_2018-01-05 10_28_10-QlikView x64 - [Data Visualization_].png" style="height: 323px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This the set expression which is similar for all expressions could be stored in a variable too so it is simpler to maintain and use in multiple expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPctAbove = '{&amp;lt;[Sales Rep]={"=Sum(Margin)/Sum(Sales)&amp;gt;$(vPercent)/100"}&amp;gt;}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the expression for Sum(Sales) should be Sum( $(vPctAbove) Sales)&lt;/P&gt;&lt;P&gt;for Sum(Margin)/Sum(Sales) it wold be Sum( $(PctAbove) Margin) / Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hiding relies on the fact that all rows which contains zeros in all the expressions will be excluded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the test and example in the "Data Visualization" example QlikView app that comes with QlikView to illustrate and prove my point since you didn't provide any test data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 09:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459296#M435749</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-01-05T09:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459297#M435750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;&lt;P&gt;But how should I use the variable vPctAbove in my expression with the alternate state?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {State1}&amp;nbsp; Quantity)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459297#M435750</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-01-05T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459298#M435751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would have to not include the outer curly braces:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPctAbove = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;[Sales Rep]={"=Sum(Margin)/Sum(Sales)&amp;gt;$(vPercent)/100"}&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then you could do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {State1$(vPctAbove)} Quantity )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe even a more reusable way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPctAbove = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Rep]={"=Sum(Margin)/Sum(Sales)&amp;gt;$(vPercent)/100"}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum( { State1 &amp;lt;$(vPctAbove)&amp;gt; } Quantity )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459298#M435751</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-01-05T11:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hide rows in pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459299#M435752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petter!! &lt;/P&gt;&lt;P&gt;It is working fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-in-pivot-table/m-p/1459299#M435752</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2018-01-05T11:08:52Z</dc:date>
    </item>
  </channel>
</rss>

