<?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: avoiding nested if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121240#M369530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;same values repeats in every row of table.Actually Rangesum returns sum of range of values present in it.How could we use it here.Correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 18:43:01 GMT</pubDate>
    <dc:creator>berryandcherry6</dc:creator>
    <dc:date>2016-05-12T18:43:01Z</dc:date>
    <item>
      <title>avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121233#M369523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a formula it is built using if statements,but it looks lenghty and confusing as its size increases.Is there any other work for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(if(Subjects='Economics',Count({$&amp;lt;DateType = {applied},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;&lt;P&gt;if(Subjects='computer',count({$&amp;lt;DateType = {approved},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;&lt;P&gt;if(Subjects='science',sum({$&amp;lt;DateType = {attended},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}attended_id),&lt;/P&gt;&lt;P&gt;if(Subjects='Completions',sum({$&amp;lt; DateType = {completion},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed),&lt;/P&gt;&lt;P&gt;if(Subjects='Completions Rate',sum({$&amp;lt; DateType = {completion},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed)/&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;DateType = {invitation},school_name={'matais'},&lt;/P&gt;&lt;P&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id)&lt;/P&gt;&lt;P&gt;))))),if(Subjects='Completions Rate','#,##0.0%', '#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 10:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121233#M369523</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2016-05-11T10:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121234#M369524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you create a variable and assign this expression. then you can simply write the expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Num($(vLongExpression),if(Subjects='Completions Rate','#,##0.0%', '#,##0'))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 18:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121234#M369524</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-05-11T18:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121235#M369525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Alt(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;DateType = {applied}, school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects= {'Economics'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;DateType = {approved}, school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects={'computer'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;DateType = {attended}, school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects = {'science'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} attended_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt; DateType = {completion}, school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects = {'Completions'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt; DateType = {completion},school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed)/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;DateType = {invitation},school_name={'matais'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;)&lt;SPAN style="line-height: 1.5em;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;STRONG&gt;If(Subjects = 'Completions Rate', '#,##0.0%', '#,##0'))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am assuming that you are using Subject as your dimension, because if you are not, then you might not see good results &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, 11 May 2016 20:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121235#M369525</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T20:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121236#M369526</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;maybe also possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14630008249654329" jivemacro_uid="_14630008249654329" modifiedtitle="true"&gt;
&lt;P&gt;=Num(Pick(Match(Subjects,'Economics','computer','science','Completions','Completions Rate'),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({$&amp;lt;DateType = {applied}&amp;nbsp;&amp;nbsp; ,school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({$&amp;lt;DateType = {approved}&amp;nbsp; ,school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&amp;nbsp; {$&amp;lt;DateType = {attended}&amp;nbsp; ,school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}attended_id),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&amp;nbsp; {$&amp;lt;DateType = {completion},school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&amp;nbsp; {$&amp;lt;DateType = {completion},school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed)/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({$&amp;lt;DateType = {invitation},school_name={'matais'},CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '#,##0'&amp;amp;If(Subjects='Completions Rate','.0%')&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that a variable approach might be better though..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 21:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121236#M369526</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-05-11T21:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121237#M369527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;given&amp;nbsp; expression when used gives first counts for all rows.i am using table and taking subject as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121237#M369527</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2016-05-12T18:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121238#M369528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;RangeSum&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {applied}, school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects= {'Economics'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {approved}, school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects={'computer'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt;DateType = {attended}, school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects = {'science'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} attended_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt; DateType = {completion}, school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects = {'Completions'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt; DateType = {completion},school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed)/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {invitation},school_name={'matais'}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; 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;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Subjects = 'Completions Rate', '#,##0.0%', '#,##0'))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121238#M369528</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-12T18:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121239#M369529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/settu_periasamy"&gt;settu_periasamy&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Thanks for reply&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LET vLongExpression = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Subjects='Economics',Count({$&amp;lt;DateType = {applied},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Subjects='computer',count({$&amp;lt;DateType = {approved},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Subjects='science',sum({$&amp;lt;DateType = {attended},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}attended_id),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Subjects='Completions',sum({$&amp;lt; DateType = {completion},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Subjects='Completions Rate',sum({$&amp;lt; DateType = {completion},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;}course_completed)/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({$&amp;lt;DateType = {invitation},school_name={'matais'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;}applied_id)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)))))&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;above expression doesnot load in script loader ,gives script line error. How should i use this code in script.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please help me in this.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121239#M369529</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2016-05-12T18:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121240#M369530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;same values repeats in every row of table.Actually Rangesum returns sum of range of values present in it.How could we use it here.Correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Supriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121240#M369530</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2016-05-12T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121241#M369531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because of the set analysis, it will only have a value for each dimension. Not sure if you noticed this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {applied}, school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects= {'Economics'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {approved}, school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects={'computer'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt;DateType = {attended}, school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects = {'science'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} attended_id),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt; DateType = {completion}, school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects = {'Completions'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({$&amp;lt; DateType = {completion},school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"},final_test_status={'passed'}&amp;gt;} course_completed)/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count({$&amp;lt;DateType = {invitation},school_name={'matais'}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Subjects = {'Completions Rate'},&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CanonicalDate = {"&amp;gt;=$(=MinDate)&amp;lt;=$(=max(date(CanonicalDate)))"}&amp;gt;} applied_id)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; 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;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Subjects = 'Completions Rate', '#,##0.0%', '#,##0'))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 18:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-nested-if-condition/m-p/1121241#M369531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-12T18:51:10Z</dc:date>
    </item>
  </channel>
</rss>

