<?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: Help with ignoring a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728657#M670154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible solution is to put both sales and forecast in one table with only one date-field.&lt;/P&gt;&lt;P&gt;In your graph you can use something like this to show only the periods you want:&lt;/P&gt;&lt;P&gt;Sales: if(Period &amp;gt;= $(vCurrentWeek)-4 and Period &amp;lt;= $(vCurrentWeek) ,sum(Sales),0)&lt;/P&gt;&lt;P&gt;Forecast: if(Period &amp;gt; $(vCurrentWeek) and Period &amp;lt;= $(vCurrentWeek)+10,sum(Forecast),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 04:55:42 GMT</pubDate>
    <dc:creator>geert_gelade</dc:creator>
    <dc:date>2014-10-01T04:55:42Z</dc:date>
    <item>
      <title>Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728656#M670153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to ignore a field? I had two tables and I joined them into one to be able to do a side by side comparison. For example, I have a two date fields in a table now. One is FutureDate and one is PastDate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FutureDate (i.e 201440, 201441) is for forecasts in the future for 20 weeks. &lt;/P&gt;&lt;P&gt;PastDate (201340, 201341) is for sales in the past for 2 years back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the 'Future Date-100 as PastDate'&amp;nbsp; in order to be able to do side by side comparison. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I need the Sales with its original date ... what is the best way to go about doing this? Changing the way it is modeled in the script or using a set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need is 4 weeks of actual sales from current week and 10 weeks of future forecasts in a graph. So if current week was 201440, I would need actual sales for 201439, 201438, 201437, and 201436 and then I would need forecast for 201440 to 201450 in one graph. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? or advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728656#M670153</guid>
      <dc:creator />
      <dc:date>2014-09-30T14:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728657#M670154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible solution is to put both sales and forecast in one table with only one date-field.&lt;/P&gt;&lt;P&gt;In your graph you can use something like this to show only the periods you want:&lt;/P&gt;&lt;P&gt;Sales: if(Period &amp;gt;= $(vCurrentWeek)-4 and Period &amp;lt;= $(vCurrentWeek) ,sum(Sales),0)&lt;/P&gt;&lt;P&gt;Forecast: if(Period &amp;gt; $(vCurrentWeek) and Period &amp;lt;= $(vCurrentWeek)+10,sum(Forecast),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 04:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728657#M670154</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-10-01T04:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728658#M670155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this work if I set my vCurrentWeek = field in my table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a 'snapshot week' field in my table which is always the current week and it is in the Monday date format....Can I set vCurrentWeek= 'snapshot week'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728658#M670155</guid>
      <dc:creator />
      <dc:date>2014-10-01T13:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728659#M670156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it will work, yes. &lt;/P&gt;&lt;P&gt;If not, you can upload a sample of your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 06:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728659#M670156</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-10-02T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728660#M670157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see if you can fix this app? The requirement is that need to be able to see 5 weeks of historical forecast from current week and 10 weeks of future forecast from current week. As well as 5 weeks of actual from current week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If current week = 9/1/2014 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need historical forecast for weeks: 8/25, 8/18, 8/11, 8/4, 7/28&lt;/P&gt;&lt;P&gt;I will need actual sales for weeks: 8/25, &lt;SPAN style="font-size: 13.63636302948px;"&gt;8/18, 8/11, 8/4, 7/28&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to see future forecast for current week: 9/1 and 9/8, 9/15, 9/22, 9/29, so forth until 11/10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 21:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728660#M670157</guid>
      <dc:creator />
      <dc:date>2014-10-02T21:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Help with ignoring a field</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728661#M670158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the result you need ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="135797.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68216_135797.png" style="width: 620px; height: 238px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your app, I think you're mixing up weeks and dates. &lt;/P&gt;&lt;P&gt;I changed the expression for Sales to: &lt;/P&gt;&lt;P&gt;if([calendar_week]&amp;gt;= vCurrentDate- (5*7) and [calendar_week] &amp;lt;= vCurrentDate ,sum(Sales),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 06:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-ignoring-a-field/m-p/728661#M670158</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-10-03T06:42:28Z</dc:date>
    </item>
  </channel>
</rss>

