<?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 Set analysis &amp; forecasting question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194597#M55432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone is able to give me a clue as to how to do this or let me know whether it's possible or not please let me know you're inputs will be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Qliking!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 19:03:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-21T19:03:16Z</dc:date>
    <item>
      <title>Set analysis &amp; forecasting question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194596#M55431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Please consider the following:&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://community.qlik.com/resized-image.ashx/__size/550x550/__key/CommunityServer.Discussions.Components.Files/11/2260.Problem.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;2009 MTD Picks = Last year's picks for the relevant month&lt;/LI&gt;&lt;LI&gt;Picks = This year's picks for the relevant month - sum([VALID PICK])&lt;/LI&gt;&lt;LI&gt;Working days in month = The amount of working days this year&lt;/LI&gt;&lt;LI&gt;Projected daily = A forecast figure: Picks 2010 / Working days in month. If isnull([PICKS 2010]) then the figure is equal to the sum of projected daily for the last 3 months / 3 (Eg - January = 4578 / 22 and November = 205+207+201 / 3&lt;/LI&gt;&lt;LI&gt;Projected monhtly = Projected daily * Working days in month&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having problems with the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For 2010 I only have data up until June, but [Month] should always be from January - December irrespective of year or month selected.&lt;/LI&gt;&lt;LI&gt;Could someone help me perhaps with the set analysis for the 2009 MTD picks figure?&lt;/LI&gt;&lt;LI&gt;Projected daily - How to calculate the 3 previous' months when there is no data for [PICKS 2010]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if someone could please help me with the above I should be able to complete the rest to finish my model.&lt;/P&gt;&lt;P&gt;Any suggestions on making things simpler would also be appreciated alot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jun 2010 16:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194596#M55431</guid>
      <dc:creator />
      <dc:date>2010-06-20T16:35:36Z</dc:date>
    </item>
    <item>
      <title>Set analysis &amp; forecasting question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194597#M55432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone is able to give me a clue as to how to do this or let me know whether it's possible or not please let me know you're inputs will be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Qliking!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 19:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194597#M55432</guid>
      <dc:creator />
      <dc:date>2010-06-21T19:03:16Z</dc:date>
    </item>
    <item>
      <title>Set analysis &amp; forecasting question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194598#M55433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything you've described should be possible in QlikView.&lt;/P&gt;&lt;P&gt;I believe that once you define the set for 2009 MTD picks, you'll solve the missing months issue.&lt;/P&gt;&lt;P&gt;The easest way to get the set for your MTD 2009 picks would be to ensure that you have a 'year' field associated with the picks, and then:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;PickYear = {'2009'}&amp;gt;} [Valid Pick])&lt;/P&gt;&lt;P&gt;Optionally, you might also want to make it dynamic, as opposed to hard coding the year.&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;PickYear = {$'=year(today())'}&amp;gt;} [Valid Pick]) (sorry, my syntax is likely wrong, dollar sign expansion and I are not good friends… But you get the idea.&lt;/P&gt;&lt;P&gt;The projected daily is just more of the same. Inside an if, you would resolve your if statement, and if picks 2010 contains nothing, then you could either re-calculate out the projected daily using set analysis, which would be nasty… or you might be able to internally reference the table using column or row functions. I haven't ever tried to do this personally, but I imagine it would work. They may also be another way to do it, using 'pick' or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 20:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-forecasting-question/m-p/194598#M55433</guid>
      <dc:creator />
      <dc:date>2010-06-21T20:19:29Z</dc:date>
    </item>
  </channel>
</rss>

