<?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: YTD Sales after selecting a Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124266#M18902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;These types of time-related set expressions can get so messy.&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;You should try &lt;A class="jive-link-external-small" href="https://github.com/cammer/QlikRTP" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;QlikRTP&lt;/A&gt;!&amp;nbsp; It's free.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can read about it in my post, &lt;A _jive_internal="true" data-containerid="2156" data-containertype="14" data-objectid="20433" data-objecttype="102" href="https://community.qlik.com/docs/DOC-20433" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;here&lt;/A&gt;.&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;RTP stands for Relative Time Periods.&amp;nbsp; This script leverages your existing month dimension to add the following relative time elements to your app:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To-Date ranges such as YTD and QTD&lt;/LI&gt;&lt;LI&gt;Relative time periods such as "Previous Year", "Previous Month", or “same period last year”&lt;/LI&gt;&lt;LI&gt;Rolling periods which are used for moving averages. (Ex. "Rolling 3 month average")&lt;/LI&gt;&lt;LI&gt;Year-over-Year and MoM growth metrics&lt;/LI&gt;&lt;/UL&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;Not only that, these RTPs will work for any anchor month! (not just the current period)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This approach greatly simplifies your measures by only requiring two set modifiers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2018 19:00:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-14T19:00:34Z</dc:date>
    <item>
      <title>YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124263#M18899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a pivot table and I want to show the YTD sales after the user has selected a specific Year and Month.&lt;/P&gt;&lt;P&gt;I'm using this expression, but it's just summing until last month's data.&amp;nbsp; For example if selected June, it's summing Jan through May.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MonthEndDate={"&amp;gt;=$(=YearStart(Max(MonthEndDate)))&amp;lt;=$(=Date(Max(MonthEndDate)))"}&amp;gt;}Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data in the table is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 420px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="88"&gt;Year&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="89"&gt;Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="119"&gt;MonthEndDate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="124"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;01&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3,461.40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;02&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3,839.57&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;03&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3,676.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;04&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3,938.82&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;05&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4,667.89&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;06&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;6/1/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;533.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;07&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;7/31/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;08&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;8/31/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;09&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;9/30/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;10/31/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;11/30/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2018&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;12/31/18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124263#M18899</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2018-07-09T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124264#M18900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&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;STRONG&gt;Sum({&amp;lt;MonthEndDate={"&amp;gt;=$(=YearStart(Max(MonthEndDate)))&amp;lt;=$(=Date(Max(MonthEndDate)&lt;SPAN style="color: #ff0000;"&gt;+1&lt;/SPAN&gt;))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124264#M18900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-09T16:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124265#M18901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent!&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 17:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124265#M18901</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2018-07-09T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124266#M18902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;These types of time-related set expressions can get so messy.&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;You should try &lt;A class="jive-link-external-small" href="https://github.com/cammer/QlikRTP" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;QlikRTP&lt;/A&gt;!&amp;nbsp; It's free.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can read about it in my post, &lt;A _jive_internal="true" data-containerid="2156" data-containertype="14" data-objectid="20433" data-objecttype="102" href="https://community.qlik.com/docs/DOC-20433" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;here&lt;/A&gt;.&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;RTP stands for Relative Time Periods.&amp;nbsp; This script leverages your existing month dimension to add the following relative time elements to your app:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To-Date ranges such as YTD and QTD&lt;/LI&gt;&lt;LI&gt;Relative time periods such as "Previous Year", "Previous Month", or “same period last year”&lt;/LI&gt;&lt;LI&gt;Rolling periods which are used for moving averages. (Ex. "Rolling 3 month average")&lt;/LI&gt;&lt;LI&gt;Year-over-Year and MoM growth metrics&lt;/LI&gt;&lt;/UL&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;Not only that, these RTPs will work for any anchor month! (not just the current period)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This approach greatly simplifies your measures by only requiring two set modifiers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 19:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124266#M18902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T19:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124267#M18903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I need the sum of the whole year, no matter the selected month.&amp;nbsp; Could you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this expression, but once any month is selected it will sum the first 11 months of the year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;MonthEndDate={"&amp;gt;=$(=YearStart(Max(MonthEndDate)))&amp;lt;$(=YearEnd(Max(MonthEndDate)+1))"}&amp;gt;}Budget)&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, 24 Oct 2018 22:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124267#M18903</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2018-10-24T22:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales after selecting a Month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124268#M18904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthEndDate = {"&amp;gt;=$(=YearStart(Max(MonthEndDate)))&amp;lt;=$(=Date(Floor(YearEnd(Max(MonthEndDate)))))"}&amp;gt;} Budget)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 00:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-after-selecting-a-Month/m-p/124268#M18904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-25T00:36:20Z</dc:date>
    </item>
  </channel>
</rss>

