<?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 Insert calculated field from resident table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753348#M591271</link>
    <description>&lt;P&gt;I need to add the GOVERNING_GROUP field from my fact table called&amp;nbsp;EHRG_TICKET into the&amp;nbsp;&amp;nbsp;RPT_EHRG_BUILD_HOURS table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RPT_EHRG_BUILD_HOURS:&lt;BR /&gt;LOAD "bug_id" as DEFECT_ID,&lt;BR /&gt;"build_group",&lt;BR /&gt;monthstart(month) as month,&lt;BR /&gt;"pte_design",&lt;BR /&gt;"pte_build",&lt;BR /&gt;analyst,&lt;BR /&gt;"actual_design",&lt;BR /&gt;"est_np_build",&lt;BR /&gt;"act_np_build",&lt;BR /&gt;"est_prod_build",&lt;BR /&gt;"act_prod_build",&lt;BR /&gt;"ETL_DATE";&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM "IT_DW".dbo."RPT_EHRG_BUILD_HOURS";&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;GOVDATA:&lt;/P&gt;&lt;P&gt;LOAD DEFECT_ID,GOVERNING_GROUP&lt;BR /&gt;Resident EHRG_TICKET;&lt;/P&gt;&lt;P&gt;Inner Join (GOVDATA) Load GOVERNING_GROUP Resident RPT_EHRG_BUILD_HOURS;&lt;/P&gt;&lt;P&gt;drop table GOVDATA;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:57:36 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2024-11-16T17:57:36Z</dc:date>
    <item>
      <title>Insert calculated field from resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753348#M591271</link>
      <description>&lt;P&gt;I need to add the GOVERNING_GROUP field from my fact table called&amp;nbsp;EHRG_TICKET into the&amp;nbsp;&amp;nbsp;RPT_EHRG_BUILD_HOURS table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RPT_EHRG_BUILD_HOURS:&lt;BR /&gt;LOAD "bug_id" as DEFECT_ID,&lt;BR /&gt;"build_group",&lt;BR /&gt;monthstart(month) as month,&lt;BR /&gt;"pte_design",&lt;BR /&gt;"pte_build",&lt;BR /&gt;analyst,&lt;BR /&gt;"actual_design",&lt;BR /&gt;"est_np_build",&lt;BR /&gt;"act_np_build",&lt;BR /&gt;"est_prod_build",&lt;BR /&gt;"act_prod_build",&lt;BR /&gt;"ETL_DATE";&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM "IT_DW".dbo."RPT_EHRG_BUILD_HOURS";&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;GOVDATA:&lt;/P&gt;&lt;P&gt;LOAD DEFECT_ID,GOVERNING_GROUP&lt;BR /&gt;Resident EHRG_TICKET;&lt;/P&gt;&lt;P&gt;Inner Join (GOVDATA) Load GOVERNING_GROUP Resident RPT_EHRG_BUILD_HOURS;&lt;/P&gt;&lt;P&gt;drop table GOVDATA;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753348#M591271</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2024-11-16T17:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Insert calculated field from resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753354#M591272</link>
      <description>&lt;P&gt;why do you want to add it to&amp;nbsp; the table ?as the 2 tables are linked you get&amp;nbsp;GOVERNING_GROUP in front end anyway&lt;/P&gt;&lt;P&gt;in any case&lt;/P&gt;&lt;P&gt;during the join you dont have the key and you seem to have done it other way round. you code tries to update GOVDATA table and then drops it&lt;/P&gt;&lt;P&gt;going by your description where you say you want to add governing_group in to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;RPT_EHRG_BUILD_HOUR table try something like below (inner join or left depends on the data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Inner Join (&lt;SPAN&gt;RPT_EHRG_BUILD_HOURS&lt;/SPAN&gt;)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD DEFECT_ID,GOVERNING_GROUP&lt;BR /&gt;Resident EHRG_TICKET;&lt;/P&gt;&lt;P&gt;let me know if i missed something&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753354#M591272</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-10-16T19:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Insert calculated field from resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753358#M591273</link>
      <description>&lt;P&gt;I need to join the build hours table to another table with a concatenated key of month and Governing Group.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-10-15_16-11-16.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42496i6C8147A767B24D61/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-10-15_16-11-16.jpg" alt="2020-10-15_16-11-16.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753358#M591273</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-10-16T19:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert calculated field from resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753367#M591274</link>
      <description>&lt;P&gt;I am still getting a synthetic table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-10-16_13-17-11.jpg" style="width: 844px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42499i7D1AE310800F5AFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-10-16_13-17-11.jpg" alt="2020-10-16_13-17-11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How would I then be able to create my key&amp;nbsp;[Governing Group]&amp;amp;'-'&amp;amp;monthstart(month) as %GG_MONTH_KEY?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 20:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753367#M591274</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-10-16T20:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert calculated field from resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753892#M591275</link>
      <description>&lt;P&gt;i dont understand you need well enough to answer fully. (initial question didnt have anything on month)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if you are adding&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;GOVERNING_GROUP to&amp;nbsp;RPT_EHRG_BUILD_HOURS purely to join another table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you could delete the column from RPT_EHRG_BUILD_HOURS after you have done the join (i am assuming you have done so in picture the last post)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;that should address the synthetic key i see in the picture (last one)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 20:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-calculated-field-from-resident-table/m-p/1753892#M591275</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-10-19T20:57:49Z</dc:date>
    </item>
  </channel>
</rss>

