<?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: Apply Factors to Metric in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359970#M416938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, your formula works, very cool!&amp;nbsp; I'm thinking joining the two tables might be the better way to go if this will be a performance hit.&amp;nbsp; I'll try that way.&amp;nbsp; Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 15:22:04 GMT</pubDate>
    <dc:creator>carlcimino</dc:creator>
    <dc:date>2017-07-18T15:22:04Z</dc:date>
    <item>
      <title>Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359964#M416932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to apply factors to an existing metric.&amp;nbsp; For example I am trying to divide the 2016 Written Premium by the Actual factor and then multiple the result by the forecast.&amp;nbsp; Here is the way the 2016 Written Premium set analysis is written: s&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;um&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;).&amp;nbsp; Any help would be much appreciated.&lt;BR /&gt; &lt;/SPAN&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169693_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359964#M416932</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-07-10T19:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359965#M416933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;YEAR={$(=Max(YEAR))}&amp;gt;} WP&lt;SPAN style="color: #ff0000;"&gt;/Actual*Forecast&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359965#M416933</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T19:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359966#M416934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, that didn't seem to return the desired result.&amp;nbsp; Here is what I am expecting the calculation to function like.&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169689_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 20:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359966#M416934</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-07-10T20:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359967#M416935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this not what you got with what I provided? Would you be able to share a sample?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359967#M416935</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-11T08:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359968#M416936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, See attached.&amp;nbsp; The reduce data didn't work (or I was doing it wrong) so I loaded dummy rows.&amp;nbsp; I left the expression you suggested in there so you can see what it was returning versus what I said I expected to see.&amp;nbsp; Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 13:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359968#M416936</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-07-17T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359969#M416937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum({&amp;lt;YEAR={$(=Max(YEAR))}&amp;gt;}WP)/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;YEAR={$(=Max(YEAR))}&amp;gt;}If(CAL_DATE = Translation_Month_Year, Actual/Forecast)), CAL_DATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170416_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The performance will be poor because you are using an Island table. May be you can join the two tables on CAL_DATE and Translation_Month_Year fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359969#M416937</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-17T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Factors to Metric</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359970#M416938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, your formula works, very cool!&amp;nbsp; I'm thinking joining the two tables might be the better way to go if this will be a performance hit.&amp;nbsp; I'll try that way.&amp;nbsp; Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 15:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Factors-to-Metric/m-p/1359970#M416938</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-07-18T15:22:04Z</dc:date>
    </item>
  </channel>
</rss>

