<?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: How to Sum in script with IF in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032697#M348492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add column&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sum(If(Condition = Something, Transtype)) as T1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Count(If(Condition = Something, Transtype)) as T1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;While resident load in your script.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2016 11:07:16 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2016-02-15T11:07:16Z</dc:date>
    <item>
      <title>How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032692#M348487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to Sum a Field base don IF can you guys help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if transtype - 1 Sum (Transtype) as T1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if transtype - 1 Count (Transtype) as T2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can anyone help please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032692#M348487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032693#M348488</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;Need more explanation..&lt;/P&gt;&lt;P&gt;Provide some data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032693#M348488</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-02-15T10:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032694#M348489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the condition here? May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If(Condition = Something, Transtype)) as T1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count(If(Condition = Something, Transtype)) as T1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032694#M348489</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-15T10:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032695#M348490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;transtype=1, sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;transtype)) as T1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;transtype=1, Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;transtype)) as T1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032695#M348490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T10:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032696#M348491</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;If you are doing this in script it will be some from of aggregation. something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(transtype)&amp;nbsp; as T1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(&lt;SPAN style="font-size: 13.3333px;"&gt;transtype) as T2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident 'Your Table'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where transtype = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group by FIELD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032696#M348491</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-02-15T10:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sum in script with IF</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032697#M348492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add column&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sum(If(Condition = Something, Transtype)) as T1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Count(If(Condition = Something, Transtype)) as T1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;While resident load in your script.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 11:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sum-in-script-with-IF/m-p/1032697#M348492</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-02-15T11:07:16Z</dc:date>
    </item>
  </channel>
</rss>

