<?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: X-Lookup two columns within difference tables and confirm match in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4586423#M175709</link>
    <description>&lt;P&gt;The solution is very straightforward and also scalable if more columns should be incorporated.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 16:53:42 GMT</pubDate>
    <dc:creator>ThxAlot</dc:creator>
    <dc:date>2025-02-26T16:53:42Z</dc:date>
    <item>
      <title>X-Lookup two columns within difference tables and confirm match</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4585801#M175686</link>
      <description>&lt;P&gt;Hello Power BI Helpers-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some help matching customer order from table 1 to customer returns from table 2.&lt;/P&gt;&lt;P&gt;Match needs to take into consideration the combination of two columns - Order # column and SKU # column.&lt;/P&gt;&lt;P&gt;Expected result is to mark in Table 1 would be shown in an additional column if the combination was found or was not found in Table #2&amp;nbsp; represented by a 1 or 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Table 1- Order Information&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Order ID&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;SKU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 1, 2025&lt;/TD&gt;&lt;TD&gt;AL12345&lt;/TD&gt;&lt;TD&gt;Pens&lt;/TD&gt;&lt;TD&gt;LXM_920&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 2, 2025&lt;/TD&gt;&lt;TD&gt;AL56789&lt;/TD&gt;&lt;TD&gt;Pencils&lt;/TD&gt;&lt;TD&gt;UVX_556&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 10, 2025&lt;/TD&gt;&lt;TD&gt;AL09876&lt;/TD&gt;&lt;TD&gt;Erasers&lt;/TD&gt;&lt;TD&gt;EDC_111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 10, 2025&lt;/TD&gt;&lt;TD&gt;AL09876&lt;/TD&gt;&lt;TD&gt;Erasers&lt;/TD&gt;&lt;TD&gt;EDC_113&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2 - Returns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Order Number&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Item ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 12, 2025&lt;/TD&gt;&lt;TD&gt;AL12399&lt;/TD&gt;&lt;TD&gt;Pens&lt;/TD&gt;&lt;TD&gt;LXM_920&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 22, 2025&lt;/TD&gt;&lt;TD&gt;AL56789&lt;/TD&gt;&lt;TD&gt;Pencils&lt;/TD&gt;&lt;TD&gt;UVX_556&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 15, 2025&lt;/TD&gt;&lt;TD&gt;AL09876&lt;/TD&gt;&lt;TD&gt;Erasers&lt;/TD&gt;&lt;TD&gt;EDC_113&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expceted Result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Order ID&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;SKU&lt;/TD&gt;&lt;TD&gt;Match&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 1, 2025&lt;/TD&gt;&lt;TD&gt;AL12345&lt;/TD&gt;&lt;TD&gt;Pens&lt;/TD&gt;&lt;TD&gt;LXM_920&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 2, 2025&lt;/TD&gt;&lt;TD&gt;AL56789&lt;/TD&gt;&lt;TD&gt;Pencils&lt;/TD&gt;&lt;TD&gt;UVX_556&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 10, 2025&lt;/TD&gt;&lt;TD&gt;AL09876&lt;/TD&gt;&lt;TD&gt;Erasers&lt;/TD&gt;&lt;TD&gt;EDC_111&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January 10, 2025&lt;/TD&gt;&lt;TD&gt;AL09876&lt;/TD&gt;&lt;TD&gt;Erasers&lt;/TD&gt;&lt;TD&gt;EDC_113&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 08:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4585801#M175686</guid>
      <dc:creator>khisla</dc:creator>
      <dc:date>2025-02-26T08:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: X-Lookup two columns within difference tables and confirm match</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4585807#M175687</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910259" data-lia-user-login="khisla" class="lia-mention lia-mention-user"&gt;khisla&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Match = 
VAR Found = 
    LOOKUPVALUE(
        'Returns'[Item ID], 
        'Returns'[Order Number], 'Order Information'[Order ID], 
        'Returns'[Item ID], 'Order Information'[SKU]
    )
RETURN 
    IF(NOT(ISBLANK(Found)), 1, 0)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Feb 2025 09:04:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4585807#M175687</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2025-02-26T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: X-Lookup two columns within difference tables and confirm match</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4586423#M175709</link>
      <description>&lt;P&gt;The solution is very straightforward and also scalable if more columns should be incorporated.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 16:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4586423#M175709</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2025-02-26T16:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: X-Lookup two columns within difference tables and confirm match</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4594551#M175940</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you so much!!&lt;/P&gt;&lt;P&gt;This worked perfectly.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 08:46:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/X-Lookup-two-columns-within-difference-tables-and-confirm-match/m-p/4594551#M175940</guid>
      <dc:creator>khisla</dc:creator>
      <dc:date>2025-03-04T08:46:18Z</dc:date>
    </item>
  </channel>
</rss>

