<?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 Logic in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logic/m-p/4097437#M162589</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got stuck with below scenario. Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1: Data coming from excel and have 10 columns and several rows&lt;/P&gt;&lt;P&gt;Table 2: Data coming from SQL and have 3 columns and few 100s of rows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i need is, any logic to merge two tables. That is, compare table 1 and 2, and if data not available in table 1 from table 2 then add only those data from table 2 to table 1 (for those 3 columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 10:37:52 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2024-08-13T10:37:52Z</dc:date>
    <item>
      <title>Logic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logic/m-p/4097437#M162589</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking at post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got stuck with below scenario. Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1: Data coming from excel and have 10 columns and several rows&lt;/P&gt;&lt;P&gt;Table 2: Data coming from SQL and have 3 columns and few 100s of rows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i need is, any logic to merge two tables. That is, compare table 1 and 2, and if data not available in table 1 from table 2 then add only those data from table 2 to table 1 (for those 3 columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 10:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logic/m-p/4097437#M162589</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-08-13T10:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logic/m-p/4097539#M162592</link>
      <description>&lt;P&gt;I'm not sure if i got what you a trying to do but try the below steps. I had similar requirement and was able to get it solved with the below steps:&lt;BR /&gt;&lt;BR /&gt;In Power Query Editor, select Table 1.&lt;BR /&gt;Click on Home &amp;gt; Merge Queries.&lt;BR /&gt;Select Table 2 as the table to merge with.&lt;BR /&gt;Choose the columns that are common between the two tables (the columns you want to compare).&lt;BR /&gt;Select the Left Anti join. This will return only the rows from Table 2 that do not have a matching row in Table 1 based on the selected columns.&lt;BR /&gt;After the merge, you will see a new column with a table icon. Click on the Expand button (two arrows) next to this column.&lt;BR /&gt;Select the three columns from Table 2 that you want to add to Table 1.&lt;BR /&gt;Go back to the main Power Query Editor window.&lt;BR /&gt;Append the non-matching rows from Table 2 to Table 1.&lt;BR /&gt;Use Home &amp;gt; Append Queries and append the expanded result to Table 1.&lt;BR /&gt;Close and Apply | This process will ensure that only the unique data from Table 2 is added to Table 1.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 11:40:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logic/m-p/4097539#M162592</guid>
      <dc:creator>DatawithDinesh</dc:creator>
      <dc:date>2024-08-13T11:40:11Z</dc:date>
    </item>
  </channel>
</rss>

