<?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: Trendline for a multiple dimension line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049871#M919462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the trendline is what I'm looking for actually.&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;I essentially need to be able to produce an average at each x axis interval, and connect the dots. Perhaps this is not do-able..? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2016 20:37:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-29T20:37:36Z</dc:date>
    <item>
      <title>Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049869#M919460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an easy way to create an 'average' trendline for a line chart with 2 dimensions? I have the following, and wish to produce an average of the 4 lines on the same chart, but since I have 2 dimensions, clicking the Average trendline box produces 4 additional trendlines, instead of 1. I'd rather not have to create a transparent chart on top if possible. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qvhelp.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123145_qvhelp.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049869#M919460</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049870#M919461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of Checking Average Trend line for each expression, Create one more Expression , Uncheck the line and Check the Average in the Trend lines Part (this expression only)&lt;/P&gt;&lt;P&gt;and check the value on Data points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 18:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049870#M919461</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-04-29T18:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049871#M919462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the trendline is what I'm looking for actually.&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;I essentially need to be able to produce an average at each x axis interval, and connect the dots. Perhaps this is not do-able..? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 20:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049871#M919462</guid>
      <dc:creator />
      <dc:date>2016-04-29T20:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049872#M919463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be share a sample with your expectation for us to play around with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 21:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049872#M919463</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-29T21:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049873#M919464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the sales lines for Companies A and B to populate, as well as the average line for both selections. Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 19:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049873#M919464</guid>
      <dc:creator />
      <dc:date>2016-05-05T19:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049874#M919465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123728_Capture.PNG" style="height: 242px; width: 620px;" /&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[DateA, ID, Company, Sales, RelativeDay&amp;amp;Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05012016, 1, A, 0, -1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05012016, 2, B, 30, -1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05022016, 1, A, -10, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05022016, 2, B, 30, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05032016, 1, A, -20, 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;05032016, 2, B, 50, 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Dimensions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RelativeDay&amp;amp;Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Dim, Dual('Company= ' &amp;amp; Company &amp;amp; Chr(13) &amp;amp; 'Date: ' &amp;amp; DateA, ID), 'Average')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim, Sum(Sales), Avg(Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 01:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049874#M919465</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-06T01:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049875#M919466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain how the Pick function knows which expression (Sum or Avg) to 'Pick'? I'm trying to replicate for a much larger data set, but am unclear how exactly it's picking an expression to display, as well as how both the sum and average are displayed at the same time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 16:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049875#M919466</guid>
      <dc:creator />
      <dc:date>2016-05-09T16:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049876#M919467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pick function works similar to the if statement. Pick would look at the number associated with value of Dim (which in this case is 1 and 2). So When Dim = 1, use Sum(Sales), when it is 2 use Avg(Sales). This works, because I have use Pick(Dim in the dimension also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Pick(Dim, Dual('Company= ' &amp;amp; Company &amp;amp; Chr(13) &amp;amp; 'Date: ' &amp;amp; DateA, ID), 'Average')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here when Dim = 1, use &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual('Company= ' &amp;amp; Company &amp;amp; Chr(13) &amp;amp; 'Date: ' &amp;amp; DateA, ID)&lt;/STRONG&gt; as the dimension and when Dim = 2, then use 'Average' (static value) as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So combining the two, we get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual('Company= ' &amp;amp; Company &amp;amp; Chr(13) &amp;amp; 'Date: ' &amp;amp; DateA, ID) &lt;/STRONG&gt; -&amp;gt; use Sum(Sales)&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;'Average'&lt;/STRONG&gt; -&amp;gt; Use Avg(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 16:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049876#M919467</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T16:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049877#M919468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that, but where/when does DIm get set to 1 or 2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049877#M919468</guid>
      <dc:creator />
      <dc:date>2016-05-09T18:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049878#M919469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124014_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049878#M919469</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T18:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049879#M919470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are both the Sum and Avg displayed in the below instance, but when selecting only one company, just the sum(sales) is displayed? (And sorry, I was just playing around and added Company C to the original file). Just trying to understand the relationship between the 'Dim Load Inline 1, 2' you touched on, and the first field in the Pick function (the 'Dim') in the chart&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124012_qlik.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049879#M919470</guid>
      <dc:creator />
      <dc:date>2016-05-09T18:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049880#M919471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you select just one company the two average lines overlap because average of 10 = 10 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049880#M919471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T18:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049881#M919472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So neither Sum(Sales) or Avg(Sales) is ever 'Picked'? I'm not really sure what function Pick is serving if both expressions are always displayed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 18:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049881#M919472</guid>
      <dc:creator />
      <dc:date>2016-05-09T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049882#M919473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pick is deciding which specific dimension value should get assigned which expression. So looking at it from the straight table view might make things easier to understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124034_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When my dimension is Average, use the Avg(Sales) Expression. and when the dimension is Company = A or Company = B, then use Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This dimension in itself is created using the pick function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 19:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049882#M919473</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T19:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049883#M919474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this blog post, it may provide a solution for you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-accumulate-values/" title="http://www.quickintelligence.co.uk/qlikview-accumulate-values/"&gt;http://www.quickintelligence.co.uk/qlikview-accumulate-values/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the part about the average bar in a bar chart, I think that is what you need.&amp;nbsp; You simply have to create a new data island that links each of the dimensions to itself and to the 'average' dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to extrapolate the solution out a bit further, so that you have a single dimension field with five values and then the expression behaves differently based on which value in the dimension is in play.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that gives you some ideas on how to approach this problem?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 19:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049883#M919474</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-05-09T19:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline for a multiple dimension line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049884#M919475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hey guys - I'm having issues on a similar chart with similar data, but the expression is a % return. Can you take a look at the attached? I need to have a dynamic average of the two lines (Company A &amp;amp; B) show up, but when I add an additional expression (currently not enabled), it only charts the Average line, when I need it to plot all 3 of the lines together. Thanks again for the help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 19:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-for-a-multiple-dimension-line-chart/m-p/1049884#M919475</guid>
      <dc:creator />
      <dc:date>2016-05-23T19:26:23Z</dc:date>
    </item>
  </channel>
</rss>

