<?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 Is there any way to detect gradual increase or decrease in a field value and then color code ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621655#M734691</link>
    <description>&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;Is there any way to &lt;STRONG&gt;detect&lt;/STRONG&gt; (script/expression) &lt;STRONG&gt;gradual increase or decrease&lt;/STRONG&gt; in a field value over a &lt;STRONG&gt;specified&lt;/STRONG&gt; period (Date/Year/Q etc)&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;and then color code based on intensity ?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;In the below data i want to color code Rank if , there is gradual increase or decrease in rank over quarter .&lt;/P&gt;&lt;P&gt;1) One way is to look in a given year and detect increment or decrements then color code&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Other way can be look into any four continuous quarters irrespective of year , detect the increment/decrements and color code&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let say Rank in four quarters of 2018 is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q4 - 4 , Q3&amp;nbsp; - 3 , Q2- 2 , Q1-1 ...&amp;nbsp; Then color should be red as there is decrement in RANK and Q4 should be dark red while Q1 should be least .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RANK_TREND:&lt;BR /&gt;LOAD * ,&lt;/P&gt;&lt;P&gt;YEAR&amp;amp;'-'&amp;amp;QTR AS YQ&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;LOAD * ,&lt;BR /&gt;Year(DOR) AS YEAR ,&lt;BR /&gt;'Q' &amp;amp; ceil(month(DOR)/3) as QTR&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;LOAD * ,&lt;/P&gt;&lt;P&gt;Date#(Date,'DD/MM/YYYY') AS DOR ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&lt;BR /&gt;Client, GROUP, Date, RANK&lt;BR /&gt;Tesla, Tesla Electric, 2/2/2018, 1&lt;BR /&gt;Tesla, Tesla Electric, 2/5/2018, 2&lt;BR /&gt;Tesla, Tesla Electric, 2/7/2018, 3&lt;BR /&gt;Tesla, Tesla Electric, 2/11/2018, 4&lt;BR /&gt;Tesla, Tesla Electric, 2/2/2019, 4&lt;BR /&gt;Tesla, Tesla Electric, 2/5/2019, 3&lt;BR /&gt;Tesla, Tesla Electric, 2/7/2019, 2&lt;BR /&gt;Tesla, Tesla Electric, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Geo, 2/2/2018, 4&lt;BR /&gt;Tesla, Tesla Geo, 2/5/2018, 3&lt;BR /&gt;Tesla, Tesla Geo, 2/7/2018, 2&lt;BR /&gt;Tesla, Tesla Geo, 2/11/2018, 1&lt;BR /&gt;Tesla, Tesla Geo, 2/2/2019, 6&lt;BR /&gt;Tesla, Tesla Geo, 2/5/2019, 7&lt;BR /&gt;Tesla, Tesla Geo, 2/7/2019, 4&lt;BR /&gt;Tesla, Tesla Geo, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Motors, 2/2/2018, 4&lt;BR /&gt;Tesla, Tesla Motors, 2/5/2018, 3&lt;BR /&gt;Tesla, Tesla Motors, 2/7/2018, 4&lt;BR /&gt;Tesla, Tesla Motors, 2/11/2018, 7&lt;BR /&gt;Tesla, Tesla Motors, 2/2/2019, 7&lt;BR /&gt;Tesla, Tesla Motors, 2/5/2019, 6&lt;BR /&gt;Tesla, Tesla Motors, 2/7/2019, 9&lt;BR /&gt;Tesla, Tesla Motors, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Solar, 2/2/2018, 2&lt;BR /&gt;Tesla, Tesla Solar, 2/5/2018, 4&lt;BR /&gt;Tesla, Tesla Solar, 2/7/2018, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/11/2018, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/2/2019, 8&lt;BR /&gt;Tesla, Tesla Solar, 2/5/2019, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/7/2019, 4&lt;BR /&gt;Tesla, Tesla Solar, 2/11/2019,&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Shekar&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>shekhar_analyti</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Is there any way to detect gradual increase or decrease in a field value and then color code ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621655#M734691</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;Is there any way to &lt;STRONG&gt;detect&lt;/STRONG&gt; (script/expression) &lt;STRONG&gt;gradual increase or decrease&lt;/STRONG&gt; in a field value over a &lt;STRONG&gt;specified&lt;/STRONG&gt; period (Date/Year/Q etc)&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;and then color code based on intensity ?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;In the below data i want to color code Rank if , there is gradual increase or decrease in rank over quarter .&lt;/P&gt;&lt;P&gt;1) One way is to look in a given year and detect increment or decrements then color code&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Other way can be look into any four continuous quarters irrespective of year , detect the increment/decrements and color code&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let say Rank in four quarters of 2018 is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q4 - 4 , Q3&amp;nbsp; - 3 , Q2- 2 , Q1-1 ...&amp;nbsp; Then color should be red as there is decrement in RANK and Q4 should be dark red while Q1 should be least .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RANK_TREND:&lt;BR /&gt;LOAD * ,&lt;/P&gt;&lt;P&gt;YEAR&amp;amp;'-'&amp;amp;QTR AS YQ&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;LOAD * ,&lt;BR /&gt;Year(DOR) AS YEAR ,&lt;BR /&gt;'Q' &amp;amp; ceil(month(DOR)/3) as QTR&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;LOAD * ,&lt;/P&gt;&lt;P&gt;Date#(Date,'DD/MM/YYYY') AS DOR ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&lt;BR /&gt;Client, GROUP, Date, RANK&lt;BR /&gt;Tesla, Tesla Electric, 2/2/2018, 1&lt;BR /&gt;Tesla, Tesla Electric, 2/5/2018, 2&lt;BR /&gt;Tesla, Tesla Electric, 2/7/2018, 3&lt;BR /&gt;Tesla, Tesla Electric, 2/11/2018, 4&lt;BR /&gt;Tesla, Tesla Electric, 2/2/2019, 4&lt;BR /&gt;Tesla, Tesla Electric, 2/5/2019, 3&lt;BR /&gt;Tesla, Tesla Electric, 2/7/2019, 2&lt;BR /&gt;Tesla, Tesla Electric, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Geo, 2/2/2018, 4&lt;BR /&gt;Tesla, Tesla Geo, 2/5/2018, 3&lt;BR /&gt;Tesla, Tesla Geo, 2/7/2018, 2&lt;BR /&gt;Tesla, Tesla Geo, 2/11/2018, 1&lt;BR /&gt;Tesla, Tesla Geo, 2/2/2019, 6&lt;BR /&gt;Tesla, Tesla Geo, 2/5/2019, 7&lt;BR /&gt;Tesla, Tesla Geo, 2/7/2019, 4&lt;BR /&gt;Tesla, Tesla Geo, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Motors, 2/2/2018, 4&lt;BR /&gt;Tesla, Tesla Motors, 2/5/2018, 3&lt;BR /&gt;Tesla, Tesla Motors, 2/7/2018, 4&lt;BR /&gt;Tesla, Tesla Motors, 2/11/2018, 7&lt;BR /&gt;Tesla, Tesla Motors, 2/2/2019, 7&lt;BR /&gt;Tesla, Tesla Motors, 2/5/2019, 6&lt;BR /&gt;Tesla, Tesla Motors, 2/7/2019, 9&lt;BR /&gt;Tesla, Tesla Motors, 2/11/2019,&lt;BR /&gt;Tesla, Tesla Solar, 2/2/2018, 2&lt;BR /&gt;Tesla, Tesla Solar, 2/5/2018, 4&lt;BR /&gt;Tesla, Tesla Solar, 2/7/2018, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/11/2018, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/2/2019, 8&lt;BR /&gt;Tesla, Tesla Solar, 2/5/2019, 9&lt;BR /&gt;Tesla, Tesla Solar, 2/7/2019, 4&lt;BR /&gt;Tesla, Tesla Solar, 2/11/2019,&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Shekar&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621655#M734691</guid>
      <dc:creator>shekhar_analyti</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to detect gradual increase or decrease in a field value and then color code ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621661#M734692</link>
      <description>&lt;P&gt;You want to use the LINEST_M function over your data. It will give you the slope of a line when graphing your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_m.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalAggregationFunctionsinCharts/linest_m.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the farther away from zero the result is the more dramatic the change in your dataset.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621661#M734692</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2019-09-09T14:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to detect gradual increase or decrease in a field value and then color code ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621670#M734693</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; ..&amp;nbsp;&lt;BR /&gt;Hi Sunny Bhai ,&lt;BR /&gt;&lt;BR /&gt;Can above be coded or any set expression , just to avoid LIN_M ?&lt;BR /&gt;&lt;BR /&gt;I want to use similar concept on IPL data to find&amp;nbsp; list of those 5 continuous overs where Maximum runs have been scored .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-any-way-to-detect-gradual-increase-or-decrease-in-a/m-p/1621670#M734693</guid>
      <dc:creator>shekhar_analyti</dc:creator>
      <dc:date>2019-09-09T14:55:49Z</dc:date>
    </item>
  </channel>
</rss>

