<?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 Seasonal Budget vs. Actuals in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Seasonal-Budget-vs-Actuals/m-p/1571438#M41644</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to visualize a "simple" Actuals vs. Budget chart. Actuals are available every month, buget once a year.&lt;BR /&gt;I can easily add a linear budget by dividing the sum by 12:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10611iBBAE84C14FD2BBEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want to get to is this: The budget is multiplied by the relative sum of actuals per month.&lt;/P&gt;&lt;P&gt;Or in other words: Let's say May contributes 5% in 2017 and 15% in 2018 to the yearly total. So in average, I would expect 10% of the budget in 2019 to be shown in May.&lt;/P&gt;&lt;P&gt;What I cannot figure out is how to write the set analysis to calculate this 10% and apply it to the May values (and other months respectively).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is some sample data.&amp;nbsp;&lt;BR /&gt;It contains two countries, that might have different seasonal effects, so the seasonality factor should be calculated depending on the selection.&lt;/P&gt;&lt;P&gt;Appreciate any suggestions or ideas!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently playing around with formulas like this to get the total for a month from 2017 and 2018. Having this, I could divide it by the total actuals for those two years:&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(Sum({&amp;lt;Year={2017,2018}&amp;gt;} Actuals), Month))&lt;/PRE&gt;&lt;P&gt;When displaying this data in a table, it does only return values for 2017, so something seems to be missing:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture2.PNG" style="width: 847px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10612i11E5621FB59F7ACF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 17:13:47 GMT</pubDate>
    <dc:creator>bhorneber</dc:creator>
    <dc:date>2019-04-19T17:13:47Z</dc:date>
    <item>
      <title>Seasonal Budget vs. Actuals</title>
      <link>https://community.qlik.com/t5/App-Development/Seasonal-Budget-vs-Actuals/m-p/1571438#M41644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to visualize a "simple" Actuals vs. Budget chart. Actuals are available every month, buget once a year.&lt;BR /&gt;I can easily add a linear budget by dividing the sum by 12:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10611iBBAE84C14FD2BBEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want to get to is this: The budget is multiplied by the relative sum of actuals per month.&lt;/P&gt;&lt;P&gt;Or in other words: Let's say May contributes 5% in 2017 and 15% in 2018 to the yearly total. So in average, I would expect 10% of the budget in 2019 to be shown in May.&lt;/P&gt;&lt;P&gt;What I cannot figure out is how to write the set analysis to calculate this 10% and apply it to the May values (and other months respectively).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is some sample data.&amp;nbsp;&lt;BR /&gt;It contains two countries, that might have different seasonal effects, so the seasonality factor should be calculated depending on the selection.&lt;/P&gt;&lt;P&gt;Appreciate any suggestions or ideas!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently playing around with formulas like this to get the total for a month from 2017 and 2018. Having this, I could divide it by the total actuals for those two years:&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(Sum({&amp;lt;Year={2017,2018}&amp;gt;} Actuals), Month))&lt;/PRE&gt;&lt;P&gt;When displaying this data in a table, it does only return values for 2017, so something seems to be missing:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture2.PNG" style="width: 847px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10612i11E5621FB59F7ACF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 17:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Seasonal-Budget-vs-Actuals/m-p/1571438#M41644</guid>
      <dc:creator>bhorneber</dc:creator>
      <dc:date>2019-04-19T17:13:47Z</dc:date>
    </item>
  </channel>
</rss>

