<?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: How can I calculate a logarithmic trend in QlikView? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329693#M574081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I will give that a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ross&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jul 2, 2012 at 12:58 PM, swuehl &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 17:57:44 GMT</pubDate>
    <dc:creator>rluciano1012</dc:creator>
    <dc:date>2012-07-02T17:57:44Z</dc:date>
    <item>
      <title>How can I calculate a logarithmic trend in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329690#M574078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be able to get a logarithmic trend line in a QlikView scatter chart (or any other type of chart like a straight table) like I can get in Excel.&amp;nbsp; For example, I want to get a logarithmic trend line on direct labor hours (Y axis) and sales (X axis) like this Excel chart.&amp;nbsp; The second chart below it I created using QlikView and with trendline Exponential, but as you will see, the curve is quite different.&amp;nbsp; QlikView does not have Logarithmic as a trendline option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is we should gain labor efficiency as sales increases, so we want a line that is more like this Excel chart.&amp;nbsp; The trend line (direct labor hours) should increase as sales increases but then start to gradually level off or have a slight inclease (slope) to it.&amp;nbsp; I found some formulas that could simulate it in Excel using a formula like this &lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;=LINEST( LN(Known Y Values), LN(Known X Values)) as an array in Excel&lt;/SPAN&gt; or a regular Excel formula &lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;=INDEX( LINEST( LN(C58:C65), LN(B58:B65)), 1).&amp;nbsp; The problem I'm having is there is not a LN function in QlikView.&amp;nbsp; I'm not strong at trigonometry so there may be another way to solve this using QlikView functions.&amp;nbsp; I have attached the sample data if anyone needs it.&amp;nbsp; Can anyone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="17576" class="jive-image-thumbnail jive-image" onclick="" alt="Excel chart.jpg" src="/legacyfs/online/17576_Excel chart.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="17578" class="jive-image-thumbnail jive-image" onclick="" alt="QlikView chart.jpg" src="/legacyfs/online/17578_QlikView chart.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329690#M574078</guid>
      <dc:creator>rluciano1012</dc:creator>
      <dc:date>2012-07-02T16:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate a logarithmic trend in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329691#M574079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In QlikView, the natural logarithm (Base e) is calculated using function log()&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;log(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt; )&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The natural logarithm of &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. The function is only defined if &lt;SPAN class="Italic"&gt;x &lt;/SPAN&gt;&amp;gt; 0. The result is a number. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So compared to Excel, QlikViews logarithmic functions are called log(), log10(), while in Excel they are called ln(), log10().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329691#M574079</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-02T16:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate a logarithmic trend in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329692#M574080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To my knowledge qv supports only few trendline options in which log is not avaiable. I am not sure if this is included in qv 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 17:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329692#M574080</guid>
      <dc:creator />
      <dc:date>2012-07-02T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate a logarithmic trend in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329693#M574081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I will give that a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ross&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Jul 2, 2012 at 12:58 PM, swuehl &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 17:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-calculate-a-logarithmic-trend-in-QlikView/m-p/329693#M574081</guid>
      <dc:creator>rluciano1012</dc:creator>
      <dc:date>2012-07-02T17:57:44Z</dc:date>
    </item>
  </channel>
</rss>

