<?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: Trend analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trend-analysis/m-p/1411711#M800190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Anna,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;there is a function that could help you, the linest_m()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm" style="font-size: 10pt;" title="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm"&gt;http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function calculate the angular coefficient in a bivariate regression, that means that if the value is negative, the coefficient of the interpolate is negative, viceversa, it's positive (for not statistical people, "trend").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that your data are bivariate, but one is not a quantitative variable, but a qualitative one, the names of the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You ought transform the months in numbers, and calculate the coefficient between the two variables. Here the "new" data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load*Inline&lt;/P&gt;&lt;P&gt;[month,value,value2&lt;/P&gt;&lt;P&gt;jan,100,1&lt;/P&gt;&lt;P&gt;feb,80,2&lt;/P&gt;&lt;P&gt;mar,90,3&lt;/P&gt;&lt;P&gt;apr,120,4&lt;/P&gt;&lt;P&gt;may,110,5&lt;/P&gt;&lt;P&gt;jun,70,6&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can calculate the linest_m(value, value2) and add any conditional symbol as up or down arrows.&lt;/P&gt;&lt;P&gt;Be aware that it could be tricky forcing a dimension as a measure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2017 15:41:15 GMT</pubDate>
    <dc:creator>simotrab</dc:creator>
    <dc:date>2017-12-01T15:41:15Z</dc:date>
    <item>
      <title>Trend analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-analysis/m-p/1411710#M800189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I need to calculate the trend of a variable. I have this kind of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAY&amp;nbsp;&amp;nbsp; JUN&lt;/P&gt;&lt;P&gt;100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 120&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 70&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know what's the trend of the last six months. In Qlik, if it is positive I'll have a up arrow, if it's negative I have to rappresent a down arrow. So I don't have to rappresent a chart, only to know the function to calculate the trend.&lt;/P&gt;&lt;P&gt;Thank you very very much for your help!&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/Trend-analysis/m-p/1411710#M800189</guid>
      <dc:creator>a_brancati</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trend analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-analysis/m-p/1411711#M800190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Anna,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;there is a function that could help you, the linest_m()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm" style="font-size: 10pt;" title="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm"&gt;http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function calculate the angular coefficient in a bivariate regression, that means that if the value is negative, the coefficient of the interpolate is negative, viceversa, it's positive (for not statistical people, "trend").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that your data are bivariate, but one is not a quantitative variable, but a qualitative one, the names of the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You ought transform the months in numbers, and calculate the coefficient between the two variables. Here the "new" data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load*Inline&lt;/P&gt;&lt;P&gt;[month,value,value2&lt;/P&gt;&lt;P&gt;jan,100,1&lt;/P&gt;&lt;P&gt;feb,80,2&lt;/P&gt;&lt;P&gt;mar,90,3&lt;/P&gt;&lt;P&gt;apr,120,4&lt;/P&gt;&lt;P&gt;may,110,5&lt;/P&gt;&lt;P&gt;jun,70,6&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can calculate the linest_m(value, value2) and add any conditional symbol as up or down arrows.&lt;/P&gt;&lt;P&gt;Be aware that it could be tricky forcing a dimension as a measure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 15:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-analysis/m-p/1411711#M800190</guid>
      <dc:creator>simotrab</dc:creator>
      <dc:date>2017-12-01T15:41:15Z</dc:date>
    </item>
  </channel>
</rss>

