<?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: Filter record in a Straight Table based on a calculation Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-record-in-a-Straight-Table-based-on-a-calculation-Field/m-p/354046#M493102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how well this will play with more data but you can create a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if(Match='Match' and sum([A Amount])-sum([B Amount])=0,Dim,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(Match='No Match' and sum([A Amount])-sum([B Amount])&amp;lt;&amp;gt;0, Dim,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(isnull(Match), Dim))), Dim)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just check "Suppress if value is null" for the dimension and it should show what you expect in the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 06:26:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-15T06:26:53Z</dc:date>
    <item>
      <title>Filter record in a Straight Table based on a calculation Field</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-record-in-a-Straight-Table-based-on-a-calculation-Field/m-p/354045#M493101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a problem with filter the record out based on a calculation Field. Hope somebody can help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that contain two mesasure plus one calculation column to show the difference .&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16319" alt="2012-06-14_190014.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/16319_2012-06-14_190014.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a filter on the right for user selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user select Match , then only the difference equal to 0 will show ,&lt;/P&gt;&lt;P&gt;If the user select Not match , then only the difference equal to 0 will show ,&lt;/P&gt;&lt;P&gt;If not select , all the record show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information:&lt;/P&gt;&lt;P&gt;Because the difference column is calculate based on a aggregated level, i can't per -calculate on loading script &lt;/P&gt;&lt;P&gt;he under level data may be like &lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;CED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;CED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 04:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-record-in-a-Straight-Table-based-on-a-calculation-Field/m-p/354045#M493101</guid>
      <dc:creator />
      <dc:date>2012-06-15T04:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filter record in a Straight Table based on a calculation Field</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-record-in-a-Straight-Table-based-on-a-calculation-Field/m-p/354046#M493102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how well this will play with more data but you can create a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(if(Match='Match' and sum([A Amount])-sum([B Amount])=0,Dim,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(Match='No Match' and sum([A Amount])-sum([B Amount])&amp;lt;&amp;gt;0, Dim,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(isnull(Match), Dim))), Dim)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just check "Suppress if value is null" for the dimension and it should show what you expect in the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 06:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-record-in-a-Straight-Table-based-on-a-calculation-Field/m-p/354046#M493102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-15T06:26:53Z</dc:date>
    </item>
  </channel>
</rss>

