<?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 and using and/or in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556174#M207628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tested this but I would try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( { $ &amp;lt; id = { " [Field 1] = 'Inventory' OR [Field 2]='Inventory' " } &amp;gt; } id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 14:29:53 GMT</pubDate>
    <dc:creator>Carlos_Reyes</dc:creator>
    <dc:date>2013-09-23T14:29:53Z</dc:date>
    <item>
      <title>set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556171#M207625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;field 1 like 'Inventory'&lt;/P&gt;&lt;P&gt;or field 2 = 'Inventory'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this in a chart expression.&amp;nbsp; I know that I can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 1 = {*Inventory*},&lt;/P&gt;&lt;P&gt;field 2 = {'Inventory')}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;likewise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 1 = {*Inventory*},&lt;/P&gt;&lt;P&gt;field 2 +={'Inventory') or -= or /=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make sure that I count field one is inventory or&amp;nbsp; where filed 2 is inventory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite new to QlikView and any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 13:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556171#M207625</guid>
      <dc:creator />
      <dc:date>2013-09-23T13:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556172#M207626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Field1={*Inventory*}&amp;gt; + &amp;lt;Field2={'Inventory'}&amp;gt;} FieldName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556172#M207626</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-23T14:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556173#M207627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I understood your question properly but try this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Field1 = {'Inventory'}&amp;gt;} ID) + Count({&amp;lt;Field2 = {'Inventory'}&amp;gt;} ID) - Count({&amp;lt;Field1 = {'Inventory'}, Field2 = {'Inventory'}&amp;gt;} ID) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression gives you the count of ID, where only one of Filed1 and Field2 is equal to&amp;nbsp; "Inventory"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556173#M207627</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2013-09-23T14:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556174#M207628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tested this but I would try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( { $ &amp;lt; id = { " [Field 1] = 'Inventory' OR [Field 2]='Inventory' " } &amp;gt; } id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556174#M207628</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-09-23T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556175#M207629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Minor correction the above expression is a definition of (A union B) = either A or B or (A &amp;amp; B).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for only (A or B), use the modified expression:&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;Field1 = {'Inventory'}&amp;gt;} ID) + Count({&amp;lt;Field2 = {'Inventory'}&amp;gt;} ID) - 2*Count({&amp;lt;Field1 = {'Inventory'}, Field2 = {'Inventory'}&amp;gt;} ID)&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>Mon, 23 Sep 2013 14:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556175#M207629</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2013-09-23T14:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556176#M207630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Count({&amp;lt;Field1={'*Inventory*'}&amp;gt; + &amp;lt;Field2={'Inventory'}&amp;gt;} FieldName)&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;Regards,&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556176#M207630</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-23T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556177#M207631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks promising.&amp;nbsp; However, it gives me a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'*Inventory*'}&amp;gt; + &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Inventory'} &amp;gt;} Work_Request_ID)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Count({&amp;lt;Field1={*Inventory*}&amp;gt; + &amp;lt;Field2={'Inventory'}&amp;gt;} FieldName)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;I maybe missing something in my syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 14:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556177#M207631</guid>
      <dc:creator />
      <dc:date>2013-09-23T14:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556178#M207632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No syntax error.&amp;nbsp; However, not giving me the field 1 or field 2.&amp;nbsp;&amp;nbsp; I am getting 0 when I should have at least 68&amp;nbsp; where the field 1 like *Inventory*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556178#M207632</guid>
      <dc:creator />
      <dc:date>2013-09-23T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556179#M207633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking counts where have A or B.&amp;nbsp; I will test this to see the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556179#M207633</guid>
      <dc:creator />
      <dc:date>2013-09-23T15:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556180#M207634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have missed on angular bracket before &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'*Inventory*'}&amp;gt; + &lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Inventory'} &amp;gt;} Work_Request_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556180#M207634</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-23T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556181#M207635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {'*Inventory*'}&amp;gt; + &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {'Inventory'} &amp;gt;} Work_Request_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556181#M207635</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-09-23T15:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556182#M207636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #0000ff;"&gt;=Sum(Aggr( If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt; Like '*Inventory*' or&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt; ={'Inventory', 1, 0), Work_Request_ID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556182#M207636</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-23T15:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556183#M207637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working.&amp;nbsp; It is giving me short descriptions for inventory&amp;nbsp; and say order as well as the ones for work request type as inventory.&amp;nbsp; Interesting that field one union field 2 and then exclude? minus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What remains is to have this inside an ordinary set analysis.&amp;nbsp; Say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;field 3 = {'Status','Create'} to further restrict the data in the expression.&amp;nbsp; That is to say,&amp;nbsp; where field 3 in status,create.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Syntax is killing me in the set analysis.&amp;nbsp; I have read qlikview 11 for developers.&amp;nbsp; It is the complex sets that are driving me mad.&amp;nbsp; I have worked in Tableau, Cognos, MicroStratedgy, and SSRS.&amp;nbsp; I know that it will just take some time and experience.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks to all for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556183#M207637</guid>
      <dc:creator />
      <dc:date>2013-09-23T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556184#M207638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you missed '&amp;lt;'. try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {'*Inventory*'}&amp;gt; + &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;wr.Work_Request_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {'Inventory'} &amp;gt;} Work_Request_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556184#M207638</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-23T15:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556185#M207639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably the final answer to my discussion.&amp;nbsp; I will mark &lt;A href="https://community.qlik.com/qlik-users/84900"&gt;srchilukoori&lt;/A&gt; as the correct answer.&amp;nbsp; Here is my final expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wr.Short_Description&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'*Update Inventory*'},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wrTracking.affectedField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Status','Create'},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;wrTracking.Char_Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {'Pending Close','Closed'}&lt;BR /&gt;&amp;gt;}&amp;nbsp; Work_Request_ID) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;+ &lt;BR /&gt;count({&amp;lt;wr.Work_Request_Type = {'Inventory'},&lt;BR /&gt;wrTracking.affectedField={'Status','Create'},&lt;BR /&gt;wrTracking.Char_Status -= {'Pending Close','Closed'}&lt;BR /&gt;&amp;gt;}Work_Request_ID) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-2*&lt;BR /&gt;count({&amp;lt;wr.Short_Description ={'*Update Inventory*'}, wr.Work_Request_Type = {'Inventory'},&lt;BR /&gt;wrTracking.affectedField={'Status','Create'},&lt;BR /&gt;wrTracking.Char_Status -= {'Pending Close','Closed'}&lt;BR /&gt;&amp;gt;} Work_Request_ID) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 15:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556185#M207639</guid>
      <dc:creator />
      <dc:date>2013-09-23T15:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and using and/or</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556186#M207640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/84900"&gt;srchilukoori&lt;/A&gt;.&amp;nbsp; Is the -2* saying exclusion and then intersection?&amp;nbsp; Sometimes, the - and * get mixed up in my head.&amp;nbsp; so, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 16:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-using-and-or/m-p/556186#M207640</guid>
      <dc:creator />
      <dc:date>2013-09-23T16:15:06Z</dc:date>
    </item>
  </channel>
</rss>

