<?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: Question about set analysis current selection identifier in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040622#M350252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 19:44:49 GMT</pubDate>
    <dc:creator>israelcsouza</dc:creator>
    <dc:date>2016-01-20T19:44:49Z</dc:date>
    <item>
      <title>Question about set analysis current selection identifier</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040620#M350250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column of data which contains multiple order numbers. I am using set analysis to count the total number of orders based on their status, either open or closed. Here is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(Distinct{$&amp;lt;[PO Status2]={"O"}&amp;gt;} po_NUMBER_ITEM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where [PO Status2] is the order status and po_NUMBER_ITEM is the order number. I have the same expression for [PO Status2]="C" to count the closed orders. Both expressions calculate the totals correctly and are used in a gauge chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box where I can select either the open or closed orders. I would like for the total in my gauge chart to change based on the order status selected. For example, if I select "O" I would expect the total number of closed orders to show 0 and if I select "C" I want the total number of open orders to show 0. As it is right now however, the total does not changed based on the status selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought using the $ identifier would allow the expression to change based on the values selected but it looks like that is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample qvw file is attached. Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040620#M350250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T19:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question about set analysis current selection identifier</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040621#M350251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open: &lt;STRONG&gt;Count(Distinct{$&amp;lt;[PO Status2] -={"C"}&amp;gt;} po_NUMBER_ITEM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Closed: &lt;STRONG&gt;Count(Distinct{$&amp;lt;[PO Status2]-={"O"}&amp;gt;} po_NUMBER_ITEM)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040621#M350251</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-20T19:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question about set analysis current selection identifier</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040622#M350252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040622#M350252</guid>
      <dc:creator>israelcsouza</dc:creator>
      <dc:date>2016-01-20T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question about set analysis current selection identifier</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040623#M350253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because your field modifier is using a constant value, overriding user selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a general rule, if you want to consider user selections, use the intersection operator *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open:&lt;/P&gt;&lt;P&gt;count(Distinct{$&amp;lt;[PO Status2] &lt;STRONG&gt;*=&lt;/STRONG&gt; {'O'}&amp;gt;} po_NUMBER_ITEM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close:&lt;/P&gt;&lt;P&gt;count(Distinct{$&amp;lt;[PO Status2] &lt;STRONG&gt;*=&lt;/STRONG&gt; {'C'}&amp;gt;} po_NUMBER_ITEM)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-set-analysis-current-selection-identifier/m-p/1040623#M350253</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-20T19:55:01Z</dc:date>
    </item>
  </channel>
</rss>

