<?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 Two Custom Trendlines using Linest and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-Custom-Trendlines-using-Linest-and-Set-Analysis/m-p/1188939#M384315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have some similar problem to a post that has already been marked as ‘answered’ called ‘&lt;A _jive_internal="true" href="https://community.qlik.com/message/445535#445535"&gt;Linest &amp;amp; Set Analysis&lt;/A&gt;’. Problem there is that Date is formatted as&amp;nbsp; YYYYMM, hence the Trend line show a sharp bend between December and January which I want to avoid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I would like to generate two different custom trendlines (based on linest m &amp;amp; linest b functions) separated by a date (e.g. Go Live Date). The first Trend line should be based on the values before, the second one on the values after the Go Live Date (represented by a variable). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Both trend lines should be calculated according to the current selection. E.G. if two month after the Go live are selected which have the same monthly value only the After Go Live Trend Line should be shown. It should than be a horizontal line at the height of the two monthly values selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;The example file includes two different scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Scenario 1: The Date is stored in YYYYMM format. This is very close to the post mentioned above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Scenario 2: The date is stored in regular Excel file Format (number starting from 01.01.1900 being 1). Actually this is the preferred scenario since it allows to set the Go live Date visible as a vertical reference line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My difficulties are in the correct use of the variable prpGoLiveMonth (respective prpGoLiveDate), the different date format as well as in the correct set analysis expression of the selections boundaries. So any hint about these three topics would be appreciated.&lt;/P&gt;&lt;P&gt;I hope you can help me - I have been playing trial an error for quite some time&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Benedikt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 18:52:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-20T18:52:03Z</dc:date>
    <item>
      <title>Two Custom Trendlines using Linest and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Custom-Trendlines-using-Linest-and-Set-Analysis/m-p/1188939#M384315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have some similar problem to a post that has already been marked as ‘answered’ called ‘&lt;A _jive_internal="true" href="https://community.qlik.com/message/445535#445535"&gt;Linest &amp;amp; Set Analysis&lt;/A&gt;’. Problem there is that Date is formatted as&amp;nbsp; YYYYMM, hence the Trend line show a sharp bend between December and January which I want to avoid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I would like to generate two different custom trendlines (based on linest m &amp;amp; linest b functions) separated by a date (e.g. Go Live Date). The first Trend line should be based on the values before, the second one on the values after the Go Live Date (represented by a variable). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Both trend lines should be calculated according to the current selection. E.G. if two month after the Go live are selected which have the same monthly value only the After Go Live Trend Line should be shown. It should than be a horizontal line at the height of the two monthly values selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;The example file includes two different scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Scenario 1: The Date is stored in YYYYMM format. This is very close to the post mentioned above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Scenario 2: The date is stored in regular Excel file Format (number starting from 01.01.1900 being 1). Actually this is the preferred scenario since it allows to set the Go live Date visible as a vertical reference line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My difficulties are in the correct use of the variable prpGoLiveMonth (respective prpGoLiveDate), the different date format as well as in the correct set analysis expression of the selections boundaries. So any hint about these three topics would be appreciated.&lt;/P&gt;&lt;P&gt;I hope you can help me - I have been playing trial an error for quite some time&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Benedikt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Custom-Trendlines-using-Linest-and-Set-Analysis/m-p/1188939#M384315</guid>
      <dc:creator />
      <dc:date>2016-09-20T18:52:03Z</dc:date>
    </item>
  </channel>
</rss>

