<?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 of Variable Name Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400574#M486001</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;In Variable $(ROT1) you have written =Month(MonthStart(Today(), -2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is no Date field in the Excel Spreadsheet and you have no Calendar created in the Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't believe these Variables will Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing the variables to the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ROT1) as =SUM(ROT1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ROT2) as =SUM(ROT2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try the Expression sum_var like this =$(ROT1) + $(ROT2) and check if you get the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to format COLUMN C and COLUMN F in the Excel spreadsheet as Numbers and RELOAD the Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 18:46:31 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2013-03-27T18:46:31Z</dc:date>
    <item>
      <title>Sum of Variable Name Field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400571#M485998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to make a sum of one field that have the name according to the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attached one example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use three diferent types of variables, but I don't know how to make the system understand that it is a field and not a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400571#M485998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Variable Name Field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400572#M485999</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this is what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400572#M485999</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-27T18:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Variable Name Field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400573#M486000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 10pt;"&gt;Kaushik!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It is exactly that!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Debora&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400573#M486000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T18:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Variable Name Field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400574#M486001</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;In Variable $(ROT1) you have written =Month(MonthStart(Today(), -2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is no Date field in the Excel Spreadsheet and you have no Calendar created in the Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't believe these Variables will Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing the variables to the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ROT1) as =SUM(ROT1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ROT2) as =SUM(ROT2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try the Expression sum_var like this =$(ROT1) + $(ROT2) and check if you get the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to format COLUMN C and COLUMN F in the Excel spreadsheet as Numbers and RELOAD the Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Variable-Name-Field/m-p/400574#M486001</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-03-27T18:46:31Z</dc:date>
    </item>
  </channel>
</rss>

