<?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 Expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452093#M1162282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if anyone can help me please..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg ( {&amp;lt;[Job Type]={'Urgent H&amp;amp;S','Offline','Other','Paint'}, OrderComplete_Flag={'1'},Order_QueWIPFlag ={'N'},[SystemCompletedDate]={"&amp;gt;=$(=date(Today()-28))&amp;lt;=$(=date(Today()-1))"}&amp;gt;} [Days to Complete(Accepted)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to exclude 10+Operative Names from this average calculation but i didnt want to put all the names in the expression. I was thinking of maybe setting up a variable with the names in then using the variable in the expression but unsure how to do this,&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this in the expression which seesm to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg ( {&amp;lt;[Job Type]={'Urgent H&amp;amp;S','Offline','Other','Paint'},&lt;STRONG&gt; [Operative Name]=-{'Name1','Name2'},&lt;/STRONG&gt;OrderComplete_Flag={'1'},Order_QueWIPFlag ={'N'},[SystemCompletedDate]={"&amp;gt;=$(=date(Today()-28))&amp;lt;=$(=date(Today()-1))"}&amp;gt;} [Days to Complete(Accepted)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field name is &lt;/P&gt;&lt;P&gt;[Operative Name] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 13:34:59 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2012-12-19T13:34:59Z</dc:date>
    <item>
      <title>Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452093#M1162282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if anyone can help me please..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg ( {&amp;lt;[Job Type]={'Urgent H&amp;amp;S','Offline','Other','Paint'}, OrderComplete_Flag={'1'},Order_QueWIPFlag ={'N'},[SystemCompletedDate]={"&amp;gt;=$(=date(Today()-28))&amp;lt;=$(=date(Today()-1))"}&amp;gt;} [Days to Complete(Accepted)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to exclude 10+Operative Names from this average calculation but i didnt want to put all the names in the expression. I was thinking of maybe setting up a variable with the names in then using the variable in the expression but unsure how to do this,&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this in the expression which seesm to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg ( {&amp;lt;[Job Type]={'Urgent H&amp;amp;S','Offline','Other','Paint'},&lt;STRONG&gt; [Operative Name]=-{'Name1','Name2'},&lt;/STRONG&gt;OrderComplete_Flag={'1'},Order_QueWIPFlag ={'N'},[SystemCompletedDate]={"&amp;gt;=$(=date(Today()-28))&amp;lt;=$(=date(Today()-1))"}&amp;gt;} [Days to Complete(Accepted)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field name is &lt;/P&gt;&lt;P&gt;[Operative Name] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 13:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452093#M1162282</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-12-19T13:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452094#M1162283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;[Operative Name]=-{'Name1','Name2'}&lt;/STRONG&gt; is a perfectly fine solution. If you want to use a variable it needs to contain a string like: 'Name1','Name2','Name3'. Including single quotes and comma's. You can then use the variable in the expression like this: &lt;STRONG&gt;[Operative Name]={$(vNames)}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452094#M1162283</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-19T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452095#M1162284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 15:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/452095#M1162284</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-12-19T15:31:34Z</dc:date>
    </item>
  </channel>
</rss>

