<?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: Value of an expression is 0 while using a cutofdate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956103#M979362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; BookingDate format is&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 15:37:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-19T15:37:11Z</dc:date>
    <item>
      <title>Value of an expression is 0 while using a cutofdate</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956101#M979360</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;I have the below expression where am getting value 0&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;sum({&amp;lt;System={'TI'},[Guarantee Flag] = {'Y'},[Hotel Travel Year] = {$(=Max([Hotel Travel Year])-1)}, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BookingDate={"&amp;lt;= $(vTIALGPYCutOfDate)"}&amp;gt;}RoomNightsSold)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i see the issue is with &lt;SPAN style="color: #ff0000; font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;BookingDate={"&amp;lt;= $(vTIALGPYCutOfDate)"} &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Variable&amp;nbsp; &lt;STRONG&gt;vTIALGPYCutOfDate = =AddMonths(weekend(date(max(BookingDate)),-1),-12)&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i.e., 8/9/2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;can someone please help me understand what the issue is?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956101#M979360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T15:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Value of an expression is 0 while using a cutofdate</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956102#M979361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format is your &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BookingDate&lt;/STRONG&gt;? Does it have the same format as your variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just so we know 8/9/2014 is -&amp;gt; D/M/YYYY or M/D/YYYY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956102#M979361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-19T15:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Value of an expression is 0 while using a cutofdate</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956103#M979362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; BookingDate format is&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956103#M979362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Value of an expression is 0 while using a cutofdate</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956104#M979363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if that changes anything, but try and remove the space between &amp;lt;= and the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;um({&amp;lt;System={'TI'}, [Guarantee Flag] = {'Y'},[Hotel Travel Year] = {$(=Max([Hotel Travel Year])-1)},&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BookingDate={"&amp;lt;=$(vTIALGPYCutOfDate)"}&amp;gt;} RoomNightsSold)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956104#M979363</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-19T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Value of an expression is 0 while using a cutofdate</title>
      <link>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956105#M979364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, can you share your application to take a look? Having everything set to show the current error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-of-an-expression-is-0-while-using-a-cutofdate/m-p/956105#M979364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T15:47:55Z</dc:date>
    </item>
  </channel>
</rss>

