<?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 Custom trendline using set expression in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Custom-trendline-using-set-expression/m-p/364157#M1113</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 chart that shows YTD actuals by month (so now you'd see 4 columns, Jan to April) and I'd like to show a trendline for average full-year forecast, which would involve a set expression like ﻿﻿﻿﻿sum({$&amp;lt;Scenario = {'Forecast'}, Year = {$(CurrentYear)}, Month = {12}&amp;gt;} YTDCOST).&amp;nbsp; I can't seem to get it to display correctly, maybe because it references a completely different set of data than the Actuals bars.&amp;nbsp; Any help would be appreciated (doesn't have to be represented exactly this way, just want average FY forecast and YTD actuals by month on the same chart somehow).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 17:51:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-23T17:51:08Z</dc:date>
    <item>
      <title>Custom trendline using set expression</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Custom-trendline-using-set-expression/m-p/364157#M1113</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 chart that shows YTD actuals by month (so now you'd see 4 columns, Jan to April) and I'd like to show a trendline for average full-year forecast, which would involve a set expression like ﻿﻿﻿﻿sum({$&amp;lt;Scenario = {'Forecast'}, Year = {$(CurrentYear)}, Month = {12}&amp;gt;} YTDCOST).&amp;nbsp; I can't seem to get it to display correctly, maybe because it references a completely different set of data than the Actuals bars.&amp;nbsp; Any help would be appreciated (doesn't have to be represented exactly this way, just want average FY forecast and YTD actuals by month on the same chart somehow).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 17:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Custom-trendline-using-set-expression/m-p/364157#M1113</guid>
      <dc:creator />
      <dc:date>2012-04-23T17:51:08Z</dc:date>
    </item>
  </channel>
</rss>

