<?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 Rolling and ytd calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656342#M730742</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to find rolling and YTD revenue. rolling month starts from september and ends on august. I have two years of data sep-2019 to aug-2018. i have a text object where current year and last revenue will be displayed. so, when i select rolling in the filter, in the text object revenue should displayed as currrent year rolling revenue and last year rolling revenue.&lt;/P&gt;&lt;P&gt;when i'm using the below code to get revenue, the current year revenue is coming up to be zero and last year revenue is getting switched with current year revenue. Attaching the screenshot of the dashboard for your reference.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25321iBF082B327720510E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image2.png" alt="image2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;='Current Year:'&amp;amp; Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today()),9,1) )&amp;lt;=$(=MakeDate(Year(Today())+1,8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;BR /&gt;&amp;amp; ' Last Year:'&amp;amp;Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today())-1,9,1) )&amp;lt;=$(=MakeDate(Year(Today()),8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>saichawan</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656342#M730742</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to find rolling and YTD revenue. rolling month starts from september and ends on august. I have two years of data sep-2019 to aug-2018. i have a text object where current year and last revenue will be displayed. so, when i select rolling in the filter, in the text object revenue should displayed as currrent year rolling revenue and last year rolling revenue.&lt;/P&gt;&lt;P&gt;when i'm using the below code to get revenue, the current year revenue is coming up to be zero and last year revenue is getting switched with current year revenue. Attaching the screenshot of the dashboard for your reference.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25321iBF082B327720510E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image2.png" alt="image2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;='Current Year:'&amp;amp; Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today()),9,1) )&amp;lt;=$(=MakeDate(Year(Today())+1,8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;BR /&gt;&amp;amp; ' Last Year:'&amp;amp;Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today())-1,9,1) )&amp;lt;=$(=MakeDate(Year(Today()),8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656342#M730742</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656440#M730743</link>
      <description>&lt;P&gt;your syntax for current year results in week &amp;gt;= 1.9.2019 &amp;lt;=31.8.2020&amp;nbsp;&lt;BR /&gt;for last Year results in week&amp;gt;=1.9.2018&amp;lt;=31.8.2019&lt;/P&gt;&lt;P&gt;is that what you want? your current year starts sept 2019 and end aug 2020?&lt;BR /&gt;If yes: what format is week?&lt;/P&gt;&lt;P&gt;Does your next textobject retail quantity show correct numbers? If yes, copy that expression and adapt it to your revenue&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 10:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656440#M730743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T10:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656445#M730744</link>
      <description>&lt;P&gt;I'm attaching you the sample data, if that helps you in understanding&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 11:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656445#M730744</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-11T11:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656446#M730745</link>
      <description>&lt;P&gt;rolling current year will be- from 2018-sep to 2019- aug and for rolling last year, 2017-sep to 2018-aug&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 11:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656446#M730745</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-11T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656512#M730746</link>
      <description>&lt;P&gt;so change to&lt;/P&gt;&lt;P&gt;='Current Year:'&amp;amp; Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today()&lt;STRONG&gt;-1&lt;/STRONG&gt;),9,1) )&amp;lt;=$(=MakeDate(Year(Today(&lt;STRONG&gt;))&lt;/STRONG&gt;,8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;BR /&gt;&amp;amp; ' Last Year:'&amp;amp;Num(Sum({&amp;lt;[week] = {"&amp;gt;=$(=MakeDate(Year(Today())&lt;STRONG&gt;-2&lt;/STRONG&gt;,9,1) )&amp;lt;=$(=MakeDate(Year(Today()&lt;STRONG&gt;-1&lt;/STRONG&gt;),8,30) )"}&amp;gt; } NET_SLS_AMT/1000000),'##.00')&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 13:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656512#M730746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-11T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656864#M730748</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;With the above formula, rolling current year and rolling last year values are coming out to be same.&lt;/P&gt;&lt;P&gt;PFA&amp;gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25398i103343223B0EC2FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 06:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1656864#M730748</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-12T06:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling and ytd calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1659043#M730752</link>
      <description>&lt;P&gt;Check the following Design Blog link regarding the rolling component:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is another one on Set Analysis that may be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is the base URL for the Design Blog area, so you can search on your own if you wish to dig for additional posts, there are hundreds of posts in this area from our internal experts that are mostly how-to related, so should be a good place to look for ideas in the future.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-and-ytd-calculation/m-p/1659043#M730752</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-18T14:35:28Z</dc:date>
    </item>
  </channel>
</rss>

