<?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: Set analysis query in a textbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677700#M1079988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Dick Zeeman is correct. He's done a good job.&lt;/P&gt;&lt;P&gt;bcoz e()&amp;nbsp; excluded the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 14:19:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-15T14:19:18Z</dc:date>
    <item>
      <title>Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677697#M1079985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box which displays the departments without employees for two cities LN &amp;amp; NY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Department=e({&amp;lt;Employee={*}&amp;gt;},City={'NY','LN'}&amp;gt;}Department)&amp;gt;}Department)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am expecting this set analysis query to return values based on filter City = NY &amp;amp; LN.&lt;/P&gt;&lt;P&gt;However, i can see that if I select other cities, the set analysis is throwing other values. How can I modify the expression to&amp;nbsp; prevent that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What ever selection I make, I want to make sure I get&amp;nbsp; values only for cities NY &amp;amp; LN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me on this?&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, 15 Jul 2014 13:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677697#M1079985</guid>
      <dc:creator />
      <dc:date>2014-07-15T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677698#M1079986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try without the E() function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({&amp;lt;Department={&amp;lt;Employee={*}&amp;gt;},City={'NY','LN'}&amp;gt;}Department&amp;gt;}Department)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The element function E( ) you are using returns the list of excluded Departmens; those that are excluded by the selection ‘NY’,'LN' in the field City. SO you are telling qlikview to count everything in the current selection that does not have a department in NY or LN&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677698#M1079986</guid>
      <dc:creator />
      <dc:date>2014-07-15T14:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677699#M1079987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;Employee=,City={'NY','LN'}&amp;gt;} Department)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677699#M1079987</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-15T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677700#M1079988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Dick Zeeman is correct. He's done a good job.&lt;/P&gt;&lt;P&gt;bcoz e()&amp;nbsp; excluded the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677700#M1079988</guid>
      <dc:creator />
      <dc:date>2014-07-15T14:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677701#M1079989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;plz share some qvw.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my mail is &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:gkoti98@gmail.com"&gt;gkoti98@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677701#M1079989</guid>
      <dc:creator />
      <dc:date>2014-07-15T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677702#M1079990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;As Dick posted, but with modified syntax for the following reasons:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1. Removal of superfluous syntax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2. Best practice to put a set identifier in you set statements - using $ which is current selections&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;3. requirements is to show departments with no employee so lets reflect that in the Employee modifier&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({$&amp;lt;Employee=IsNull(Employee),City={'NY','LN'}&amp;gt;}Department)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677702#M1079990</guid>
      <dc:creator>lvf</dc:creator>
      <dc:date>2014-07-15T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677703#M1079991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sindhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Department=e({&amp;lt;City={'NY','LN'}&amp;gt;} Employee)&amp;gt;} Department)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677703#M1079991</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-16T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677704#M1079992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all the above examples above. However, I am getting syntax error: Error in set modifier ad hoc element list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 07:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677704#M1079992</guid>
      <dc:creator />
      <dc:date>2014-07-16T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677705#M1079993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried without e as well as with $.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 07:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677705#M1079993</guid>
      <dc:creator />
      <dc:date>2014-07-16T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis query in a textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677706#M1079994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check spelling of the field names (case sensitive)..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 08:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-query-in-a-textbox/m-p/677706#M1079994</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-16T08:04:40Z</dc:date>
    </item>
  </channel>
</rss>

