<?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: MTD Syntax Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779643#M1021402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am selecting Date of Issue only from which I have created my Master Calender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean to say, I need to bypass in set expression or some thing else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 08:45:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-25T08:45:48Z</dc:date>
    <item>
      <title>MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779637#M1021396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest syntax error in following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Sum({&amp;lt;[DATE OF ISSUE]={"&amp;gt;=$(=Num(MonthStart(Max([DATE OF ISSUE]))))&amp;lt;=$(=Max([DATE OF ISSUE]))"},COMPANY={'TCIL'}&amp;gt;} SALES)/VMillion,'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779637#M1021396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T13:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779638#M1021397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax looks OK to me. What sort of error are you getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that field names and variable names in QV are case sensitive, so VMillion is not the same as vMillion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have a problem with date formats. Is [DATE OF ISSUE] formatted as a date or a number? You may need something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Sum({&amp;lt;[DATE OF ISSUE] = {"&amp;gt;=$(=Date(MonthStart(Max([DATE OF ISSUE])))) &amp;lt;=$(=Date(Max([DATE OF ISSUE]))"}, COMPANY = {'TCIL'}&amp;gt;} SALES) / VMillion, '00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779638#M1021397</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-24T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779639#M1021398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although the second term of the [DATE OF ISSUE] selection is redundant, so you could simplify to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Sum({&amp;lt;[DATE OF ISSUE] = {"&amp;gt;=$(=Date(MonthStart(Max([DATE OF ISSUE]))))"}, COMPANY = {'TCIL'}&amp;gt;} SALES) / VMillion, '00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779639#M1021398</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-24T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779640#M1021399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is working fine but it is not working in MTD correctly when I select a specific date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say: If I select a date of 07/Dec/2014 then my MTD should give me sale from 01/Dec/2014 to 07/Dec/2014. But with above expression it is giving me of 07/Dec/2014 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779640#M1021399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T08:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779641#M1021400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[DATE OF ISSUE]&lt;/SPAN&gt; or a related date?&amp;nbsp; If so, you might need to override that field's selection in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I suggest that you post a sample for more detailed analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779641#M1021400</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-25T08:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779642#M1021401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or is DATE OF ISSUE a dimension? The selection will reduce the dimension before calculating the expression. You may need a calculated dimension to override the selection. You will also need a TOTAL in the expression to override the DATE OF ISSUE dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779642#M1021401</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-25T08:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779643#M1021402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am selecting Date of Issue only from which I have created my Master Calender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean to say, I need to bypass in set expression or some thing else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779643#M1021402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779644#M1021403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, Its not a dimension but yeah I have created my master calender with this date only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779644#M1021403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779645#M1021404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am selecting a specific date from master calender, it is giving me 0. but it should return minimum date of selected date and till selected date...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779645#M1021404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T08:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779646#M1021406</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;Check remaining dates are having COMPANY = {'TCIL'} or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 09:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779646#M1021406</guid>
      <dc:creator />
      <dc:date>2015-03-25T09:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779647#M1021407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked but no such scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 09:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779647#M1021407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779648#M1021408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the below expression which is not having COMPANY = {'TCIL'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Sum({&amp;lt;[DATE OF ISSUE]={"&amp;gt;=$(=Num(MonthStart(Max([DATE OF ISSUE]))))&amp;lt;=$(=Max([DATE OF ISSUE]))"}&amp;gt;} SALES)/VMillion,'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is working fine then the remaining dates are not related with the COMPANY = {'TCIL'}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779648#M1021408</guid>
      <dc:creator />
      <dc:date>2015-03-25T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: MTD Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779649#M1021410</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;You can create a variable and pass today()-1&lt;/P&gt;&lt;P&gt;vCurrDate=today()-1 and by pass fiscal year and days,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Day=,Fin_Year=, Date={"&amp;lt;=$(vCurrDate)"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[DATE OF ISSUE]) as year, day(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[DATE OF ISSUE]) as day&lt;/SPAN&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; font-size: 13px;"&gt;&lt;STRONG&gt;MTD =num(Sum({&amp;lt;year=,day=,[DATE OF ISSUE]=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;{"&amp;lt;=$(vCurrDate)"}&lt;/SPAN&gt;&amp;gt;} SALES)/VMillion,'00')&lt;/STRONG&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; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&gt;Vimlesh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-Syntax-Error/m-p/779649#M1021410</guid>
      <dc:creator />
      <dc:date>2015-03-25T10:46:08Z</dc:date>
    </item>
  </channel>
</rss>

