<?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 Comparing only what exists from one table. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparing-only-what-exists-from-one-table/m-p/1893274#M73674</link>
    <description>&lt;P&gt;Hello Community &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;
&lt;P&gt;I have one silly question about how to better check if one record exists from one specific table.&lt;/P&gt;
&lt;P&gt;Example, let's suppose I have the table A, which has the content for my &lt;STRONG&gt;closed month&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LorenaGSaar_0-1644942017116.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72346iE1BFD77A0B9F63C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LorenaGSaar_0-1644942017116.png" alt="LorenaGSaar_0-1644942017116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I have my table B, witch has the content of my &lt;STRONG&gt;daily&lt;/STRONG&gt; export:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LorenaGSaar_1-1644942370216.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72347iBF2A8C7776DAA62C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LorenaGSaar_1-1644942370216.png" alt="LorenaGSaar_1-1644942370216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see from my example, in orange is the values that has been updated, and in green what has been included on data base.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I need to compare Table B with Table A, and create like a status when I have updated columns (and what exaclty has been changed), and when I have a new rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today my solution is not 100% correct, and I think I didn't do in the better way.&lt;/P&gt;
&lt;P&gt;For each column I'm comparing with my previous table, and creating a new column with my status.&lt;/P&gt;
&lt;P&gt;I did so far some apply map with Keys on Table B, to compare with table A example:&lt;/P&gt;
&lt;P&gt;Map_1:&lt;/P&gt;
&lt;P&gt;LOAD Column1&amp;amp;Column2&amp;amp;Column3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Columns4&lt;/P&gt;
&lt;P&gt;Resident Table A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table B:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If(Column_4 = Column_4_old, 'Not updated', 'Updated') as Column_4_Val&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;applymap('Map_1', Column1&amp;amp;Column2&amp;amp;Column3, 'N/A') as Column_4_old&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from Table B&lt;/P&gt;
&lt;P&gt;But in my current table I have plenty of columns and a lot of combinations as well.&lt;/P&gt;
&lt;P&gt;Is there any better way to solve what I'm looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for your support! &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 16:39:03 GMT</pubDate>
    <dc:creator>LorenaGSaar</dc:creator>
    <dc:date>2022-02-15T16:39:03Z</dc:date>
    <item>
      <title>Comparing only what exists from one table.</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-only-what-exists-from-one-table/m-p/1893274#M73674</link>
      <description>&lt;P&gt;Hello Community &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;
&lt;P&gt;I have one silly question about how to better check if one record exists from one specific table.&lt;/P&gt;
&lt;P&gt;Example, let's suppose I have the table A, which has the content for my &lt;STRONG&gt;closed month&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LorenaGSaar_0-1644942017116.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72346iE1BFD77A0B9F63C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LorenaGSaar_0-1644942017116.png" alt="LorenaGSaar_0-1644942017116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I have my table B, witch has the content of my &lt;STRONG&gt;daily&lt;/STRONG&gt; export:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LorenaGSaar_1-1644942370216.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72347iBF2A8C7776DAA62C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LorenaGSaar_1-1644942370216.png" alt="LorenaGSaar_1-1644942370216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see from my example, in orange is the values that has been updated, and in green what has been included on data base.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I need to compare Table B with Table A, and create like a status when I have updated columns (and what exaclty has been changed), and when I have a new rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today my solution is not 100% correct, and I think I didn't do in the better way.&lt;/P&gt;
&lt;P&gt;For each column I'm comparing with my previous table, and creating a new column with my status.&lt;/P&gt;
&lt;P&gt;I did so far some apply map with Keys on Table B, to compare with table A example:&lt;/P&gt;
&lt;P&gt;Map_1:&lt;/P&gt;
&lt;P&gt;LOAD Column1&amp;amp;Column2&amp;amp;Column3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Columns4&lt;/P&gt;
&lt;P&gt;Resident Table A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table B:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If(Column_4 = Column_4_old, 'Not updated', 'Updated') as Column_4_Val&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;applymap('Map_1', Column1&amp;amp;Column2&amp;amp;Column3, 'N/A') as Column_4_old&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from Table B&lt;/P&gt;
&lt;P&gt;But in my current table I have plenty of columns and a lot of combinations as well.&lt;/P&gt;
&lt;P&gt;Is there any better way to solve what I'm looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for your support! &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 16:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-only-what-exists-from-one-table/m-p/1893274#M73674</guid>
      <dc:creator>LorenaGSaar</dc:creator>
      <dc:date>2022-02-15T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing only what exists from one table.</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-only-what-exists-from-one-table/m-p/1898922#M74204</link>
      <description>&lt;P&gt;Hi there LorenaGSaar,&lt;/P&gt;
&lt;P&gt;Does your database table contain a column with a created and or a modified date?&lt;BR /&gt;If that's the case you might use that to compare it to the current datetime of the reload of your Qlik app based on this help document:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/LoadData/use-QVD-files-incremental-load.htm" target="_blank"&gt;Loading new and updated records with incremental load ‒ Qlik Sense on Windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Sebb&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 19:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-only-what-exists-from-one-table/m-p/1898922#M74204</guid>
      <dc:creator>SBDataspark</dc:creator>
      <dc:date>2022-03-01T19:44:21Z</dc:date>
    </item>
  </channel>
</rss>

