<?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: 2 sources: Common fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287871#M403077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you possibly make this syntax in the app? Im not familiar with applymaps. But I understand your logic to make a key on that specific fields and compare them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 11:21:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-06T11:21:12Z</dc:date>
    <item>
      <title>2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287865#M403071</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 two files from two different sources. One file is from our internal database and one is clients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal with this application is to notice differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my application and some pictures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on some fields i'd like them to only show if theres any difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;settledate + price + issell on one side contra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eod_SD + eod_price + eod_Side on the other side. They should be exact the same if not then show the diff. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287865#M403071</guid>
      <dc:creator />
      <dc:date>2016-12-06T10:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287866#M403072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no relationship between EOD and Marketplace table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287866#M403072</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-06T11:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287867#M403073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No they are from different sources. Different departments actually. Abasec is my side and EOD is their side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not made any joins together or anything &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287867#M403073</guid>
      <dc:creator />
      <dc:date>2016-12-06T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287868#M403074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if there is nothing to tie back the rows of data from each table, how do we check??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287868#M403074</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-06T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287869#M403075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Niklas, you can LOAD a table with the composed key as a map and apply this map to the other table to flag differences:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MAP_Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mapping LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;settledate &amp;amp;'_'&amp;amp; price &amp;amp;'_'&amp;amp; issell as key, //'_' is only a aseparator&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Different //If not found here the record is different&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Resident/FROM/SELECT Table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table1:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD *, applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;MAP_Table2', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;eod_SD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt; eod_price &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt; eod_Side, 1) as Different&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Resident&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/FROM/SELECT&lt;/SPAN&gt; table 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You can also add the map from table 1 and load table 2 to flag recods on both tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287869#M403075</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-06T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287870#M403076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I havent made a join or anything but they have common fields where the should match and that is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;settledate + price + issell on one side contra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;eod_SD + eod_price + eod_Side on the other side.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If they don't thats the difference I want to be shown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287870#M403076</guid>
      <dc:creator />
      <dc:date>2016-12-06T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287871#M403077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you possibly make this syntax in the app? Im not familiar with applymaps. But I understand your logic to make a key on that specific fields and compare them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287871#M403077</guid>
      <dc:creator />
      <dc:date>2016-12-06T11:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287872#M403078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if there are multiple orders on the same dates from the same side , then even a composite key won't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287872#M403078</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-06T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287873#M403079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not 100% I follow you here sorry. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the fields I mentioned and maybe also lsearchname there wont be any more? That make a unique row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287873#M403079</guid>
      <dc:creator />
      <dc:date>2016-12-06T11:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287874#M403080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Niklas, I don't have an available license so I can't open the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To explain the code:&lt;/P&gt;&lt;P&gt;- First creates the keys (one string with all the fields) to search in a map (A load starting with 'Mapping'). The map has 2 fields: the value to search and the value that returns when is found (it this case all returns zero)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;SPAN style="color: #3366ff;"&gt;MAP_Table2&lt;/SPAN&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt; LOAD &lt;SPAN style="font-weight: inherit; font-size: 13px;"&gt;&lt;SPAN style="color: #339966;"&gt;settledate &amp;amp;'_'&amp;amp; price &amp;amp;'_'&amp;amp; issell&lt;/SPAN&gt; as key, //'_' is only a aseparator&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="; color: #000000;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt; as &lt;SPAN style="font-weight: inherit;"&gt;Different //If found here the record is &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; different&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;EM&gt;Resident/FROM/SELECT Table2;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;- Next step is Load the other table, applymap looks if the key created with the fields of this table matches any records of the previous table, if a similar record is found it retuns zero (the value of the map). If no similar record was found it returns 1. So the different records will be marked with this field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD *, applymap('&lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="color: #3366ff;"&gt;MAP_Table2&lt;/SPAN&gt;', &lt;SPAN style="font-weight: inherit; font-size: 13px;"&gt;&lt;SPAN style="color: #339966;"&gt;eod_SD &lt;SPAN style="font-weight: inherit;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt; eod_price &lt;SPAN style="font-weight: inherit;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt; eod_Side&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;) as Different&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;EM&gt;Resident&lt;SPAN style="font-weight: inherit;"&gt;/FROM/SELECT&lt;/SPAN&gt; table 1;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;The syntaxis for ApplyMap is: ApplyMap(&lt;SPAN style="color: #3366ff;"&gt;Map_To_Look&lt;/SPAN&gt;, &lt;SPAN style="color: #339966;"&gt;Value_To_Search&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;[Value_To_Retun_If_Not_Found]&lt;/SPAN&gt;) // If the value is found it retuns the 2nd field of the map.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287874#M403080</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-06T12:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287875#M403081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My key i generated by fields from 3 tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contnotes gives me settledate,&lt;/P&gt;&lt;P&gt;instruments gives me lsearchname,&lt;/P&gt;&lt;P&gt;marketplacedeals gives me issell, price&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that affect your mappingload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287875#M403081</guid>
      <dc:creator />
      <dc:date>2016-12-06T12:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: 2 sources: Common fields</title>
      <link>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287876#M403082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be based on the checks you want to do, from what I undesrtand of your first post, to check 3 fields at a time means those 3 tables are related, and you want to check each related row, so to do this the tables should be joined first in one table, from this table you can create the key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 13:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-sources-Common-fields/m-p/1287876#M403082</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-06T13:44:22Z</dc:date>
    </item>
  </channel>
</rss>

