<?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: Help with Expression with Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312836#M407892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as it seems that you only have start of month in your date column&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;Sum({&amp;lt;Date = {"$(=Date(MonthStart(Max(Date), -1), 'DD/MM/YYYY'))"}&amp;gt;}[#Act-Prime])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure I understand the purpose of this as these are not in list box object and I wouldn't want to add them in the other expression to make sure that the number match up&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[TrxType]={'R'},ActionID ={'RECEIPTS'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2017 15:01:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-07-14T15:01:55Z</dc:date>
    <item>
      <title>Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312831#M407887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi All,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have the following expression&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;NUM(Sum ({&amp;lt;[TrxType]={'R'},ActionID ={'RECEIPTS'},Year = {$(=MAX(Year))}, Month = {'$(vPriorMonth)'},Day = {"&amp;lt;=$(=DAY(MAX(Date)))"}&amp;gt;}[#Act-Prime]),'#,##0')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when I view it using a straight table it return the correct details&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;But it's returning no Value&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It should return 2945 which is the 01/05/2017&lt;IMG alt="2017-07-14_1548.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170257_2017-07-14_1548.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312831#M407887</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312832#M407888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact expression used in the list box object? Also, how do you define Month field in the script and how do you define vPriorMonth?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312832#M407888</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-14T14:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312833#M407889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM([#Act-Prime]) is used in List Box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month:&lt;/P&gt;&lt;P&gt;MONTH(Date) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPriorMonth:&lt;/P&gt;&lt;P&gt;=MONTH(ADDMONTHS(MAX(Date), -1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312833#M407889</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T14:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312834#M407890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see the problem now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No&amp;nbsp; [#Act-Prime] for TrxType = {'R'} for that Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312834#M407890</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T15:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312835#M407891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the expression is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312835#M407891</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T15:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312836#M407892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as it seems that you only have start of month in your date column&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;Sum({&amp;lt;Date = {"$(=Date(MonthStart(Max(Date), -1), 'DD/MM/YYYY'))"}&amp;gt;}[#Act-Prime])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure I understand the purpose of this as these are not in list box object and I wouldn't want to add them in the other expression to make sure that the number match up&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[TrxType]={'R'},ActionID ={'RECEIPTS'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312836#M407892</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-14T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312837#M407893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to compare this month to date v Last Month to Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If if today is 14/07/2017, for this month I want everything from 01/07-14/07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Last Month should be 01/06-14/06&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the Last Month that I have issues with &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312837#M407893</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T15:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312838#M407894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For that, I would try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last Month&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -1), 'DD/MM/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(AddMonths(Max(Date), -1), 'DD/MM/YYYY')&lt;/STRONG&gt;)"}, Month, Year&amp;gt;}[#Act-Prime])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Month&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date)), 'DD/MM/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(AddMonths(Max(Date), 0), 'DD/MM/YYYY')&lt;/STRONG&gt;)"}, Month, Year&amp;gt;}[#Act-Prime])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312838#M407894</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-14T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312839#M407895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312839#M407895</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-07-14T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression with Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312840#M407896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression-with-Dates/m-p/1312840#M407896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-14T15:15:56Z</dc:date>
    </item>
  </channel>
</rss>

