<?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 Historical aggregations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760045#M453990</link>
    <description>&lt;P&gt;Is there some way to accomplish the yellow columns in a straight chart or do I have to figure this out in script and my data model instead?&amp;nbsp; The idea is to try to get an average from the same service month but from the prior year to make a prediction as to how many more cases we should release for the actual "current" service month of interest.&amp;nbsp; I can't seem to figure out what my expression/set analysis should look like to generate those expression values for columns G and H based on the date/timeframe in column F.&amp;nbsp; Columns C and F technically are using the same Service calendar in my month.&amp;nbsp; &amp;nbsp;Also, ideally columns G and H would be static and always be the same value for a given Group and Plan combination.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="rel est.GIF" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43856i5FCC8DD817B6D7BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="rel est.GIF" alt="rel est.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:39:35 GMT</pubDate>
    <dc:creator>kdmarkee</dc:creator>
    <dc:date>2024-11-15T23:39:35Z</dc:date>
    <item>
      <title>Historical aggregations</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760045#M453990</link>
      <description>&lt;P&gt;Is there some way to accomplish the yellow columns in a straight chart or do I have to figure this out in script and my data model instead?&amp;nbsp; The idea is to try to get an average from the same service month but from the prior year to make a prediction as to how many more cases we should release for the actual "current" service month of interest.&amp;nbsp; I can't seem to figure out what my expression/set analysis should look like to generate those expression values for columns G and H based on the date/timeframe in column F.&amp;nbsp; Columns C and F technically are using the same Service calendar in my month.&amp;nbsp; &amp;nbsp;Also, ideally columns G and H would be static and always be the same value for a given Group and Plan combination.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="rel est.GIF" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43856i5FCC8DD817B6D7BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="rel est.GIF" alt="rel est.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760045#M453990</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2024-11-15T23:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Historical aggregations</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760339#M454013</link>
      <description>&lt;P&gt;Hi kdmarkee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that no, you won't have exactly the same&lt;SPAN&gt;&amp;nbsp;chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But you do can have all the needed information&amp;nbsp;in a straight chart, if you use the info of column F (same month last year) as a label for columns G and H, and bring the content of those using Set Analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think this would be the best Qlik solution for your question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760339#M454013</guid>
      <dc:creator>Marcos_Ferreira_dos_Santos</dc:creator>
      <dc:date>2020-11-10T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Historical aggregations</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760487#M454018</link>
      <description>&lt;P&gt;I'm not sure I follow your post, but if you are suggesting I should be able to generate columns G and H from F, it is that very thing that I cannot seem to figure out the correct syntax and set analysis for.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 22:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760487#M454018</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2020-11-10T22:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Historical aggregations</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760506#M454019</link>
      <description>&lt;P&gt;there are two ways of accomplishing this, one is to create a bridge that relates current month with the month 1 year after - i prefer that as the calculation is done in the script and offloads your UI.&amp;nbsp; another is simpler, add a common field across years - which is the month of your , add year of the date:&lt;BR /&gt;&lt;BR /&gt;sample data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;data:&lt;BR /&gt;load date(today()-Rowno()*5) as Date, MonthStart(today()-Rowno()*5) as Month, num(Month(today()-Rowno()*5)) as MonthNum, Year(today()-Rowno()*5) as YearNum, rand()*100 as Amount AutoGenerate(365);&lt;/P&gt;&lt;P&gt;create two variables: the current year selected and compute the year after that:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; currentYear :&amp;nbsp; &amp;nbsp; &amp;nbsp;=only(YearNum)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nextYear:&amp;nbsp;&amp;nbsp;=currentYear+1&lt;/P&gt;&lt;P&gt;make these variables immediate as you will use it in your set analysis&lt;/P&gt;&lt;P&gt;and in your chart, use MonthNum as your dimension, since it is related to all years, you can display any year in your chart with the same month.&amp;nbsp; then create two calculated dimensions to show current year months and next year's months:&lt;BR /&gt;=date(MonthNum&amp;amp;'/1/'&amp;amp;$(currentYear))&lt;BR /&gt;=date(MonthNum&amp;amp;'/1/'&amp;amp;$(nextYear))&lt;/P&gt;&lt;P&gt;and expressions:&lt;BR /&gt;=sum({&amp;lt;YearNum={$(currentYear)}, Month=&amp;gt;}Amount)&lt;BR /&gt;=sum({&amp;lt;YearNum={$(nextYear)}, Month=&amp;gt;}Amount)&lt;BR /&gt;&lt;BR /&gt;this assumes your user selects a Month for example to identify the current year:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1605060358177.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43934iE9CEA5BABAAD3771/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1605060358177.png" alt="edwin_0-1605060358177.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 02:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1760506#M454019</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-11-11T02:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Historical aggregations</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1761614#M454069</link>
      <description>&lt;P&gt;Thanks for this idea.&amp;nbsp; I implemented something very similar and, unlike your sample, in order to only show the Month of interest I created a calculated dimension to hide the rows for the other months.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 16:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-aggregations/m-p/1761614#M454069</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2020-11-13T16:04:07Z</dc:date>
    </item>
  </channel>
</rss>

