<?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: adding,subtracting,dividing and multiplying dimensions at the script level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/adding-subtracting-dividing-and-multiplying-dimensions-at-the/m-p/389147#M145222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes of course, its possible.&lt;/P&gt;&lt;P&gt;No. You cann't use set analysis in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you load your data just add another field:&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; &lt;STRONG&gt;rangesum(amount, tax,rent) as amount1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2012 05:54:09 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-09-10T05:54:09Z</dc:date>
    <item>
      <title>adding,subtracting,dividing and multiplying dimensions at the script level</title>
      <link>https://community.qlik.com/t5/QlikView/adding-subtracting-dividing-and-multiplying-dimensions-at-the/m-p/389146#M145221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know whether we can perform these functions on the two dimensions at the backend or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my fact table i have three columns amount,tax,rent .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression i am using at the UI level is sum({$&amp;lt; yearcode={'P'}&amp;gt;} amonut}+ sum({$&amp;lt; yearcode={'P'}&amp;gt;} tax}+sum({$&amp;lt; yearcode={'P'}&amp;gt;} rent}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use it with dimnesion like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; yearcode={'P'}&amp;gt;} amonut1} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where amount1= amount+rent+tax..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible at the script level??? and similar way other functions can be performed or not???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 05:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/adding-subtracting-dividing-and-multiplying-dimensions-at-the/m-p/389146#M145221</guid>
      <dc:creator />
      <dc:date>2012-09-10T05:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: adding,subtracting,dividing and multiplying dimensions at the script level</title>
      <link>https://community.qlik.com/t5/QlikView/adding-subtracting-dividing-and-multiplying-dimensions-at-the/m-p/389147#M145222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes of course, its possible.&lt;/P&gt;&lt;P&gt;No. You cann't use set analysis in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you load your data just add another field:&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; &lt;STRONG&gt;rangesum(amount, tax,rent) as amount1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 05:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/adding-subtracting-dividing-and-multiplying-dimensions-at-the/m-p/389147#M145222</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-10T05:54:09Z</dc:date>
    </item>
  </channel>
</rss>

