<?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: Calculations in the Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106504#M766990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I completely forgot about the Group By. Since I am loading a lot of other fields I just did the calculations on a temp table and left joined them back. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 18:06:09 GMT</pubDate>
    <dc:creator>greend21</dc:creator>
    <dc:date>2018-07-03T18:06:09Z</dc:date>
    <item>
      <title>Calculations in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106501#M766987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do a calculation in the load script but I keep getting an invalid expression error. I thought it could be something with the dates being timestamps so I used floor to drop it and make it a number but that doesn't seem to be correctiong the issue either. Do you have any idea what the issue could be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(fabs(AllocAmt)*(Floor(ClosedDate)-Floor(TransEfftDate)))/Sum(Floor(ClosedDate)-Floor(TransEfftDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106501#M766987</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106502#M766988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the script you are running and also a snapshot of your error msg? if you are using Sum() aggregate function are you using Group By in your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 17:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106502#M766988</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-03T17:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106503#M766989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It'll throw invalid expression, cause data conversion not happened properly.&lt;/P&gt;&lt;P&gt;Create some variables like this and those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vMaxInvoiceDay = Day($(vMaxInvoiceDate));&lt;/P&gt;&lt;P&gt;Set vDaysInMaxMonth = Day(MonthEnd(Month($(vMaxInvoiceDate))));&lt;/P&gt;&lt;P&gt;Set vRunRateFactor = ($(vDaysInMaxMonth) - $(vMaxInvoiceDay))/$(vMaxInvoiceDay); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 18:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106503#M766989</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-03T18:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in the Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106504#M766990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I completely forgot about the Group By. Since I am loading a lot of other fields I just did the calculations on a temp table and left joined them back. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 18:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-the-Load-Script/m-p/106504#M766990</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2018-07-03T18:06:09Z</dc:date>
    </item>
  </channel>
</rss>

