<?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 Criteria in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910551#M12604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let's hope this work for next year. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 23:12:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-22T23:12:20Z</dc:date>
    <item>
      <title>SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910545#M12598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I have made a similar question before, but I don't know if this apply as the one before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example data attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is about this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[Fiscal Year]={'$(=Year(TODAY()))'}&amp;gt;}[Netsales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I understand this is: Sum all Netsales that criteria for [Fiscal Year] is today's year is 2015. out Fiscal Year end on sept 30th, but if today were Oct 1st, 2015, that formula will still show year 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now, within the date table, I have Date field that can match the Fiscal Year field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 21:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910545#M12598</guid>
      <dc:creator />
      <dc:date>2015-07-22T21:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910546#M12599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would want to see Sales for FY2016 after Oct 1st, 2015??? May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Fiscal Year] = {"$(=Max([Fiscal Year]))"}&amp;gt;} Netsales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910546#M12599</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-22T22:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910547#M12600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no work... tried that... my tables have fiscal year 2016. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910547#M12600</guid>
      <dc:creator />
      <dc:date>2015-07-22T22:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910548#M12601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910548#M12601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-22T22:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910549#M12602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I want to see Fiscal Year 2015, without any need to have the filter selected. If I use Max Fiscal Year, I have 2016 in there. so this is giving me 2016 data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Date table have everything that can be matched, but don't know how to tell using expression that&lt;/P&gt;&lt;P&gt;sum all netsales that fiscal year is today's date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, once I have this information, if I reach Oct 1st, 2015 which is Fiscal Year 2016, it will go there automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure if you get it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910549#M12602</guid>
      <dc:creator />
      <dc:date>2015-07-22T22:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910550#M12603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&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;&lt;BR /&gt;&lt;/STRONG&gt;&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;[Fiscal Year] = {"$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If(Num(Month(Today())) = 10, &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year(Today()) + 1, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year(Today()))&lt;/SPAN&gt;&lt;/SPAN&gt;)"}&amp;gt;} Netsales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give Fiscal Year 2015 until 30th Sept 2015 and on Oct 1st it should give you Fiscal Year 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you wanted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 22:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910550#M12603</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-22T22:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910551#M12604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let's hope this work for next year. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 23:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910551#M12604</guid>
      <dc:creator />
      <dc:date>2015-07-22T23:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Criteria</title>
      <link>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910552#M12605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for trying, see if this work and gives you 2016&lt;/P&gt;&lt;P&gt;&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;[Fiscal Year] = {"$(=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;If(Num(Month(AddMonths(Today(), 4))) = 10, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Year(Today()) + 1,&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Year(Today()))&lt;/SPAN&gt;&lt;/SPAN&gt;)"}&amp;gt;} Netsales)&lt;/STRONG&gt;&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;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If this gives you result for 2016, I don't see why the above expression won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 23:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SUM-Criteria/m-p/910552#M12605</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-22T23:59:42Z</dc:date>
    </item>
  </channel>
</rss>

