<?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: Compare two diffrent tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368600#M24881</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try a new column like &lt;/P&gt;
&lt;P&gt;if( Table1[value] = maxx(filter(Table2, Table2[Serialnumber] = table1[Serialnumber]),Table2[Value]),1,0)&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 10:34:56 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-09-14T10:34:56Z</dc:date>
    <item>
      <title>Compare two diffrent tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368379#M24874</link>
      <description>&lt;P&gt;Hello Power Bi Community,&lt;/P&gt;&lt;P&gt;I need to create a new column in table A to compare two serial numbers from two different tables (one is in table A and the other in table B), if the serial number matches I need to insert in the new column in table A a value from table B which is in the same row as the serial number. For example:&lt;/P&gt;&lt;P&gt;Tabel A:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Serialnumber&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;New created column&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;12,3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&g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gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:35:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368379#M24874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-14T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two diffrent tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368417#M24875</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Maybe:&lt;BR /&gt;Column = LOOKUPVALUE('TableB'[Value],'TableB'[Serialnumber],'TableA'[SerialNumber])&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:42:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368417#M24875</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-14T09:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two diffrent tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368449#M24876</link>
      <description>&lt;P&gt;Din't work.&amp;nbsp;The error message is: A table with several values was returned although a single value was expected.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:54:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368449#M24876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-14T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two diffrent tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368600#M24881</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try a new column like &lt;/P&gt;
&lt;P&gt;if( Table1[value] = maxx(filter(Table2, Table2[Serialnumber] = table1[Serialnumber]),Table2[Value]),1,0)&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 10:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368600#M24881</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-14T10:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two diffrent tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368744#M24888</link>
      <description>&lt;P&gt;I tryed this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;New column = if(LOOKUPVALUE(Table2[SN],Table2[SN],Table1[SN]),1,0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this function I have a 1 in every line where the serial numbers are the same. Now I just have to somehow replace the 1 with the value in table 2.&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 11:35:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-diffrent-tables/m-p/1368744#M24888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-14T11:35:45Z</dc:date>
    </item>
  </channel>
</rss>

