<?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 Month to date Variable not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279002#M103857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Hi Joseph,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Please review values for your variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;sCMTDFcst = {$&amp;lt;[Calendar Date]={"&amp;gt;=num(only({&amp;lt;[Fiscal YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Month Start Date])) &amp;lt;=$(#vCMEndFcst)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCMEndFcst = 8/26/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCMStartFcst = num(only({&amp;lt;[Fiscal YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Month Start Date])) = 8/26/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCurrMthFcst =only({&amp;lt;[Calendar Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal YYYYMM]) = 201212&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vLastDayFcst =if(vOpenFlagFcst=0,date(max([Calendar Date]),'MM-DD-YYYY'),vLastFcstDate) = 08-26-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vLastFcstDate =date(max({&amp;lt;RecType={"Fcst"}&amp;gt;} [Calendar Date]),'MM-DD-YYYY') = 08-26-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Your start date has the same value as the end date (Which is September). If you expand your expression and subtract 12 months from the start date, the data will be displayed properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Calendar Date]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;"&amp;gt;= $(#vCMStartFcst)-12 &amp;lt;=$(#vCMEndFcst)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Quarter]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Month Name]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;= &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Fcst&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;So, you need to change definition of the start date variable - vCMStartFcst.&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #000000; font-family: Calibri;"&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I hope it will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 05:37:21 GMT</pubDate>
    <dc:creator>bgerchikov</dc:creator>
    <dc:date>2012-02-14T05:37:21Z</dc:date>
    <item>
      <title>Set and Variable syntax help: Inherited syntax, but having trouble w maintenance</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279001#M103856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get my pivot table to show Month To Date Forecast (MTD) in the&lt;STRONG&gt; Fcst MTD Column and will need to create a Fcst YTD Column too.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My company operates on the fiscal calendar October to September (for example October 2009&amp;nbsp; to September 2010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Fcst MTD expression but it Defaults to September instead of February (since we are in the MTD February)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, if i manually make the selection Feb, then the Fcst MTD expression corrects itself and displays the correct Fcst amounts.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My attached QVW, includes a Customer Table, Fcst Table and Fiscal Calender Table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that there are some Syntax corrections that need to be made to improve the definitions for some of my variables. However i have been unsuccesful in making the correct Syntax adjustments to get my MTD &amp;amp; YTD to work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Variable Syntax and Definitions were inherited and I am learning how to mainteance and have been fine until this point.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated as this is a project i am working on at Work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 02:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279001#M103856</guid>
      <dc:creator />
      <dc:date>2012-02-14T02:28:47Z</dc:date>
    </item>
    <item>
      <title>Month to date Variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279002#M103857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Hi Joseph,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Please review values for your variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;sCMTDFcst = {$&amp;lt;[Calendar Date]={"&amp;gt;=num(only({&amp;lt;[Fiscal YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Month Start Date])) &amp;lt;=$(#vCMEndFcst)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCMEndFcst = 8/26/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCMStartFcst = num(only({&amp;lt;[Fiscal YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Month Start Date])) = 8/26/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vCurrMthFcst =only({&amp;lt;[Calendar Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal YYYYMM]) = 201212&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vLastDayFcst =if(vOpenFlagFcst=0,date(max([Calendar Date]),'MM-DD-YYYY'),vLastFcstDate) = 08-26-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;vLastFcstDate =date(max({&amp;lt;RecType={"Fcst"}&amp;gt;} [Calendar Date]),'MM-DD-YYYY') = 08-26-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Your start date has the same value as the end date (Which is September). If you expand your expression and subtract 12 months from the start date, the data will be displayed properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Calendar Date]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;"&amp;gt;= $(#vCMStartFcst)-12 &amp;lt;=$(#vCMEndFcst)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Quarter]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;[Fiscal Month Name]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;= &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Fcst&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;So, you need to change definition of the start date variable - vCMStartFcst.&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #000000; font-family: Calibri;"&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I hope it will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 05:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279002#M103857</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2012-02-14T05:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Month to date Variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279003#M103858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/bgerchikov" id="jive-4757917669153487358505" style="background-color: #f9f9f9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;Boris Gerchikov&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your input.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed my expression in the pivot table to the below and It didnt work.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[Calendar Date]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;"&amp;gt;= $(#vCMStartFcst)-12 &amp;lt;=$(#vCMEndFcst)"&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[Fiscal Quarter]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[Fiscal Month Name]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;= &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: maroon;"&gt;Fcst&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next, I attempted to change my vCMStartFcst variable definition to the below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="459"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="459"&gt;=num(only({&amp;lt;[Fiscal&amp;nbsp; YYYYMM]={$(#vCurrMthFcst)-12}&amp;gt;} [Fiscal Month Start Date]))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I reloaded and it didnt work&lt;/STRONG&gt;.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached an updated QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help with Syntax, as i am still learning how to modify and i inhearited the original Syntax and have to learn how to mainantce it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 16:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279003#M103858</guid>
      <dc:creator />
      <dc:date>2012-02-14T16:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Month to date Variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279004#M103859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below are the definitions for my Set and Period identification, when i attempted to make the syntax adjustments suggested by Boris, i dont think i made them correctly since the problem has not been corrected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="566"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="107"&gt;vLastFcstDate&lt;/TD&gt;&lt;TD class="xl65" width="459"&gt;=date(max({&amp;lt;RecType={"Fcst"}&amp;gt;}&amp;nbsp; [Calendar Date]),'MM-DD-YYYY')&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vOpenMthFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({1&amp;nbsp; &amp;lt;[Calendar Date]={"$(vLastFcstDate)"}&amp;gt;} [Fiscal YYYYMM])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vOpenFlagFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=if(max([Fiscal&amp;nbsp; YYYYMM])&amp;gt;=vOpenMthFcst,1,0)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vLastDayFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=if(vOpenFlagFcst=0,date(max([Calendar&amp;nbsp; Date]),'MM-DD-YYYY'),vFcstDate)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCurrYrFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({&amp;lt;[Calendar&amp;nbsp; Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal Year])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCurrMthFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({&amp;lt;[Calendar&amp;nbsp; Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal YYYYMM])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCurrMthNmFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({&amp;lt;[Calendar&amp;nbsp; Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal Month Name])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vFDFMFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({&amp;lt;[Calendar&amp;nbsp; Date]={"$(vLastDayFcst)"}&amp;gt;}[Fiscal Day in Fiscal Month])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCMStartFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=num(only({&amp;lt;[Fiscal&amp;nbsp; YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Month Start Date]))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCMEndFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=vCYEndFcst&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCYStartFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=num(only({&amp;lt;[Fiscal&amp;nbsp; YYYYMM]={$(#vCurrMthFcst)}&amp;gt;} [Fiscal Year Start Date]))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCYEndFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=num(vLastDayFcst)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vPrevYrFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=vCurrYrFcst-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vSMPYStartFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=num(only({1&amp;nbsp; &amp;lt;[Fiscal YYYYMM]={$(#=vCurrMthFcst-100)}&amp;gt;} [Fiscal Month Start Date]))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vSMPYEndFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=vPYEndFcst&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vPYStartFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;=num(only({1&amp;nbsp; &amp;lt;[Fiscal YYYYMM]={$(#=vCurrMthFcst-100)}&amp;gt;} [Fiscal Year Start Date]))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vPYEndFcst&lt;/TD&gt;&lt;TD class="xl66" width="459"&gt;=num(if(vOpenFlagFcst=1,only({1&amp;nbsp; &amp;lt;[Fiscal YYYYMM]={$(#=vCurrMthFcst-100)},[Fiscal Day in Fiscal&amp;nbsp; Month]={$(#=rangemin(only({1 &amp;lt;[Fiscal YYYYMM]={$(#=vCurrMthFcst-100)}&amp;gt;}&amp;nbsp; [Fiscal Month End Date]) - &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; only({1 &amp;lt;[Fiscal YYYYMM]={$(#=vCurrMthFcst-100)}&amp;gt;} [Fiscal Month&amp;nbsp; Start Date]) + 1,vFDFMFcst))}&amp;gt;} [Calendar Date]), only({1 &amp;lt;[Fiscal&amp;nbsp; YYYYMM]={$(#=vCurrMthFcst-100)}&amp;gt;} [Fiscal Month End Date])))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;vCMStartDate&lt;/TD&gt;&lt;TD class="xl65"&gt;=only({&amp;lt;[Calendar&amp;nbsp; Date]={"$(vLastDayFcst)"}&amp;gt;} [Fiscal Month Start Date])&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt; &lt;/TD&gt;&lt;TD class="xl65"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="24"&gt;sCMTDFcst&lt;/TD&gt;&lt;TD class="xl67"&gt;{$&amp;lt;&lt;SPAN&gt;[Calendar Date]&lt;/SPAN&gt;&lt;SPAN&gt;={&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt;= $(#vCMStartFcst)-12&amp;nbsp; &amp;lt;=$(#vCMEndFcst)"&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;SPAN&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;[Fiscal Quarter]&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;[Fiscal Month Name]&lt;/SPAN&gt;&lt;SPAN&gt;= &amp;gt;}&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;sCYTDFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;{$&amp;lt;[Calendar Date]={"&amp;gt;=$(#vCYStartFcst)&amp;nbsp; &amp;lt;=$(#vCYEndFcst)"} ,[Fiscal Year]=,[Fiscal Quarter]=,[Fiscal Month&amp;nbsp; Name]=&amp;gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;sCYearFcst&lt;/TD&gt;&lt;TD class="xl65"&gt;{$&amp;lt;[Fiscal Year]={$(#vCurrYrFcst)},[Fiscal&amp;nbsp; Quarter]=,[Fiscal Month Name]= &amp;gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279004#M103859</guid>
      <dc:creator />
      <dc:date>2012-02-15T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Month to date Variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279005#M103860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Joseph,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;If &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;I understand correctly you need YTD forecast, right? It means if you select Feb in your calendar &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;then the forecast data October through February will be shown. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Therefore your start date should be &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;vCYStartFcst.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: #1f497d; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-themecolor: text2; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;So, your expanded expression will be as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;[Calendar Date]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;"&amp;gt;=$(#vCYStartFcst) &amp;lt;=$(#vCMEndFcst)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;[Fiscal Quarter]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;[Fiscal Month Name]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;= &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Fcst&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279005#M103860</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2012-02-15T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set and Variable syntax help: Inherited syntax, but having trouble w maintenance</title>
      <link>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279006#M103861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that is correct, YTD would be Oct&amp;nbsp; - Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for YTD When a selection is Made .&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I modify so they are calculated when a SELECTION is NOT MADE TOO? That way YTD and MTD will be displayed with or without a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Calendar Date]={"&amp;gt;=$(#vCYStartFcst) &amp;lt;=$(#vCMEndFcst)"},[Fiscal Year]=,[Fiscal Quarter]=,[Fiscal Month Name]= &amp;gt;} Fcst)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Calendar Date]={"&amp;gt;=$(#vCMStartFcst) &amp;lt;=$(#vCMEndFcst)"},[Fiscal Year]=,[Fiscal Quarter]=,[Fiscal Month Name]= &amp;gt;} Fcst)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all of your help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-and-Variable-syntax-help-Inherited-syntax-but-having-trouble/m-p/279006#M103861</guid>
      <dc:creator />
      <dc:date>2012-02-15T15:12:46Z</dc:date>
    </item>
  </channel>
</rss>

