<?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 Update a field in main transaction table from an excel sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961909#M330045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to populate region name in the Main table if it is blank in the source database from an excel sheet(Region Master) based on the RequestID else the Region should come from source database only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be done efficiently?The Main table contains more than 10K records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 17:06:02 GMT</pubDate>
    <dc:creator>mugdhaojha</dc:creator>
    <dc:date>2015-09-29T17:06:02Z</dc:date>
    <item>
      <title>Update a field in main transaction table from an excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961909#M330045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to populate region name in the Main table if it is blank in the source database from an excel sheet(Region Master) based on the RequestID else the Region should come from source database only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be done efficiently?The Main table contains more than 10K records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961909#M330045</guid>
      <dc:creator>mugdhaojha</dc:creator>
      <dc:date>2015-09-29T17:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Update a field in main transaction table from an excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961910#M330046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you wanting to update the value in the source database or in the QlikView application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sounds like the value will be based on Region master file if it is null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961910#M330046</guid>
      <dc:creator />
      <dc:date>2015-09-29T17:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update a field in main transaction table from an excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961911#M330047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD RequestID, Region FROM EXCEL.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAIN:&lt;/P&gt;&lt;P&gt;LOAD RequestID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(Region))=0,ApplyMap('MAP', RequestID,'No Region found'), Region) as Region,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM MAIN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961911#M330047</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-29T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update a field in main transaction table from an excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961912#M330048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes , we can effectively handle such situation by using mapping table&amp;nbsp; . in your case you can create your excel workbook as mapping table which will map the&amp;nbsp; Region value to target table (main table) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source_Map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping load &lt;/P&gt;&lt;P&gt;RequestID,&lt;/P&gt;&lt;P&gt;Region &lt;/P&gt;&lt;P&gt;From .. Excel workbook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;Main_Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;RequestID,&lt;/P&gt;&lt;P&gt;ALT(Region , ApplyMap('Source_Map',&lt;SPAN style="font-size: 13.3333px;"&gt;RequestID,Null()) As Region &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;From Source Database .Table &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-field-in-main-transaction-table-from-an-excel-sheet/m-p/961912#M330048</guid>
      <dc:creator />
      <dc:date>2015-09-29T17:28:08Z</dc:date>
    </item>
  </channel>
</rss>

