<?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 two fields in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718975#M540160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;RangeSum&lt;/STRONG&gt;([Branch X] , [Branch Z]) as [Total Sales]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 05:37:55 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-08-06T05:37:55Z</dc:date>
    <item>
      <title>Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718974#M540159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently started using qlikview. I need some assistance. As an example, there are two fields 'Branch X' and 'Branch Z':&lt;/P&gt;&lt;P&gt;Branch X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch Z&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;&amp;nbsp; 40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add these two fields in qlikview. I know I can add these in excel and then upload it again in qlikview. But is there another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding the following line in the script but it didn't work:&lt;/P&gt;&lt;P&gt;[Branch X] + [Branch Z] as [Total Sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me what I am doing wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718974#M540159</guid>
      <dc:creator />
      <dc:date>2014-08-06T05:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718975#M540160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;RangeSum&lt;/STRONG&gt;([Branch X] , [Branch Z]) as [Total Sales]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718975#M540160</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-06T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718976#M540161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can load as it is and in fron end try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum([Branch X]) + sum([Branch Z])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or in back-end try like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Main:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;[Branch X]+[Branch Z] as [Total Sales];&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Branch X,Branch Z&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 12,8&lt;/P&gt;&lt;P&gt;&amp;nbsp; 30,6&lt;/P&gt;&lt;P&gt;&amp;nbsp; 40,4 &lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718976#M540161</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-06T05:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718977#M540162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you attach your sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;see the below script of sample data..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;it's working fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Branch X,Branch Z&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 12,8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 30,6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 40,4&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Branch X]+[Branch Z] as [Total Sales]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Main;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Main;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mukram.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718977#M540162</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-08-06T05:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718978#M540163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SHould work like you tried. &lt;/P&gt;&lt;P&gt;Please post example app / data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718978#M540163</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-06T05:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718979#M540164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this attachment will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718979#M540164</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-06T05:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718980#M540165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;try inline load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Branch X,Branch Z&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 12,8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 30,6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; 40,4&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Branch X]+[Branch Z] as [Total Sales]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident T1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table T1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 05:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718980#M540165</guid>
      <dc:creator>khajafareed</dc:creator>
      <dc:date>2014-08-06T05:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718981#M540166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You guys are amazing! Thanks for the prompt responses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the following worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;[Branch X]+[Branch Z] as [Total Sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; RangeSum([Branch X] , [Branch Z]) as [Total Sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know why at first it was not working. But all good now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 06:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718981#M540166</guid>
      <dc:creator />
      <dc:date>2014-08-06T06:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding two fields in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718982#M540167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can you close this thread by marking appropriate answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 06:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-two-fields-in-the-script/m-p/718982#M540167</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-06T06:18:29Z</dc:date>
    </item>
  </channel>
</rss>

