<?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 Load Calculation - converting set analysis formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Calculation-converting-set-analysis-formula/m-p/204130#M61167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I would like to do the following calculationg during load. However, I don't think we can do set analysis during load. The calculation is summing up REV (revenue) based on start and expiry date of the contract substracted by the REP (repairs) based on start and expiry date.&lt;/P&gt;&lt;P&gt;Thanks a bunch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;sum( {$&amp;lt;TranDate={'&amp;gt;=$(=(min(GM_START)))&amp;lt;=$(=(max(GM_EXP)))'}&amp;gt;} REV )&lt;BR /&gt;- sum( {$&amp;lt;TranDate={'&amp;gt;=$(=(min(GM_START)))&amp;lt;=$(=(max(GM_EXP)))'}&amp;gt;} REP ) as profit&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;your friendly neighborhood noob,&lt;/P&gt;&lt;P&gt;Chhai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 14:41:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-07T14:41:52Z</dc:date>
    <item>
      <title>Load Calculation - converting set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Calculation-converting-set-analysis-formula/m-p/204130#M61167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I would like to do the following calculationg during load. However, I don't think we can do set analysis during load. The calculation is summing up REV (revenue) based on start and expiry date of the contract substracted by the REP (repairs) based on start and expiry date.&lt;/P&gt;&lt;P&gt;Thanks a bunch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;sum( {$&amp;lt;TranDate={'&amp;gt;=$(=(min(GM_START)))&amp;lt;=$(=(max(GM_EXP)))'}&amp;gt;} REV )&lt;BR /&gt;- sum( {$&amp;lt;TranDate={'&amp;gt;=$(=(min(GM_START)))&amp;lt;=$(=(max(GM_EXP)))'}&amp;gt;} REP ) as profit&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;your friendly neighborhood noob,&lt;/P&gt;&lt;P&gt;Chhai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 14:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Calculation-converting-set-analysis-formula/m-p/204130#M61167</guid>
      <dc:creator />
      <dc:date>2010-01-07T14:41:52Z</dc:date>
    </item>
  </channel>
</rss>

