<?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 Multiple criteria for set analysis syntax for traffic light in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-criteria-for-set-analysis-syntax-for-traffic-light/m-p/322063#M1198203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please advise how I can have multiple criteria in one command which is for a traffic light system (Zero = Red, 1 = Green) so the following should display red/green depending if the hours have increased/decreased. I can make it work if there is only 1 criteria for Leavename but I need to add in two more (underlined)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;IF&lt;/B&gt;&lt;B&gt;(&lt;/B&gt;SUM(&lt;B&gt;&lt;I&gt;{&amp;lt;Leavename={'Statutory Sick Pay'},Leavename={'Company Sick Pay',Leavename = {'TUPE Sick Pay'}&lt;/I&gt;,Week_Class ={'Current Week'}&amp;gt;}&lt;/B&gt;holidayhours)&lt;/P&gt;&lt;P&gt;-(SUM(&lt;B&gt;&lt;I&gt;{&amp;lt;Leavename={'Statutory Sick Pay'} ,Leavename={'Company Sick Pay'&lt;/I&gt;},Leavename = {'TUPE Sick Pay'}&lt;/B&gt;,Week_Class ={'Week-1'}&amp;gt;}holidayhours))&amp;gt;0,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So total holiday hours where week class = current week AND (Leavename = Statutory Sick Pay OR Leavename = Company Sick Pay OR Leavename = TUPE Sick Pay). I have tried adjusting syntax and Googling to no avail.&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2011 16:00:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-15T16:00:23Z</dc:date>
    <item>
      <title>Multiple criteria for set analysis syntax for traffic light</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-criteria-for-set-analysis-syntax-for-traffic-light/m-p/322063#M1198203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please advise how I can have multiple criteria in one command which is for a traffic light system (Zero = Red, 1 = Green) so the following should display red/green depending if the hours have increased/decreased. I can make it work if there is only 1 criteria for Leavename but I need to add in two more (underlined)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;IF&lt;/B&gt;&lt;B&gt;(&lt;/B&gt;SUM(&lt;B&gt;&lt;I&gt;{&amp;lt;Leavename={'Statutory Sick Pay'},Leavename={'Company Sick Pay',Leavename = {'TUPE Sick Pay'}&lt;/I&gt;,Week_Class ={'Current Week'}&amp;gt;}&lt;/B&gt;holidayhours)&lt;/P&gt;&lt;P&gt;-(SUM(&lt;B&gt;&lt;I&gt;{&amp;lt;Leavename={'Statutory Sick Pay'} ,Leavename={'Company Sick Pay'&lt;/I&gt;},Leavename = {'TUPE Sick Pay'}&lt;/B&gt;,Week_Class ={'Week-1'}&amp;gt;}holidayhours))&amp;gt;0,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So total holiday hours where week class = current week AND (Leavename = Statutory Sick Pay OR Leavename = Company Sick Pay OR Leavename = TUPE Sick Pay). I have tried adjusting syntax and Googling to no avail.&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 16:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-criteria-for-set-analysis-syntax-for-traffic-light/m-p/322063#M1198203</guid>
      <dc:creator />
      <dc:date>2011-04-15T16:00:23Z</dc:date>
    </item>
    <item>
      <title>Multiple criteria for set analysis syntax for traffic light</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-criteria-for-set-analysis-syntax-for-traffic-light/m-p/322064#M1198204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not a set analysis expert, but I think you need to change the syntax for Levename as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Leavename={'Statutory Sick Pay', 'Company Sick Pay', 'TUPE Sick Pay'}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 16:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-criteria-for-set-analysis-syntax-for-traffic-light/m-p/322064#M1198204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-15T16:29:57Z</dc:date>
    </item>
  </channel>
</rss>

