<?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 data with List Box when the expressions use Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617896#M734580</link>
    <description>&lt;P&gt;Why not have customer as a dimension?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2019 19:40:01 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-08-28T19:40:01Z</dc:date>
    <item>
      <title>Filter data with List Box when the expressions use Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617887#M734579</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a line chart where the dimension is the month, and the chart has three expressions:&lt;/P&gt;&lt;P&gt;Expression 1&amp;nbsp;&amp;nbsp; =Avg({$&amp;lt;Customer={'CUSTOMER NAME 1'}&amp;gt;} On_Time_Pct)&lt;/P&gt;&lt;P&gt;Expression 2 &amp;nbsp; =Avg({$&amp;lt;Customer={'CUSTOMER NAME 2'}&amp;gt;} On_Time_Pct)&lt;/P&gt;&lt;P&gt;Expression 3 &amp;nbsp; =Avg({$&amp;lt;Customer={'CUSTOMER NAME 3'}&amp;gt;} On_Time_Pct)&lt;/P&gt;&lt;P&gt;As you can see, each expression is selecting data for a specific customer. The chart works fine but now I want to add a List Box filter with the customer name.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image001.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/18030i06E6F20B604B4B4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image001.png" alt="image001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field&amp;nbsp; in the "Customer" List Box is the same field used in the expressions.&lt;/P&gt;&lt;P&gt;When I select a customer in the List Box, nothing happens in the chart. I expected the chart to show the data of the selected customer only.&lt;/P&gt;&lt;P&gt;So how can I filter by customer in this chart?&lt;/P&gt;&lt;P&gt;Thanks for any insight!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617887#M734579</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data with List Box when the expressions use Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617896#M734580</link>
      <description>&lt;P&gt;Why not have customer as a dimension?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 19:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617896#M734580</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-28T19:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data with List Box when the expressions use Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617902#M734581</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412"&gt;@dplr-rn&lt;/a&gt;&amp;nbsp;, but if for unspecified reason you have to use your current approach, then change your expressions to this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Expression 1   =Avg({$&amp;lt;Customer *= {'CUSTOMER NAME 1'}&amp;gt;} On_Time_Pct)
Expression 2   =Avg({$&amp;lt;Customer *= {'CUSTOMER NAME 2'}&amp;gt;} On_Time_Pct)
Expression 3   =Avg({$&amp;lt;Customer *= {'CUSTOMER NAME 3'}&amp;gt;} On_Time_Pct)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Aug 2019 19:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617902#M734581</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-28T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data with List Box when the expressions use Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617920#M734582</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Worked like a charm! Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 20:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617920#M734582</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2019-08-28T20:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data with List Box when the expressions use Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617932#M734583</link>
      <description>&lt;P&gt;This approach also work wonders. For other new users like me:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add the Customer as a Dimension&lt;/LI&gt;&lt;LI&gt;Leave one Expression only&lt;/LI&gt;&lt;LI&gt;Remove the Set Analysis query from the expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Great answer, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 20:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-data-with-List-Box-when-the-expressions-use-Set-Analysis/m-p/1617932#M734583</guid>
      <dc:creator>eadbhard</dc:creator>
      <dc:date>2019-08-28T20:54:36Z</dc:date>
    </item>
  </channel>
</rss>

