<?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 in Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87223#M5807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried both and still recieving the same error message. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 10:07:51 GMT</pubDate>
    <dc:creator>etrotter</dc:creator>
    <dc:date>2018-07-31T10:07:51Z</dc:date>
    <item>
      <title>Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87220#M5804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble with this expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp_Sum:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;[%CSLGranteeExternalID],&lt;/P&gt;&lt;P&gt;[CSL Account Name],&lt;/P&gt;&lt;P&gt;Sum(Num([CSL Total Annual Revenue])) as [CSL Sum Total Revenue]&lt;/P&gt;&lt;P&gt;Resident Account&lt;/P&gt;&lt;P&gt;Group By [%CSLGranteeExternalID],[CSL Account Name];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not load, please let me know what you think could be the problem. I keep getting the error "Invalid Expression" when I run the script.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 09:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87220#M5804</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-07-31T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87221#M5805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you tried without num and reload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 09:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87221#M5805</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-07-31T09:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87222#M5806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&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;Temp_Sum:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[%CSLGranteeExternalID],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[CSL Account Name],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum([CSL Total Annual Revenue]) as [CSL Sum Total Revenue]&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Account&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By [%CSLGranteeExternalID],[CSL Account Name];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 09:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87222#M5806</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-07-31T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87223#M5807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried both and still recieving the same error message. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 10:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87223#M5807</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-07-31T10:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87224#M5808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you paste your full script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 10:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87224#M5808</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-07-31T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87225#M5809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be can you try like this:&lt;/P&gt;&lt;P&gt;Account:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;[%CSLGranteeExternalID],&lt;/P&gt;&lt;P&gt;[CSL Account Name],&lt;/P&gt;&lt;P&gt;[CSL Total Annual Revenue],&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp_Sum:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;[%CSLGranteeExternalID],&lt;/P&gt;&lt;P&gt;[CSL Account Name],&lt;/P&gt;&lt;P&gt;Num(Sum([CSL Total Annual Revenue]),'##,#.00') as [CSL Sum Total Revenue]&lt;/P&gt;&lt;P&gt;Resident Account&lt;/P&gt;&lt;P&gt;Group By [%CSLGranteeExternalID];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Account;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could check all the field names of Temp_Sum, matched correctly with Account table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else, could you provide some more script to identify the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 12:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87225#M5809</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-31T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87226#M5810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I actually ended up changing the script quite a bit, here is the new script I'm working on, but still haven't been able to get it working: &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;AllOrgs: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; "Grant ID",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; %CSLGrantorExternalID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Account ID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[%CSLGranteeExternalID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//[CSL Account Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if([CSL Rev by Funder]&amp;gt;20000,[CSL Account Name], 'All Other Grantees') as [CSL Account Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Account Type],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Zip],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Website],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Total Annual Revenue],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Total Annual Regranting],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Org Mission],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Year of Data],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL No of Employees],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[RCF as Funder];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum([CSL Total Annual Revenue]) as [CSL Rev by Funder]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident AllOrgs_TempGrantee&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group by %CSLGrantorExternalID;&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;Drop table AllOrgs_TempGrantee;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 10:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87226#M5810</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2018-08-02T10:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87227#M5811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident AllOrgs_TempGrantee&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;Where is this: &lt;SPAN style="font-size: 13.3333px;"&gt;AllOrgs_TempGrantee table?&lt;/SPAN&gt;&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;May be you can try like this:&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;AllOrgs: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; "Grant ID",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; %CSLGrantorExternalID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Account ID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[%CSLGranteeExternalID],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//[CSL Account Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if([CSL Rev by Funder]&amp;gt;20000,[CSL Account Name], 'All Other Grantees') as [CSL Account Name],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Account Type],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Zip],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Website],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Total Annual Revenue],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Total Annual Regranting],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Org Mission],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Year of Data],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL No of Employees],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[RCF] as Funder;&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;NoConcatenate&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;AllOrgs_TempGrantee&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum([CSL Total Annual Revenue]) as [CSL Rev by Funder]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident AllOrgs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group by %CSLGrantorExternalID,&lt;SPAN style="font-size: 13.3333px;"&gt;[CSL Account Type]&lt;/SPAN&gt;;&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;Drop table AllOrgs;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 10:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87227#M5811</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-02T10:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum in Script</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87228#M5812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this 3 and see if that helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-try adding all fields in the group by except the aggregating field and then do a resident load of that in a different table&lt;/P&gt;&lt;P&gt;- Try converting the format of the measure in 1st table check in UI and then try aggregate it by resident load .&lt;/P&gt;&lt;P&gt;-try other aggregate functions with 1 field like max and continue adding other fields if it works then you can replace it by Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 12:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-in-Script/m-p/87228#M5812</guid>
      <dc:creator>mhappiee</dc:creator>
      <dc:date>2018-08-02T12:03:14Z</dc:date>
    </item>
  </channel>
</rss>

