<?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 for a dynamic field in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1724021#M451942</link>
    <description>&lt;P&gt;I think to do this, you will need a field which is a combination of Baseline # and Supplier created in the script. This field can be as simple as this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[Baseline #]&amp;amp;'|'&amp;amp;Supplier as [Baseline Supplier Key]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 12:51:37 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-07-01T12:51:37Z</dc:date>
    <item>
      <title>Filter for a dynamic field in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1708256#M451588</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I have a table titled Outlier Analysis as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snap1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34952iF8188D8A6C730029/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snap1.jpg" alt="Snap1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this table, I'm doing a simple Outlier Analysis for each of the lines. The logic to decide if a Quote price from one supplier is Outlier/OK is: if([Quote Price]&amp;gt;=(1+v_Outlier)*Avg_Quote,'Outlier',&lt;/P&gt;&lt;P&gt;if([Quote Price]&amp;lt;=(1-v_Outlier)*Avg_Quote,'Outlier','OK'))&lt;/P&gt;&lt;P&gt;where [Quote Price] is the price for that line from the supplier and Avg_Quote is the Avg of all the suppliers' Quote Prices, calculated from the script and v_Outlier is a variable which is a user input and can be changed from the slider on the left(after Quotes Scale text box).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what I want to have here is a filter or a button that should Exclude all the line items which are Outliers and show only the items which show up as 'OK' in the table. I have tried using the same logic in a List box expression but sadly it doesn't work. This has been made complex by the fact that the Outliers are dynamic and change according to the user input on the slider as I can't create a field to use as a filter in the script.&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Attaching the app for your reference.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1708256#M451588</guid>
      <dc:creator>mrthomasshelby</dc:creator>
      <dc:date>2024-11-16T18:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for a dynamic field in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1723984#M451940</link>
      <description>&lt;P&gt;I would point you to the following Design Blog posts which should put you on the right track:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hopefully those help you move things along.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 11:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1723984#M451940</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-07-01T11:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for a dynamic field in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1724021#M451942</link>
      <description>&lt;P&gt;I think to do this, you will need a field which is a combination of Baseline # and Supplier created in the script. This field can be as simple as this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[Baseline #]&amp;amp;'|'&amp;amp;Supplier as [Baseline Supplier Key]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 12:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-for-a-dynamic-field-in-a-pivot-table/m-p/1724021#M451942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-01T12:51:37Z</dc:date>
    </item>
  </channel>
</rss>

