<?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: linear trend line one expression two dimensions combo chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759521#M719711</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50387"&gt;@YoussefBelloum&lt;/a&gt;, I'm not sure if this can work, I did a dumb sample and seems to work.&lt;/P&gt;&lt;P&gt;Add another expression as If(Year=Max(TOTAL Year), Sum(X)) and uncheck to show as bar and show only as popup. In this expression check the option to show the trend line.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rubenmarin_0-1604740502068.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43759i5F74C65B9322BE23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rubenmarin_0-1604740502068.png" alt="rubenmarin_0-1604740502068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Nov 2020 09:15:49 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2020-11-07T09:15:49Z</dc:date>
    <item>
      <title>linear trend line one expression two dimensions combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759376#M719710</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have the barchart below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Barchart.png" style="width: 945px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43718i70B20581D9D8EF16/image-size/large?v=v2&amp;amp;px=999" role="button" title="Barchart.png" alt="Barchart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to add a linear trend line for the last year only, the problem is that when I use the checkbox of the linear trend line, it gives me trend lines for all the years displayed on my barchart (4 trend lines), like the image below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="barchart1.png" style="width: 941px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43719iFB0BDAA5525BA65B/image-size/large?v=v2&amp;amp;px=999" role="button" title="barchart1.png" alt="barchart1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only need one linear trend line, always for the last year (2020 in this example).&lt;/P&gt;&lt;P&gt;I tried to add another expression and use the linest_m and linet_b functions, but I'm struggling to make it work&lt;/P&gt;&lt;P&gt;I have two dimensions: Quarter and Year&lt;/P&gt;&lt;P&gt;One expression:&amp;nbsp;Sum(X)&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Youssef&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759376#M719710</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2024-11-16T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: linear trend line one expression two dimensions combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759521#M719711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50387"&gt;@YoussefBelloum&lt;/a&gt;, I'm not sure if this can work, I did a dumb sample and seems to work.&lt;/P&gt;&lt;P&gt;Add another expression as If(Year=Max(TOTAL Year), Sum(X)) and uncheck to show as bar and show only as popup. In this expression check the option to show the trend line.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rubenmarin_0-1604740502068.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43759i5F74C65B9322BE23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rubenmarin_0-1604740502068.png" alt="rubenmarin_0-1604740502068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 09:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759521#M719711</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-11-07T09:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: linear trend line one expression two dimensions combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759773#M719712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your time !&lt;/P&gt;&lt;P&gt;You solved my problem.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Youssef&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 09:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linear-trend-line-one-expression-two-dimensions-combo-chart/m-p/1759773#M719712</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2020-11-09T09:55:54Z</dc:date>
    </item>
  </channel>
</rss>

