<?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: Set analysis inside set analysis review formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511948#M749482</link>
    <description>&lt;P&gt;Check attached one&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 04:39:48 GMT</pubDate>
    <dc:creator>agni_gold</dc:creator>
    <dc:date>2018-11-26T04:39:48Z</dc:date>
    <item>
      <title>Set analysis inside set analysis review formula</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511946#M749481</link>
      <description>&lt;P&gt;Hello Qlikusers,&lt;/P&gt;&lt;P&gt;Need your help to update this formula to have set analysis inside set analysis.&lt;/P&gt;&lt;P&gt;I need to calculate forecast accuracy for definite period using vStart and vEnd for each planner.&lt;/P&gt;&lt;P&gt;So that chart should have three lines&amp;nbsp; and&amp;nbsp;we can compare forecast accuracy of planner A, Planner B and Overall.&lt;/P&gt;&lt;P&gt;With the below code, i can calculate forecast accuracy. I need to create similar expression for each planner (ie A and B) . So can anyone give me leads on how to include field 'Planner' in the below set analysis expression?&lt;/P&gt;&lt;PRE&gt;num(sum({&amp;lt;Date*={"&amp;gt;$(vStart)&amp;lt;$(vEnd)"}&amp;gt;}Sales * if((1-(fabs(Sales-Forecast))/Sales)&amp;lt;0,0,(1-(fabs(Sales-Forecast))/Sales)))/sum({&amp;lt;Date*={"&amp;gt;$(vStart)&amp;lt;$(vEnd)"}&amp;gt;} Sales),'##0%')&lt;/PRE&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511946#M749481</guid>
      <dc:creator>haribabugv</dc:creator>
      <dc:date>2024-11-16T21:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside set analysis review formula</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511948#M749482</link>
      <description>&lt;P&gt;Check attached one&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 04:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511948#M749482</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2018-11-26T04:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside set analysis review formula</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511986#M749483</link>
      <description>&lt;P&gt;Probably something like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;Date *= {"&amp;gt;$(vStart)&amp;lt;$(vEnd)"}&lt;STRONG&gt;, Planner = {'Planner A'}&lt;/STRONG&gt;&amp;gt;} Sales * &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;If((1-(fabs(Sales-Forecast)) / Sales) &amp;lt; 0, 0, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(1-(fabs(Sales-Forecast))/Sales))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/ sum({&amp;lt;Date *= {"&amp;gt;$(vStart)&amp;lt;$(vEnd)"},&lt;STRONG&gt; Planner = {'Planner A'}&lt;/STRONG&gt;&amp;gt;} Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Similarly for Planner B, C.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 06:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-set-analysis-review-formula/m-p/1511986#M749483</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-11-26T06:25:53Z</dc:date>
    </item>
  </channel>
</rss>

