<?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: Calculate Percentage in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327554#M410531</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 I understood you correctly, maybe like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_NUMBER, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROSS_SALES, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fabs( ALLOWANCES) as ALLOWANCES,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;(ALLOWANCES/&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;GROSS_SALES)*100 as &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Percentage&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 10:59:21 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-08-01T10:59:21Z</dc:date>
    <item>
      <title>Calculate Percentage in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327553#M410530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Calculate Percentage in load script, We give allowance to customers on top of gross sales, I have $ amounts given on CSV for allowance how to calculate &lt;SPAN style="font-size: 13.3333px;"&gt;allowance&lt;/SPAN&gt;% from it, in load script itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached Sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 10:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327553#M410530</guid>
      <dc:creator>dseelam</dc:creator>
      <dc:date>2017-08-01T10:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Percentage in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327554#M410531</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 I understood you correctly, maybe like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_NUMBER, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROSS_SALES, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fabs( ALLOWANCES) as ALLOWANCES,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;(ALLOWANCES/&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;GROSS_SALES)*100 as &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Percentage&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 10:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327554#M410531</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-08-01T10:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Percentage in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327555#M410532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fabs(ALLOWANCES)/GROSS_SALES as [ALLOWANCE %]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 11:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Percentage-in-load-script/m-p/1327555#M410532</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-01T11:04:33Z</dc:date>
    </item>
  </channel>
</rss>

