<?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: Calculate linest_b function per row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36243#M2472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your quick reply!&lt;BR /&gt;Actually, each column is a different variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable 1: XXX_2012&lt;/P&gt;&lt;P&gt;Variable 2 XXX_2013&lt;/P&gt;&lt;P&gt;Variable 3: XXX_2014&lt;/P&gt;&lt;P&gt;Variable 4: XXX_2015&lt;/P&gt;&lt;P&gt;Variable 5: XXX_2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(XXX stands for a variable title)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meaning that the variable name has a decription tag followed by the year. In each row, I have the number of events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the screenshot and take "Aalen" as an example. I want to calculate the trend between 2012 and 2016.&lt;/P&gt;&lt;P&gt;The x values would be 2012 - 2016, the y values would be 5, 5, 5, 7, 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't want to calculate the trend using a set of rows but a set of columns, each a different variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and have a great evening - it' evening in Germany and I will go to bed soon.&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 20:25:12 GMT</pubDate>
    <dc:creator>florian_kloster</dc:creator>
    <dc:date>2018-03-01T20:25:12Z</dc:date>
    <item>
      <title>Calculate linest_b function per row</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36241#M2470</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 am new in Qlik Sense. Currently I am working on a dashboard including a trend analysis.&lt;/P&gt;&lt;P&gt;So far I have learned that the linest function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest-example.htm" title="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest-example.htm"&gt;https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/StatisticalAggregationFunctionsinC…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is exactly what I need.&lt;/P&gt;&lt;P&gt;Unfortunatelly, my data doesn't match the required structure. To use this function properly, you need a X and a Y variable.&lt;/P&gt;&lt;P&gt;In my case, I don't want to calculate the trend using two variables, but for multiple variables and just one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LInest.JPG" class="jive-image image-1" height="533" src="https://community.qlik.com/legacyfs/online/195100_LInest.JPG" style="height: 533px; width: 682.769px;" width="683" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screenshot above, you can see the structure of my database. Each row is one case (regional area). I have 5 columns/variables indicating the number of events per year (2012-2016). For each geographical area (row) I want to calculate the trend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to change the function or to use another function to calculate the trend across the last 5 years or the predicted value for 2017 without changing the data structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, how would I need to change the data structure in order to make this function work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 20:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36241#M2470</guid>
      <dc:creator>florian_kloster</dc:creator>
      <dc:date>2018-03-01T20:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate linest_b function per row</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36242#M2471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is year a dimension or is it created using 5 different measures&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 20:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36242#M2471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-01T20:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate linest_b function per row</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36243#M2472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your quick reply!&lt;BR /&gt;Actually, each column is a different variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable 1: XXX_2012&lt;/P&gt;&lt;P&gt;Variable 2 XXX_2013&lt;/P&gt;&lt;P&gt;Variable 3: XXX_2014&lt;/P&gt;&lt;P&gt;Variable 4: XXX_2015&lt;/P&gt;&lt;P&gt;Variable 5: XXX_2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(XXX stands for a variable title)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meaning that the variable name has a decription tag followed by the year. In each row, I have the number of events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the screenshot and take "Aalen" as an example. I want to calculate the trend between 2012 and 2016.&lt;/P&gt;&lt;P&gt;The x values would be 2012 - 2016, the y values would be 5, 5, 5, 7, 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I don't want to calculate the trend using a set of rows but a set of columns, each a different variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and have a great evening - it' evening in Germany and I will go to bed soon.&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 20:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-linest-b-function-per-row/m-p/36243#M2472</guid>
      <dc:creator>florian_kloster</dc:creator>
      <dc:date>2018-03-01T20:25:12Z</dc:date>
    </item>
  </channel>
</rss>

