<?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: Add the average line to a line chart with multiple lines Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567127#M41365</link>
    <description>&lt;P&gt;Check attached&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;PRE&gt;[Sheet1]:
LOAD
	[Date],
	[State],
	[Revenue]
 FROM [lib://AverageLinewithMultipleLines/AverageLineDataSet.xlsx]
(ooxml, embedded labels, table is Sheet1);

&lt;FONT color="#FF0000"&gt;Dim:
LOAD * INLINE [
Dim
1
2
];&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Chart&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;PRE&gt;Date
=Pick(Dim, State, 'Average')&lt;/PRE&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;PRE&gt;=Avg([Revenue])&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9809i73AC3EE7E68224A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 17:46:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-04-09T17:46:03Z</dc:date>
    <item>
      <title>Add the average line to a line chart with multiple lines Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567111#M41362</link>
      <description>&lt;P&gt;This question is about creating a "Average" line in a line graph that has multiple lines.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There has been a recommendation in the "QlikView" threads that meets my needs but does not work in QlikSense.&amp;nbsp; I am wondering if there is an alternate implementation.&lt;/P&gt;&lt;P&gt;Attached image shows what I want to achieve and the problems.&lt;/P&gt;&lt;P&gt;Attached QlikSense file is a sample and also attached Excel file with sample data.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IssueImage.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9807i1A003BF7B9D80C23/image-size/large?v=v2&amp;amp;px=999" role="button" title="IssueImage.png" alt="IssueImage.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567111#M41362</guid>
      <dc:creator>prakashsonti</dc:creator>
      <dc:date>2019-04-09T16:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add the average line to a line chart with multiple lines Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567127#M41365</link>
      <description>&lt;P&gt;Check attached&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;PRE&gt;[Sheet1]:
LOAD
	[Date],
	[State],
	[Revenue]
 FROM [lib://AverageLinewithMultipleLines/AverageLineDataSet.xlsx]
(ooxml, embedded labels, table is Sheet1);

&lt;FONT color="#FF0000"&gt;Dim:
LOAD * INLINE [
Dim
1
2
];&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Chart&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;PRE&gt;Date
=Pick(Dim, State, 'Average')&lt;/PRE&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;PRE&gt;=Avg([Revenue])&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9809i73AC3EE7E68224A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 17:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567127#M41365</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-09T17:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add the average line to a line chart with multiple lines Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567131#M41366</link>
      <description>Thanks for the quick reply. This works great!</description>
      <pubDate>Tue, 09 Apr 2019 17:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-the-average-line-to-a-line-chart-with-multiple-lines-Qlik/m-p/1567131#M41366</guid>
      <dc:creator>prakashsonti</dc:creator>
      <dc:date>2019-04-09T17:57:32Z</dc:date>
    </item>
  </channel>
</rss>

