<?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: % of Total Across multiple years per entity in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517279#M36870</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you mean you want to calculate something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Month,Product&amp;gt; Sales)/sum(total&amp;nbsp;&amp;lt;Product&amp;gt; Sales)&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is for example the calculation for product but this function you need to include both Month and Product as dimensions in you table&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 10:54:52 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2018-12-06T10:54:52Z</dc:date>
    <item>
      <title>% of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517270#M36868</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How do I calculate in set analysis:&lt;/P&gt;&lt;P&gt;Total of a Month (across all the years) / Total of all month (across all the years)&lt;/P&gt;&lt;P&gt;for each individual entity ?&lt;/P&gt;&lt;P&gt;As in Sum(Jan 2015 + Jan 2016 + Jan 2017 etc..) / Sum(All Month 2015 + All Month 2016 + All Month 2017 etc...) but this should be per Entity.&lt;/P&gt;&lt;P&gt;I know that I need to use AGGR and SUM and TOTAL in some way, but it doesn't seem to work. What I am getting is the % from the grand total of the whole table, rather then just per single month per single entity?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asdasdasdasasdasd.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1707iE2D1747D60A9190A/image-size/large?v=v2&amp;amp;px=999" role="button" title="asdasdasdasasdasd.png" alt="asdasdasdasasdasd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VB&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517270#M36868</guid>
      <dc:creator>basildur</dc:creator>
      <dc:date>2024-11-16T07:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517279#M36870</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you mean you want to calculate something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Month,Product&amp;gt; Sales)/sum(total&amp;nbsp;&amp;lt;Product&amp;gt; Sales)&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is for example the calculation for product but this function you need to include both Month and Product as dimensions in you table&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517279#M36870</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2018-12-06T10:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517284#M36872</link>
      <description>&lt;P&gt;Hi Lironbaram, this actually worked and is closer to what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think it is possible to modify this to calculate only over last 3 years ? Our upsell team would like to use it as a sort of seasonality indicator. So if we are in 2018 calculate this over 15/16/17, if 2019 over 16/17/18 etc...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 11:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517284#M36872</guid>
      <dc:creator>basildur</dc:creator>
      <dc:date>2018-12-06T11:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517288#M36874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be this will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={'*'},Month{'Jan'}&amp;gt;}total Sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;Year={'*'}&amp;gt;}total Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saniya.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 11:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517288#M36874</guid>
      <dc:creator>saniyask</dc:creator>
      <dc:date>2018-12-06T11:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517292#M36875</link>
      <description>Hi, this is pretty obvious, I would rather go with something like Sum({$&amp;lt;Year={$(=Max(Year)-3)}&amp;gt;} .... but not sure how to do it correctly</description>
      <pubDate>Thu, 06 Dec 2018 11:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517292#M36875</guid>
      <dc:creator>basildur</dc:creator>
      <dc:date>2018-12-06T11:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517295#M36877</link>
      <description>&lt;P&gt;hi Yes&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can add set analysis to this argument&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the last 3 years in your data you can use :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;=$(=max(year)-2)"}&amp;gt;}total &amp;lt;Month,Product&amp;gt; Sales)&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;Year={"&amp;gt;=$(=max(year)-2)"}&amp;gt;}total &amp;lt;Product&amp;gt; Sales)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for the previous 3 year from the current year you can use&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;=$(=year(today())-3) &amp;lt;=&lt;SPAN&gt;$(=year(today())&lt;/SPAN&gt;&lt;SPAN&gt;-1)&amp;nbsp;&lt;/SPAN&gt;"}&amp;gt;}total &amp;lt;Month,Product&amp;gt; Sales)&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;Year={"&amp;gt;=$(=year(today())-3) &amp;lt;=$(=year(today())-1)&amp;nbsp;"}&amp;gt;}total &amp;lt;Product&amp;gt; Sales)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 11:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517295#M36877</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2018-12-06T11:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total Across multiple years per entity</title>
      <link>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517310#M36881</link>
      <description>Thanks Lironbaram, this is exactly what I need, as eventually I will not be showing the Sales per year, but rather just use the calculation you provided as a Seasonality percentage! Excellent!&lt;BR /&gt;Much appreciated!</description>
      <pubDate>Thu, 06 Dec 2018 11:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/of-Total-Across-multiple-years-per-entity/m-p/1517310#M36881</guid>
      <dc:creator>basildur</dc:creator>
      <dc:date>2018-12-06T11:31:49Z</dc:date>
    </item>
  </channel>
</rss>

