<?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 Add value to field via load script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-value-to-field-via-load-script/m-p/2504186#M103731</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a 3 tables, the first is a list of users, the second is a resourcing table listing the dates, by day that the users are resourced against a project. The last table is a table if dates by day running from 2016 - 2030. Some of the users are not resource at all, so then I look at the pivot table results the user does not show and I have a lot of null values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 1 Users&lt;/P&gt;
&lt;P&gt;Users&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 2&lt;/P&gt;
&lt;P&gt;Resource_User&lt;/P&gt;
&lt;P&gt;Resource_Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;table 3&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resource_Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would like to know is if it is possible to check if the User is resourced as Resourced_User for the Resource_Date and if they are not inset a 0 into the line to table 2.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 14:04:35 GMT</pubDate>
    <dc:creator>Moysie</dc:creator>
    <dc:date>2025-02-03T14:04:35Z</dc:date>
    <item>
      <title>Add value to field via load script</title>
      <link>https://community.qlik.com/t5/App-Development/Add-value-to-field-via-load-script/m-p/2504186#M103731</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a 3 tables, the first is a list of users, the second is a resourcing table listing the dates, by day that the users are resourced against a project. The last table is a table if dates by day running from 2016 - 2030. Some of the users are not resource at all, so then I look at the pivot table results the user does not show and I have a lot of null values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 1 Users&lt;/P&gt;
&lt;P&gt;Users&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 2&lt;/P&gt;
&lt;P&gt;Resource_User&lt;/P&gt;
&lt;P&gt;Resource_Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;table 3&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resource_Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would like to know is if it is possible to check if the User is resourced as Resourced_User for the Resource_Date and if they are not inset a 0 into the line to table 2.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 14:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-value-to-field-via-load-script/m-p/2504186#M103731</guid>
      <dc:creator>Moysie</dc:creator>
      <dc:date>2025-02-03T14:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add value to field via load script</title>
      <link>https://community.qlik.com/t5/App-Development/Add-value-to-field-via-load-script/m-p/2504203#M103736</link>
      <description>&lt;P&gt;You may apply a join approach like:&lt;/P&gt;
&lt;P&gt;t: load distinct User from T1; &lt;BR /&gt;join(t) load distinct Date from T3; &lt;BR /&gt;left join(t) load User, Date, F1, F2, ... from T2;&lt;/P&gt;
&lt;P&gt;whereby the first join creates a cartesian product and the second join adds the real existing ones to it.&lt;/P&gt;
&lt;P&gt;Another approach may include the use of where-clauses with (not) exists() and depending on the load-order and data-set with one or two parameters - which is quite clear for me with the given example and description. Exists() is especially then suitable if only missing items should be detected/added and not more or less continuous ranges.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 15:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-value-to-field-via-load-script/m-p/2504203#M103736</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-03T15:45:24Z</dc:date>
    </item>
  </channel>
</rss>

