<?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: sum to current date selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321250#M617444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Make sure that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FinResultsDate &lt;/STRONG&gt;is in dual format, to check put =max(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FinResultsDate) &lt;/STRONG&gt;in text object if it returns number then it is in dual format. If so below expression should work&lt;/SPAN&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;&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;sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, FinResultsDate={'&amp;gt;=$(=&lt;STRONG&gt;date(date#(&lt;/STRONG&gt;'01/09/2016',&lt;STRONG&gt;'DD/MM/YYYY'),'MMM-YY')&lt;/STRONG&gt;)&amp;lt;=$(=max(FinResultsDate))'}&amp;gt;} [USD amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 10:45:54 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-05-24T10:45:54Z</dc:date>
    <item>
      <title>sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321242#M617436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to add expenditure to current selection using: =sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, FinResultsDate={'&amp;gt;=$(=date('01/09/2016','MMM-YY')) &amp;lt;=$(=date(max(FinResultsDate),'MMM-YY'))'}&amp;gt;} [USD amount]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My year starts in september. Anyhelp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 13:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321242#M617436</guid>
      <dc:creator>mogaka1234</dc:creator>
      <dc:date>2017-05-23T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321243#M617437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say this?&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;=sum({&amp;lt;&lt;STRONG&gt;expenditure=,&lt;/STRONG&gt; [A/C Type]={'Direct Staff Costs*'}, FinResultsDate={'&amp;gt;=$(=date('01/09/2016','MMM-YY')) &amp;lt;=$(=date(max(FinResultsDate),'MMM-YY'))'}&amp;gt;} [USD amount])&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;Or Is there any error you are seeing?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 15:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321243#M617437</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-23T15:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321244#M617438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be - &lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, &lt;/P&gt;&lt;P&gt;&amp;nbsp; FinResultsDate={"$(='&amp;gt;=' &amp;amp; date(makedate(2016,09,01),'MMM-YY')&amp;amp;'&amp;lt;='&amp;amp; date(max(FinResultsDate),'MMM-YY'))"}&amp;gt;} [USD amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 15:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321244#M617438</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-05-23T15:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321245#M617439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting zeros:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="475" style="width: 641px; height: 477px;" width="641"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;FinResultDate&lt;/TD&gt;&lt;TD class="xl66" width="98"&gt;Cost GL&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="98"&gt;A/C Type&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="98"&gt;=sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, FinResultsDate={"&amp;gt;=Sep-16&amp;lt;=Mar-17"}&amp;gt;} [USD amount])&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Apr 17&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Mar 17&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;11.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Feb 17&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;13.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Jan 17&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;17.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Dec 16&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2,001.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Nov 16&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;11.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Oct 16&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Sep 16&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.00&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Direct Staff Costs&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 21:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321245#M617439</guid>
      <dc:creator>mogaka1234</dc:creator>
      <dc:date>2017-05-23T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321246#M617440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FinResultsDate you have in your data?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 22:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321246#M617440</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-05-23T22:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321247#M617441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to avoid date specific formatting inside set expression as far as possible, check this as well - &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;=sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; FinResultsDate={"$(='&amp;gt;=' &amp;amp;chr(39)&amp;amp; date(makedate(2016,09,01),'MMM-YY')&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;chr(39)&lt;/SPAN&gt;&amp;amp;'&amp;lt;='&amp;amp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;chr(39)&amp;amp;&lt;/SPAN&gt;date(max(FinResultsDate),'MMM-YY'))&amp;amp;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;chr(39)&lt;/SPAN&gt;"}&amp;gt;} [USD amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 22:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321247#M617441</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-05-23T22:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321248#M617442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still getting 0. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="AAAA.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164555_AAAA.PNG" style="height: 45px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321248#M617442</guid>
      <dc:creator>mogaka1234</dc:creator>
      <dc:date>2017-05-24T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321249#M617443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FinResultDate is in the format MMM-YY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 08:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321249#M617443</guid>
      <dc:creator>mogaka1234</dc:creator>
      <dc:date>2017-05-24T08:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321250#M617444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Make sure that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FinResultsDate &lt;/STRONG&gt;is in dual format, to check put =max(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FinResultsDate) &lt;/STRONG&gt;in text object if it returns number then it is in dual format. If so below expression should work&lt;/SPAN&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;&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;sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, FinResultsDate={'&amp;gt;=$(=&lt;STRONG&gt;date(date#(&lt;/STRONG&gt;'01/09/2016',&lt;STRONG&gt;'DD/MM/YYYY'),'MMM-YY')&lt;/STRONG&gt;)&amp;lt;=$(=max(FinResultsDate))'}&amp;gt;} [USD amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 10:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321250#M617444</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-05-24T10:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321251#M617445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, This worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321251#M617445</guid>
      <dc:creator>mogaka1234</dc:creator>
      <dc:date>2017-05-24T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321252#M617446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark the answer as correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 12:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321252#M617446</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-05-24T12:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum to current date selection</title>
      <link>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321253#M617447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will work correctly when you have the dual format &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 10:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-to-current-date-selection/m-p/1321253#M617447</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2017-05-26T10:10:41Z</dc:date>
    </item>
  </channel>
</rss>

