<?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: How do I maintain records with a threshold in Pivot Tables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350374#M129835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a &lt;STRONG&gt;&lt;EM&gt;calculated dimension&lt;/EM&gt;&lt;/STRONG&gt; like mentioned above, not an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if( sum($(AMount)*(CLAIm) ) &amp;gt; Threshold ,A),A)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check the 'suppress when Value is NULL' option in dimension tab.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 15:53:29 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-03-13T15:53:29Z</dc:date>
    <item>
      <title>How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350371#M129832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully somebody out there can me.&lt;/P&gt;&lt;P&gt;I'll try to explain my problem as carefully as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with 2 Dimensions (A and B) and an expression.(C)&lt;/P&gt;&lt;P&gt;I want to use a threshold for the expression based on column A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If column A satisfys the threshold then I want ALL the items in B to be shown so that the totals agree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the following which may explain my dilema better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV image.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/12105_QV+image.bmp" /&gt;&lt;/P&gt;&lt;P&gt;Unless The total for Column A is under the threshold, I want all of column B to be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350371#M129832</guid>
      <dc:creator />
      <dc:date>2012-03-13T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350372#M129833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Diag B image is not showing your expected result, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if sum(C) for dimension A is above threshold, you want to show all dimension B values, but what if the threshold is not reached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you remove this Dimension A value completely, I think you can do it with a calculated dimension instead of A like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if( sum(Value) &amp;gt; 1000 ,A),A)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where sum(Value) is to be replaced by your Expression C. Replace 1000 with your threshold, e.g. a variable $(vThreshold) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to show all dimension values for A, but you want to hide the details for B if the threshold is not reached, you can use a calculated dimension instead of B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if(sum(total&amp;lt;A&amp;gt; Value) &amp;gt; 1000, B,'Total'),A,B)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where sum(total&amp;lt;A&amp;gt; Value) needs to be replaced by your Expression C, using an additional total qualifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350372#M129833</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-13T15:18:02Z</dc:date>
    </item>
    <item>
      <title>How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350373#M129834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Stefan but unfortunately I don't think I explained myself well enough.&lt;/P&gt;&lt;P&gt;B is a sub set of A.&lt;/P&gt;&lt;P&gt;The threshold is entered by the user to decide what A's they want to look at. They also want to see ALL of the B's that make up the A.&lt;/P&gt;&lt;P&gt;I have tried an "IF" statement but this works as Diag B above and takes out amounts I want to keep. ie it works on the B column and not the A column.&lt;/P&gt;&lt;P&gt;I then tried an aggregated statement&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt;if(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FABS(aggr(Sum(&lt;STRONG&gt;&lt;EM&gt;$(Amount)&lt;/EM&gt;&lt;/STRONG&gt;*(CLAIM)),A)) &amp;gt; &lt;STRONG&gt;&lt;EM&gt;Threshold&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;STRONG&gt;&lt;EM&gt;$(Amount)&lt;/EM&gt;&lt;/STRONG&gt;*(CLAIM))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt;But this resulted in the total for A being shown correctly but zeros in the individual fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 9pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350373#M129834</guid>
      <dc:creator />
      <dc:date>2012-03-13T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350374#M129835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a &lt;STRONG&gt;&lt;EM&gt;calculated dimension&lt;/EM&gt;&lt;/STRONG&gt; like mentioned above, not an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if( sum($(AMount)*(CLAIm) ) &amp;gt; Threshold ,A),A)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check the 'suppress when Value is NULL' option in dimension tab.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350374#M129835</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-13T15:53:29Z</dc:date>
    </item>
    <item>
      <title>How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350375#M129836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'll come back to you on that,although the Pivot table is very much more complicated than the simple example I showed above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 16:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350375#M129836</guid>
      <dc:creator />
      <dc:date>2012-03-13T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350376#M129837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Stephen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought you might be interested tro know that I solved the problem using "Total"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(FABS(sum(total &amp;lt;A&amp;gt; $(Amount)*(Claim))) &amp;gt; Threshold&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum($(Amount)*(Claim))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 11:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350376#M129837</guid>
      <dc:creator />
      <dc:date>2012-03-14T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I maintain records with a threshold in Pivot Tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350377#M129838</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 we want to also show negative amount like &amp;gt; and &amp;lt; how can we apply this here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-maintain-records-with-a-threshold-in-Pivot-Tables/m-p/350377#M129838</guid>
      <dc:creator>amita1621</dc:creator>
      <dc:date>2018-08-01T13:25:10Z</dc:date>
    </item>
  </channel>
</rss>

