<?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: Show Data points only for future years in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522248#M7661</link>
    <description>&lt;P&gt;I used the If statement:&lt;/P&gt;&lt;P&gt;If(Year&amp;gt;Year(Today()),1,'')&lt;/P&gt;&lt;P&gt;Works as a charm and thansk a ton Sunny!&lt;/P&gt;</description>
    <pubDate>Tue, 18 Dec 2018 15:11:16 GMT</pubDate>
    <dc:creator>ZoeM</dc:creator>
    <dc:date>2018-12-18T15:11:16Z</dc:date>
    <item>
      <title>Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522219#M7654</link>
      <description>&lt;P&gt;Community,&lt;/P&gt;&lt;P&gt;Happy Holiday Season.&lt;/P&gt;&lt;P&gt;I have a combo line/bar chart with Year as the x-axis range. I have dates ranging from 2012 through 2022.&lt;/P&gt;&lt;P&gt;I have 3 data points, Actual, Plan, and Forecast. For the forecast data point, I want it to show only for future years, as it does not make sense to have forecast for past years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the following conditional expression under expressions:&lt;/P&gt;&lt;P&gt;If(IsNull( GetFieldSelections(Year)),Year&amp;gt;Today()) ,&lt;/P&gt;&lt;P&gt;meaning if there is no year selected only show data points for future years greater than today. The forecast value is simply 1 or 100%.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your ever valuable help!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 14:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522219#M7654</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-12-18T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522221#M7655</link>
      <description>Perhaps something like sum({&amp;lt;Year={"&amp;gt;$(=Year(Today()))"}&amp;gt;}Forecast)</description>
      <pubDate>Tue, 18 Dec 2018 14:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522221#M7655</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-12-18T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522231#M7657</link>
      <description>&lt;P&gt;Do you use Year as a dimension? If you do... then may be you can use this as a calculated dimension&lt;/P&gt;&lt;PRE&gt;If(Year &amp;gt; Year(Today()), Year)&lt;/PRE&gt;&lt;P&gt;or you can use set analysis in your expression&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;Year = {"$(='&amp;gt;' &amp;amp; Year(Today())"}&amp;gt;} Measure)&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Dec 2018 14:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522231#M7657</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-18T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522237#M7659</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chart.JPG" style="width: 612px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2363i69C3066C306FF10D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Chart.JPG" alt="Chart.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Above is my chart. As you can see, the "Forecast" amounts are showing through the entire range of years. The expression for Forecast is simply, =1, because it is 100%. I'm not sure if I can use Set Analysis as the expression, and I am using Year as my dimension. I do not think I can use a calculated dimension because I need all the years to show the trend...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 14:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522237#M7659</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-12-18T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522243#M7660</link>
      <description>&lt;P&gt;set analysis for forecast expression should do the job for you... give it a try... or you can use if statement for forecast expression&lt;/P&gt;&lt;P&gt;If(Year &amp;gt; Year(Today()), ForecastExpression)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 15:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522243#M7660</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-18T15:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show Data points only for future years</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522248#M7661</link>
      <description>&lt;P&gt;I used the If statement:&lt;/P&gt;&lt;P&gt;If(Year&amp;gt;Year(Today()),1,'')&lt;/P&gt;&lt;P&gt;Works as a charm and thansk a ton Sunny!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 15:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Show-Data-points-only-for-future-years/m-p/1522248#M7661</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-12-18T15:11:16Z</dc:date>
    </item>
  </channel>
</rss>

