<?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: Variations of calculations, using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421282#M798405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Year=, Month=, Quarter=, Week=, Date_ID={"&amp;gt;=$(=num(AddMonths(MonthStart(Date(Max(Date_ID))), -13)))&amp;lt;=$(=num(AddMonths(Date(Max(Date_ID)), -1)))"}&amp;gt;} Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Note: You can play with the number of months. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Dec 2017 15:35:00 GMT</pubDate>
    <dc:creator>venelin_rs</dc:creator>
    <dc:date>2017-12-18T15:35:00Z</dc:date>
    <item>
      <title>Variations of calculations, using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421281#M798404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this is possible, within some sort of calculation using variables, but I haven't had much looking getting it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dashboard, working on vMaxYear etc, so when you select 2017 (current year), it will also show another column for the previous year 2016.&lt;/P&gt;&lt;P&gt;However, is it possible to have a rolling 12 months calculation as another column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you select November 2017, you would want to see 3 columns;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Current Year&lt;/STRONG&gt; = Jan to Nov 2017&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Previous Year&lt;/STRONG&gt; = Jan to Nov 2016&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Rolling 12 months&lt;/STRONG&gt; = Dec 2016 to Nov 2017&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't seem to like that combination, so this makes me feel like it's not possible &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;But surely not, this is qlikview the powerful tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be amazing and much appreciated.&lt;/P&gt;&lt;P&gt;Many thanks and Merry Christmas, hope it's a fanastic time with family and a well deserved break.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421281#M798404</guid>
      <dc:creator>marcus_steggall</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variations of calculations, using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421282#M798405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Year=, Month=, Quarter=, Week=, Date_ID={"&amp;gt;=$(=num(AddMonths(MonthStart(Date(Max(Date_ID))), -13)))&amp;lt;=$(=num(AddMonths(Date(Max(Date_ID)), -1)))"}&amp;gt;} Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Note: You can play with the number of months. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 15:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421282#M798405</guid>
      <dc:creator>venelin_rs</dc:creator>
      <dc:date>2017-12-18T15:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variations of calculations, using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421283#M798406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MonthYear = {"&amp;gt;=$(=Date(YearStart(Max(MonthYear)),'MMM YYYY')) &amp;lt;=$(=Date(Max(MonthYear),'MMM YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Previous Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddYears(YearStart(Max(MonthYear)),-1),'MMM YYYY')) &amp;lt;=$(=Date(AddYears(Max(MonthYear),-1),'MMM YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Rolling 12 Months&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddYears(Max(MonthYear),-1),'MMM YYYY')) &amp;lt;=$(=Date(Max(MonthYear),'MMM YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 15:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421283#M798406</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-18T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variations of calculations, using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421284#M798407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for coming back to me so quick &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm I can't seem to get this working, what's your format of MonthYear and Date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 15:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421284#M798407</guid>
      <dc:creator>marcus_steggall</dc:creator>
      <dc:date>2017-12-19T15:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variations of calculations, using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421285#M798408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mine formats are MMM YYYY and DD.MM.YYYY &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 16:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variations-of-calculations-using-set-analysis/m-p/1421285#M798408</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-19T16:14:37Z</dc:date>
    </item>
  </channel>
</rss>

