<?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: variable problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682625#M1085166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Sum({&amp;lt;year={2013},month={'&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; $ (=Month(Today())-1 )&lt;/STRONG&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 08:38:10 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-06-16T08:38:10Z</dc:date>
    <item>
      <title>variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682618#M1085159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can i add a variable like "month(today())" to month in below set analysis. thanks&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year={2013},month={May},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682618#M1085159</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682619#M1085160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;year={2013},month={'&lt;STRONG&gt; $ (=Month(Today()) )&lt;/STRONG&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Or&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;year={2013},month={"&lt;STRONG&gt; $ (=Month(Today()) )&lt;/STRONG&gt; "},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682619#M1085160</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-16T08:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682620#M1085161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM({&amp;lt;year = {'$(=Year(Today()))'}, month = {'$(=Month(Today()))'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TRA_QTY&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&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({&amp;lt;year = {'$(=Year(Today())-1)'}, month = {'$(=Month(Today())-1)'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TRA_QTY&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682620#M1085161</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-16T08:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682621#M1085162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont you only use " when its a search string? When it should be between two months or so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682621#M1085162</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682622#M1085163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum({&amp;lt;year={"$(=year(today()))"},month={"$(=Month(today()))"},day={"$(=day(today()))"&amp;gt;}TRA_QTY)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682622#M1085163</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-16T08:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682623#M1085164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks anand, I have another problem how can i get previous month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682623#M1085164</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682624#M1085165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H 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({&amp;lt;year={2013},month={'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; $ (=Month(Today())-1 )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; '},day={2}&amp;gt;}TRA_QTY)&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;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>Mon, 16 Jun 2014 08:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682624#M1085165</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-16T08:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682625#M1085166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Sum({&amp;lt;year={2013},month={'&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; $ (=Month(Today())-1 )&lt;/STRONG&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682625#M1085166</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-16T08:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682626#M1085167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand, &lt;/P&gt;&lt;P&gt;my variable name is currentMonth. How can i include it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currentMonth=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month(today())&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682626#M1085167</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682627#M1085169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess its a string?&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({&amp;lt;year={2013},month={&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt; '$(currentMonth)'&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682627#M1085169</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682628#M1085172</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;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Let currentMonth = &lt;STRONG&gt;Num(&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;month(today()) &lt;STRONG&gt;)&lt;/STRONG&gt;; //If Month field has numeric values then put Num in the expression other wise you can use same currentMonth = month(today())&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&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;Sum({&amp;lt;year={2013},month={'&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG&gt; $ (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;currentMonth&lt;/SPAN&gt; )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; '},day={2}&amp;gt;}TRA_QTY)&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682628#M1085172</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-16T08:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682629#M1085174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$(=Month(Today())-1 ) -&amp;gt; would only work if the month field contain numeric values.. Otherwise, try with &lt;STRONG&gt;addmonths(), &lt;/STRONG&gt;like Sum({&amp;lt;year={2013},month={'&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt; $ (=Month(AddMonths(Today(),-1 )))&lt;/STRONG&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682629#M1085174</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-16T08:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682630#M1085175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ashfaq, &lt;/P&gt;&lt;P&gt;month should return like May not '5' and also single quotations mustn't be there.{ }.&amp;nbsp; How can i do that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682630#M1085175</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682631#M1085176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco, &lt;/P&gt;&lt;P&gt;it s not working when there are single quotations inside of the brackets. is there any method without single quotations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682631#M1085176</guid>
      <dc:creator />
      <dc:date>2014-06-16T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682632#M1085177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put Num in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Load statement add new field Num(Month) as NumMonth and use it in the expression but if it is in num then try&lt;/P&gt;&lt;P&gt;&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({&amp;lt;year={2013},month={'&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt; $ (=Num(Month(Today())) )&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; '},day={2}&amp;gt;}TRA_QTY)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682632#M1085177</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-16T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682633#M1085178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;STRONG&gt;Sum({&amp;lt;year={2013},month={'$(=SubField('$(MonthNames)', ';',Month(Today())-1))'}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;STRONG&gt;,day={2}&amp;gt;}TRA_QTY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682633#M1085178</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-16T08:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682634#M1085179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your month field values like- Jan, Feb, ... It should work with single quotes/double quotes. You could post a sample qvw so that we can find the actual issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 09:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682634#M1085179</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-16T09:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682635#M1085180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({&amp;lt;year={2013},month={ '$ (=Month(AddMonths(Today(),-1 )))' }, day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried like this. but it returns value 0. but when i wrote it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year={2013},month={May}, day={2}&amp;gt;}TRA_QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it s returning values correctly. what is wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 09:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682635#M1085180</guid>
      <dc:creator />
      <dc:date>2014-06-16T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682636#M1085181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you put single quotes directly like: =Sum({&amp;lt;year={2013},month={&lt;STRONG&gt;'May'&lt;/STRONG&gt;}, day={2}&amp;gt;}TRA_QTY)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you get the same value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 09:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682636#M1085181</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-16T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable problem</title>
      <link>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682637#M1085182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 09:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-problem/m-p/682637#M1085182</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-16T09:05:59Z</dc:date>
    </item>
  </channel>
</rss>

