<?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 do I calculate MAPE in Qlik Sense? in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160552#M68898</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've got no problems calculating your MAPE. Check the expression below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michiel&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 06-09-16 at 01.59 PM.PNG" class="jive-image image-1" src="/legacyfs/online/127416_Screen Shot 06-09-16 at 01.59 PM.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 12:01:43 GMT</pubDate>
    <dc:creator>mvanlutterveld</dc:creator>
    <dc:date>2016-06-09T12:01:43Z</dc:date>
    <item>
      <title>How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160550#M68896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not able to understand the mean part is it has to take the total no&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 09:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160550#M68896</guid>
      <dc:creator />
      <dc:date>2016-06-09T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160551#M68897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="mape.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127387_mape.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the MAPE calculated in yellow but Qlik is calculating differently it's summing the entire columns then subtracting. I want the it to be done differently. As given above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 10:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160551#M68897</guid>
      <dc:creator />
      <dc:date>2016-06-09T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160552#M68898</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've got no problems calculating your MAPE. Check the expression below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michiel&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 06-09-16 at 01.59 PM.PNG" class="jive-image image-1" src="/legacyfs/online/127416_Screen Shot 06-09-16 at 01.59 PM.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160552#M68898</guid>
      <dc:creator>mvanlutterveld</dc:creator>
      <dc:date>2016-06-09T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160553#M68899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michiel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this way but it's not giving me the correct answer, in fact, it's giving me incorrect value for Difference b/w the forecast as well&lt;IMG alt="for.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127433_for.PNG" style="height: 116px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I tried using the formula &lt;/P&gt;&lt;P&gt;fabs((Sum(Init_Forecast) - Sum(Base_Forecast)))/Sum(Init_Forecast) which is giving me correct for each row but the only problem I'm facing is it's summing up an entire column of Initial and baseline forecast then applying the formula. What I want is it should apply the formula on each row as it is shown in the MAPE column then take the average of it. I've got the correct MAPE in the table but I don't know how to display it in a KPI. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 13:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160553#M68899</guid>
      <dc:creator />
      <dc:date>2016-06-09T13:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160554#M68900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry but I don't think I understand your question. In attached app I've added a month dimension to your Excel data (the data in your first message). No matter what kind of object I'm using the MAPE keeps rolling up to 74%. Just like you highlighted in your first message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the enclosed app doesn't help, could you please share yours or show the expressions you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michiel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 14:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160554#M68900</guid>
      <dc:creator>mvanlutterveld</dc:creator>
      <dc:date>2016-06-09T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160555#M68901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michiel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll explain you in full.I've made changes in your qvf. Please see that. The 74% you're getting is maybe because of the totals column may be set to auto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160555#M68901</guid>
      <dc:creator />
      <dc:date>2016-06-10T10:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160556#M68902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to calculate MAPE and for that I am using the formula:&lt;/P&gt;&lt;P&gt;"fabs((Sum(Sales) - Sum(Base_Forecast)))/Sum(Sales)".&lt;IMG alt="mape.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127533_mape.PNG" style="height: 204px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is giving me correct Absolulte%Error which is shown in the above figure under ape column. If I change the totals column to average I get MAPE. Which is what I want but when I use this formula in a KPI it's applying this formula on the Total's of&amp;nbsp; Initial &amp;amp; Baseline instead of applying on each row then take an average. Is there any way I can refer that table value or how can I get that calculated value in the KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; and please let me know If what I'm doing is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 12:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160556#M68902</guid>
      <dc:creator />
      <dc:date>2016-06-10T12:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160557#M68903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(fabs((Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;) - Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Base_Forecast&lt;/SPAN&gt;)))/Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;), Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127547_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160557#M68903</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-10T14:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160558#M68904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, This works absolutely fine. This will help me for now, but this is static now according to month how can I make this dynamic if want to change the dimension to maybe year or quarter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 06:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160558#M68904</guid>
      <dc:creator />
      <dc:date>2016-06-13T06:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160559#M68905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has to be based on a selection, right? Where are you planning to make the selection in Year, Month or Quarter Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 10:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160559#M68905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160560#M68906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could be anything it depends on the customer how he wants to view it. I get that we ca change the dimension to quarter,year or month to get it but can we create an if logic which according to selection would change my dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 10:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160560#M68906</guid>
      <dc:creator />
      <dc:date>2016-06-13T10:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160561#M68907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you plan to do this, but something like this should work for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg(Aggr(fabs((Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sales&lt;/SPAN&gt;) - Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Base_Forecast&lt;/SPAN&gt;)))/Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sales&lt;/SPAN&gt;), &lt;SPAN style="color: #ff0000;"&gt;$(=If(Condition = Something, Month, Year))&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the idea is to provide the condition within the dollar sign expansion here -&amp;gt; $(=.....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 14:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160561#M68907</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160562#M68908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;I was able to do it in another way. I preloaded the variance as a calculated colum at the time of data load. I loaded that as a dimension and took average of it. The thing which confused me was when I load this calculated column as a measure it gives a different value as when I load it as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached screens and please explain me what's wrong here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Calculated column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;IMG alt="mape.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127752_mape.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Without the calculated column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="snap1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127753_snap1.PNG" style="height: 345px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) After adding the calculated column as dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="snap2.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/127754_snap2.PNG" style="height: 347px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) After adding calculated column as measure. The values change again to original one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="snap3.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/127755_snap3.PNG" style="height: 350px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160562#M68908</guid>
      <dc:creator />
      <dc:date>2016-06-14T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160563#M68909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ hey did you get a chance to review this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 06:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160563#M68909</guid>
      <dc:creator />
      <dc:date>2016-06-16T06:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160564#M68910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought this was resolved already since you did it in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 09:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160564#M68910</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate MAPE in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160565#M68911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes currently this is resolved but I'm unable to understand the above behavior in qliksense. Can you please explain me what I am doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 09:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-do-I-calculate-MAPE-in-Qlik-Sense/m-p/1160565#M68911</guid>
      <dc:creator />
      <dc:date>2016-06-16T09:47:31Z</dc:date>
    </item>
  </channel>
</rss>

