<?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 Forecast not showing with certain selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251385#M1185823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field [Enrollment Count] whose value is populated on daily basis.&lt;/P&gt;&lt;P&gt;Now in the middle of the month, I have to make a forecast for the remaining days of the month for which &lt;/P&gt;&lt;P&gt;I am using this expression : &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;PRE&gt;&lt;PRE&gt;if(not sum([Enrollment Count]),linest_m(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])), Date), Date)* Date&amp;nbsp; +linest_b(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])),Date), Date))&lt;BR /&gt;&lt;/PRE&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This gives me a projection based on regression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also have a field state. If I select a particular state, then the projected values do not come on the chart.&lt;/P&gt;&lt;P&gt;Any particular reason for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Sep 2011 13:04:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-10T13:04:14Z</dc:date>
    <item>
      <title>Forecast not showing with certain selections</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251385#M1185823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field [Enrollment Count] whose value is populated on daily basis.&lt;/P&gt;&lt;P&gt;Now in the middle of the month, I have to make a forecast for the remaining days of the month for which &lt;/P&gt;&lt;P&gt;I am using this expression : &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;PRE&gt;&lt;PRE&gt;if(not sum([Enrollment Count]),linest_m(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])), Date), Date)* Date&amp;nbsp; +linest_b(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])),Date), Date))&lt;BR /&gt;&lt;/PRE&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This gives me a projection based on regression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also have a field state. If I select a particular state, then the projected values do not come on the chart.&lt;/P&gt;&lt;P&gt;Any particular reason for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 13:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251385#M1185823</guid>
      <dc:creator />
      <dc:date>2011-09-10T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Forecast not showing with certain selections</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251386#M1185824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;if(not sum([Enrollment Count]),&lt;/P&gt;&lt;P&gt; linest_m(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])), Date), Date)* Date &lt;/P&gt;&lt;P&gt;+linest_b(total aggr(if(sum([Enrollment Count]),sum([Enrollment Count])),Date), Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;The expression that I am using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 13:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251386#M1185824</guid>
      <dc:creator />
      <dc:date>2011-09-10T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Forecast not showing with certain selections</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251387#M1185825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If may be due to the forecast dates not being associated with any states. Once you select something only the associated data will be displayed - the "associative" experience. This is the default functionality of qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try concatenating the forecast data to your fact table for each state. This will allow you to select a state and still have the forecast dates be associated. If done correctly, your forecast will still display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 19:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251387#M1185825</guid>
      <dc:creator />
      <dc:date>2012-03-14T19:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forecast not showing with certain selections</title>
      <link>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251388#M1185826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, you could do this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;UniqueStates:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATES //Change to your actual state field name&lt;/P&gt;&lt;P&gt;RESIDENT #FactTabelName; //#FactTableName should be your table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = 15 to 30 //From day 15 to day 30 - assuming 30 days&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE (&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;#FactTabelName&lt;/SPAN&gt;) &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;//#FactTableName should be your table name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATES //Change to your actual state field name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,MakeDate(2012,3,$(i)) as Date //creates date for each remaining day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;UniqueStates&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 19:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forecast-not-showing-with-certain-selections/m-p/251388#M1185826</guid>
      <dc:creator />
      <dc:date>2012-03-14T19:11:42Z</dc:date>
    </item>
  </channel>
</rss>

