<?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: How do I get data in table A that is not in table B, but by only looking at one specific column? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-do-I-get-data-in-table-A-that-is-not-in-table-B-but-by-only/m-p/147485#M5039</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/23243"&gt;@Amie-Louise&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power Query would be a more proper approach. Check&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;let  
    LeadWebsite=  Table.FromRows({{"Mrs S Smith", "1 Test Road, Test, TE5 73D", "smith@test.com"} , {"Mr Jones", "456 High Street", "789101"}}, {"Name", "Address", "Email"}),

    DataBase=Table.FromRows({{"Mrs Sandra Smith", "1 Test Road, Test, TE5 73D", "smith@test.com"} , {"Dr Jackson", "20 Roman Close", "xxx@xxx.com"}}, {"Name", "Address", "Email"}),
     
    RemovedRows  =   Table.FromList(DataBase[Email], Splitter.SplitByNothing(), {"Email"}, null, ExtraValues.Error), 

    FilteredLeadWebsite= Table.RemoveMatchingRows(LeadWebsite,Table.ToRecords(RemovedRows)  ,"Email")
in
    FilteredLeadWebsite&lt;/PRE&gt;
&lt;P&gt;In the query editor window, right click on the query list panel, right click and create a blank query.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34315iE9791B96B0CCEDBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select the created query, open the edit window and paste the power query.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34316i615C32FF1D9BB155/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the steps one by one&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 313px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34317i2A4394960228EE6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 08:03:59 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-03-23T08:03:59Z</dc:date>
    <item>
      <title>How do I get data in table A that is not in table B, but by only looking at one specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-do-I-get-data-in-table-A-that-is-not-in-table-B-but-by-only/m-p/146336#M5009</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Question Raised Previously:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I get records from Table A that are not in Table B?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Answer:-&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Switch&amp;nbsp;to the Data View &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Go to the Modelling Tab and choose New Table.&lt;/LI&gt;&lt;LI&gt;Fire&amp;nbsp;the query - DummyTable = INTERSECT('Table1(Lead Website)','Table1(Database)')&lt;/LI&gt;&lt;LI&gt;Again Choose New Table&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Fire the Query - DesiredTable = EXCEPT('Table1(Lead Website)',DummyTable)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I have tested this it works however when I use this with live data it doesn't work because not all fields are exactly the same.&lt;/P&gt;&lt;P&gt;E.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Table A Record (Lead Website)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Name = Mrs S Smith&lt;/P&gt;&lt;P&gt;Address = 1 Test Road, Test, TE5 73D&lt;/P&gt;&lt;P&gt;Email = smith@test.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Table B Record (Database)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Name = Mrs Sandra Smith&lt;/P&gt;&lt;P&gt;Address = 1 Test Road, TE5 73D&lt;/P&gt;&lt;P&gt;Email = smith@test.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The constant in both would be the email address,&amp;nbsp;therefore is there possibly a way for us to tweak the answer above slightly to encorporate this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amie.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:36:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-do-I-get-data-in-table-A-that-is-not-in-table-B-but-by-only/m-p/146336#M5009</guid>
      <dc:creator>Amie-Louise</dc:creator>
      <dc:date>2017-03-21T16:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get data in table A that is not in table B, but by only looking at one specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-do-I-get-data-in-table-A-that-is-not-in-table-B-but-by-only/m-p/147485#M5039</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/23243"&gt;@Amie-Louise&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power Query would be a more proper approach. Check&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;let  
    LeadWebsite=  Table.FromRows({{"Mrs S Smith", "1 Test Road, Test, TE5 73D", "smith@test.com"} , {"Mr Jones", "456 High Street", "789101"}}, {"Name", "Address", "Email"}),

    DataBase=Table.FromRows({{"Mrs Sandra Smith", "1 Test Road, Test, TE5 73D", "smith@test.com"} , {"Dr Jackson", "20 Roman Close", "xxx@xxx.com"}}, {"Name", "Address", "Email"}),
     
    RemovedRows  =   Table.FromList(DataBase[Email], Splitter.SplitByNothing(), {"Email"}, null, ExtraValues.Error), 

    FilteredLeadWebsite= Table.RemoveMatchingRows(LeadWebsite,Table.ToRecords(RemovedRows)  ,"Email")
in
    FilteredLeadWebsite&lt;/PRE&gt;
&lt;P&gt;In the query editor window, right click on the query list panel, right click and create a blank query.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34315iE9791B96B0CCEDBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select the created query, open the edit window and paste the power query.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34316i615C32FF1D9BB155/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the steps one by one&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 313px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34317i2A4394960228EE6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 08:03:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-do-I-get-data-in-table-A-that-is-not-in-table-B-but-by-only/m-p/147485#M5039</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-03-23T08:03:59Z</dc:date>
    </item>
  </channel>
</rss>

