<?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 Writing Multiple IF Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195524#M627600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I Need help in using multiple if conditions for the below requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757; text-decoration: underline;"&gt;Source data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="120" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="39"&gt;TEAM&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="167"&gt;PROCESS&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="62"&gt;% Process&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Last Submit to First TV Checked&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;39%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Last Submit to First TV Action&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;92%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Final Approval to First Response&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;97%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Final Approval to LO Gen&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Requirement 1&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To Count Number of process in each teams &amp;amp; No of process that has more than &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;50%&lt;/STRONG&gt; value. i achieved this using below expression&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Output1&lt;/STRONG&gt;:&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="74" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="39"&gt;Team&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="167"&gt;Met Target&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp; 1/2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp; 2/2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Script1&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= if(GetSelectedCount(TEAM)=0,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}, [SLA BUCKET]={'1'}&amp;gt;} [CASE_NUM]) /&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}&amp;gt;} [CASE_NUM])&amp;gt;=0.5,1,0),PROCESS))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &amp;amp; '/' &amp;amp; count( DISTINCT (IF(PROCESS&amp;lt;&amp;gt;'First TV Pickup to First TV Checked By TVO',PROCESS))))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;Requirement 2&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;To get the number of teams that has met 100% target in a text box&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Output2 Needed&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 18pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; 1/2&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;out of 2 teams only&amp;nbsp; LOAM Team has met 100% Target(2/2). so output should be 1/2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;Script2&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;i used below script but my condition is applying condition on process level, below script is giving output as &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit;"&gt;0,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;because &lt;/SPAN&gt;condition&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; is applied at process level, since not all&amp;nbsp; process met target its resulting &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(GetSelectedCount(TEAM)=0,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(sum(Aggr(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}, [SLA BUCKET]={'1'}&amp;gt;} [CASE_NUM]) /&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}&amp;gt;} [CASE_NUM])&amp;gt;=0.5,1,0),PROCESS))=&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count( DISTINCT (IF(PROCESS&amp;lt;&amp;gt;'First TV Pickup to First TV Checked By TVO',PROCESS))),1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please Help with a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks In Advance.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Arjin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 09:00:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-30T09:00:50Z</dc:date>
    <item>
      <title>Writing Multiple IF Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195524#M627600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I Need help in using multiple if conditions for the below requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757; text-decoration: underline;"&gt;Source data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="120" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="39"&gt;TEAM&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="167"&gt;PROCESS&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="62"&gt;% Process&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Last Submit to First TV Checked&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;39%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Last Submit to First TV Action&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;92%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Final Approval to First Response&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;97%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;Final Approval to LO Gen&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Requirement 1&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To Count Number of process in each teams &amp;amp; No of process that has more than &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;50%&lt;/STRONG&gt; value. i achieved this using below expression&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Output1&lt;/STRONG&gt;:&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="74" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="39"&gt;Team&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);" width="167"&gt;Met Target&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;MLTV&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp; 1/2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="17" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;LOAM&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border: 1px solid; font-style: inherit; font-family: arial, helvetica, sans-serif; color: #575757; background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp; 2/2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Script1&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= if(GetSelectedCount(TEAM)=0,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(Aggr(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}, [SLA BUCKET]={'1'}&amp;gt;} [CASE_NUM]) /&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}&amp;gt;} [CASE_NUM])&amp;gt;=0.5,1,0),PROCESS))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &amp;amp; '/' &amp;amp; count( DISTINCT (IF(PROCESS&amp;lt;&amp;gt;'First TV Pickup to First TV Checked By TVO',PROCESS))))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;Requirement 2&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;To get the number of teams that has met 100% target in a text box&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Output2 Needed&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 18pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; 1/2&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;out of 2 teams only&amp;nbsp; LOAM Team has met 100% Target(2/2). so output should be 1/2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;Script2&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;i used below script but my condition is applying condition on process level, below script is giving output as &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit;"&gt;0,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;because &lt;/SPAN&gt;condition&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; is applied at process level, since not all&amp;nbsp; process met target its resulting &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(GetSelectedCount(TEAM)=0,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(sum(Aggr(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}, [SLA BUCKET]={'1'}&amp;gt;} [CASE_NUM]) /&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count(DISTINCT{$&amp;lt;[END DT]={"*"},%ProcessingType={'End'},PROCESS={'*'}-{'First TV Pickup to First TV Checked By TVO'}&amp;gt;} [CASE_NUM])&amp;gt;=0.5,1,0),PROCESS))=&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; count( DISTINCT (IF(PROCESS&amp;lt;&amp;gt;'First TV Pickup to First TV Checked By TVO',PROCESS))),1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please Help with a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks In Advance.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Arjin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 09:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195524#M627600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-30T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple IF Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195525#M627601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;one solution from in script,, 1 example&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IFCON.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139365_IFCON.png" style="height: 534px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2016 18:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195525#M627601</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2016-10-01T18:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple IF Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195526#M627602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try the expression in this table to get your first output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;TEAM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;count({$&amp;lt;[% Process] = {"&amp;gt;0.5"}&amp;gt;}PROCESS) &amp;amp; ' / ' &amp;amp; count(PROCESS)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;MLTV&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;1 / 2&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;LOAM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;2 / 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A textbox with this expression:&lt;/P&gt;&lt;P&gt;=Sum(Aggr(if((count(DISTINCT {$&amp;lt;[% Process] = {"&amp;gt;0.5"}&amp;gt;}PROCESS) / count(PROCESS))=1,1), TEAM)) &amp;amp;&amp;nbsp; ' / ' &amp;amp; Count(Distinct TEAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will return &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 / 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 11:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-Multiple-IF-Conditions/m-p/1195526#M627602</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-10-03T11:15:24Z</dc:date>
    </item>
  </channel>
</rss>

