<?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 1st Day Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552171#M206257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year={$(=Max(Year))},Month={$(=MaxString(Month))},Day={$(=Day(Today()-1))}&amp;gt;}amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its working for all date but when day=1 of August&lt;/P&gt;&lt;P&gt;then it will give 0&lt;/P&gt;&lt;P&gt;As per the logic it should return 31 july amount but its showing 0.&lt;/P&gt;&lt;P&gt;Please give me some idea.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Aug 2013 06:25:00 GMT</pubDate>
    <dc:creator>narender123</dc:creator>
    <dc:date>2013-08-02T06:25:00Z</dc:date>
    <item>
      <title>1st Day Problem</title>
      <link>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552171#M206257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year={$(=Max(Year))},Month={$(=MaxString(Month))},Day={$(=Day(Today()-1))}&amp;gt;}amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its working for all date but when day=1 of August&lt;/P&gt;&lt;P&gt;then it will give 0&lt;/P&gt;&lt;P&gt;As per the logic it should return 31 july amount but its showing 0.&lt;/P&gt;&lt;P&gt;Please give me some idea.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 06:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552171#M206257</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-08-02T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: 1st Day Problem</title>
      <link>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552172#M206258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess, it's because your previous date is falling in another month and you have taken the max month in the set. I suggest, use date field rather than day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 06:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552172#M206258</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-02T06:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: 1st Day Problem</title>
      <link>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552173#M206259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=Sum({&amp;lt;Year={$(=Year(Today() - 1))},Month={$(=Month(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Today() - 1&lt;/SPAN&gt;))},Day={$(=Day(Today()-1))}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;But as tres says its best to use Date field instead.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 06:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1st-Day-Problem/m-p/552173#M206259</guid>
      <dc:creator />
      <dc:date>2013-08-02T06:39:45Z</dc:date>
    </item>
  </channel>
</rss>

