<?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: Sum(if( in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49681#M3353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to count when Status is R2? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Status = {'R2'&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;}&amp;gt;}Status)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 13:40:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-03-19T13:40:46Z</dc:date>
    <item>
      <title>Sum(if(</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49680#M3352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(IF((IF(IsNull(AARO_Booking_Period) and IsNull(Status),'R0',If (IsNull(Status),'R1',Status)))&lt;SPAN style="text-decoration: underline;"&gt;='R0'&lt;/SPAN&gt;,1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which sums the total for a set tollgate in this case R0 as underlined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the R tollgate will either come from the IF statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(IsNull(AARO_Booking_Period) and IsNull(Status),'R0',If (IsNull(Status),'R1',Status))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or from the Status field itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for R0 and R1 when I change the underlined but not for any other. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried sum(IF(Status='R2' etc. but this also does not work any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As always greatly appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49680#M3352</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2018-03-19T13:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(if(</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49681#M3353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to count when Status is R2? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Status = {'R2'&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;}&amp;gt;}Status)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49681#M3353</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-19T13:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(if(</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49682#M3354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afraid Not, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for the 4 possible outcomes R0, R1, R2, R3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The R0 &amp;amp; R1 will solely come from the IF statement:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(IsNull(AARO_Booking_Period) and IsNull(Status),'R0',If (IsNull(Status),'R1',Status))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;whereas the R2 &amp;amp; R3 will come from the status field which comes from an attached file. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;I use the above IF as a master measure 'Master status' &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49682#M3354</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2018-03-19T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(if(</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49683#M3355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can probably look at using the Aggr function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(&lt;SPAN style="font-size: 13px;"&gt;i&lt;STRONG&gt;f(condition_true,1,0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; , Dimension&lt;/STRONG&gt;&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49683#M3355</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-03-19T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(if(</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49684#M3356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afraid not @Vishnu_Chakravaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-if/m-p/49684#M3356</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2018-03-19T15:21:16Z</dc:date>
    </item>
  </channel>
</rss>

