<?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: Create new 'measure' in load script between two tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1892679#M73586</link>
    <description>&lt;P&gt;Worked perfectly. Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 16:54:31 GMT</pubDate>
    <dc:creator>drew61199</dc:creator>
    <dc:date>2022-02-14T16:54:31Z</dc:date>
    <item>
      <title>Create new 'measure' in load script between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1891309#M73448</link>
      <description>&lt;P&gt;I have two tables with time values and need to calculate the variance between the two times (OPEN_TIME and OPEN). I'm able to combine the two tables into a singular table (DATA) as I believe this is necessary. I'm not sure how to proceed from here though. As you can see in my snip I originally tried inserting it in the last LOAD, but I assume b/c the table isn't "finalized", OPEN_TIME isn't found as it's still technically in DATA and the two tables are not fully joined at this point in time?!?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I then tried adding another load to add the calculation and although it doesn't fail, the dimension VARIANCE does not populate in my dashboard.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - I am able to calculate VARIANCE utilizing the formula within the dashboard, but I also need to COUNT the facilities over a certain threshold in minutes and that is not working out for me. So my new plan is create VARIANCE and another dimension (YES / NO based on IF statement) so that I can more easily count that within the dashboard. I'm open to other ideas though from the QLIK pros! Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drew61199_1-1644466749942.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72001i2B5A55461293F20C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="drew61199_1-1644466749942.png" alt="drew61199_1-1644466749942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 04:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1891309#M73448</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-02-10T04:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create new 'measure' in load script between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1892619#M73577</link>
      <description>&lt;P&gt;On your last join you have to pass a key-field to tell qlik on which field it should join the tables.&lt;BR /&gt;at the moment you just telling qlik: Join this new field.&lt;BR /&gt;Unfortunately Qlik is not asking or showing an error, that qlik does not know &lt;STRONG&gt;how&lt;/STRONG&gt; to join this new field.&lt;BR /&gt;Seems as if "UFN" is your keyfield, so your last join would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Left Join(Data)
Load
   UFN,
   Interval( ... - ..) as VARIANCE
resident DATA;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 15:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1892619#M73577</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-14T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create new 'measure' in load script between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1892679#M73586</link>
      <description>&lt;P&gt;Worked perfectly. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 16:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-measure-in-load-script-between-two-tables/m-p/1892679#M73586</guid>
      <dc:creator>drew61199</dc:creator>
      <dc:date>2022-02-14T16:54:31Z</dc:date>
    </item>
  </channel>
</rss>

