<?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 Fixed Trend Line to Combo Chart with 2 Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307303#M826973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That curve would be the general Trend Line for all the dots, it aggregates the &lt;SPAN style="text-decoration: underline;"&gt;sum&lt;/SPAN&gt; from &lt;SPAN style="text-decoration: underline;"&gt;sales&lt;/SPAN&gt; for every grade and customer and it has to be a fixed value, that's why you see the {1}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be satisfied for now if I could only draw the line as an expression for now (and then I would change the line color, let it fixed ignoring selections, or using show conditional function).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2017 03:28:37 GMT</pubDate>
    <dc:creator>microwin88x</dc:creator>
    <dc:date>2017-07-14T03:28:37Z</dc:date>
    <item>
      <title>Add Fixed Trend Line to Combo Chart with 2 Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307299#M826969</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 the following Combo Chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="170200" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170200_1.png" style="height: 290px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;&lt;/SPAN&gt;: Grades and Customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;&lt;/SPAN&gt;: SUM(Sales_RND)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to add the Lineal Trend where Y = m X + B like this (but not automatically):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="170201" alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/170201_2.png" style="height: 371px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;I'd need to add it as a new expression&lt;/STRONG&gt;&lt;/SPAN&gt;... I already have the values for M and B, calculated like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- M = LINEST_M({1}TOTAL AGGR(SUM({1}Sales_RND),GRADE,Customer),GRADE,Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- B = LINEST_B({1}TOTAL AGGR(SUM({1}Sales_RND),GRADE,Customer),GRADE,Customer)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've seen somewhere that I'd have to add a new expression to get the Lineal Trend with something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LINEST_M({1}TOTAL AGGR(SUM({1}Sales_RND),GRADE,Customer),GRADE,Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;*GRADE&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+LINEST_B({1}TOTAL AGGR(SUM({1}Sales_RND),GRADE,Customer),GRADE,Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is it's not working, I don't know if it's because I have to multiply the LINEST_M with my 2 Dimensions? (GRADE and Customers). How could I do that in order to work and avoid using 2 charts overlapped? I attach the QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&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/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307299#M826969</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fixed Trend Line to Combo Chart with 2 Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307300#M826970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you enable the option Linear from section from Trendlines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 02:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307300#M826970</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-14T02:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fixed Trend Line to Combo Chart with 2 Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307301#M826971</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;No because I need to create a customized Trend Line, not the one by default...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 03:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307301#M826971</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2017-07-14T03:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fixed Trend Line to Combo Chart with 2 Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307302#M826972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, But when i enable second expression looks like i got three trend curves. But, You are expecting one curve only. What does the one curve indicates when we use custom formula like you mentioned?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 03:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307302#M826972</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-14T03:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fixed Trend Line to Combo Chart with 2 Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307303#M826973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That curve would be the general Trend Line for all the dots, it aggregates the &lt;SPAN style="text-decoration: underline;"&gt;sum&lt;/SPAN&gt; from &lt;SPAN style="text-decoration: underline;"&gt;sales&lt;/SPAN&gt; for every grade and customer and it has to be a fixed value, that's why you see the {1}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be satisfied for now if I could only draw the line as an expression for now (and then I would change the line color, let it fixed ignoring selections, or using show conditional function).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 03:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Fixed-Trend-Line-to-Combo-Chart-with-2-Dimensions/m-p/1307303#M826973</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2017-07-14T03:28:37Z</dc:date>
    </item>
  </channel>
</rss>

