<?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 to join summarized tables? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3022842#M102922</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try by changing the name of the columns to same in both the cases.&lt;/P&gt;&lt;P&gt;Still no luck.&lt;/P&gt;&lt;P&gt;Error: The incompatible join column was dectected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Couldn't figure out why this error comes, even I have same datatypes,names for both the columns.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 09:59:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-16T09:59:47Z</dc:date>
    <item>
      <title>How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/1326265#M23394</link>
      <description>&lt;P&gt;I woul like to know how to join two tables that I get with SUMMIRIZE function. Tables doesn't have a direct relationship, they only connected by common dimensions.&lt;BR /&gt;For example, I have the code that doesn't work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var table1 = SUMMARIZE(
	FactTable1,
	FactTable1[CustomerId],
	FactTable1[DateId],
	FactTable1[CategoryId],
	FactTable1[Amount]
)

var table2 = SUMMARIZE(
	FactTable2,
	FactTable2[CustomerId],
	FactTable2[DateId],
	FactTable2[CategoryId],
	FactTable2[AmountWithDifferentName]
)

return NATURALLEFTOUTERJOIN(table1, table2)&lt;/LI-CODE&gt;&lt;P&gt;And the execution of this code throws an error message: "No common join columns detected. The join function requires at-least one common join column."&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/1326265#M23394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-26T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/1326400#M23403</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , see if this can help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/" target="_blank"&gt;https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:58:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/1326400#M23403</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-26T15:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3020054#M102703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="11450" data-lia-user-login="Amit" class="lia-mention lia-mention-user"&gt;Amit&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I too got the same error with the same kind of scenario. Below is part of my code.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;__Table1&lt;/SPA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SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;__Table3&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;__Table1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error: No common join columns detected. The join function 'NATURALLEFTJOIN' requires at-least one column join column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 18:25:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3020054#M102703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-13T18:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3020076#M102705</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try changing the name to be a common name between the two columns in the tables to be joined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/naturalleftouterjoin-function-dax" target="_blank"&gt;NATURALLEFTOUTERJOIN function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 18:39:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3020076#M102705</guid>
      <dc:creator>adudani</dc:creator>
      <dc:date>2023-01-13T18:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3022842#M102922</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try by changing the name of the columns to same in both the cases.&lt;/P&gt;&lt;P&gt;Still no luck.&lt;/P&gt;&lt;P&gt;Error: The incompatible join column was dectected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Couldn't figure out why this error comes, even I have same datatypes,names for both the columns.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 09:59:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3022842#M102922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-16T09:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3023395#M102973</link>
      <description>&lt;P&gt;hi Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you expecting this?&lt;/P&gt;&lt;P&gt;UNION(Table1, Table2)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 13:56:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3023395#M102973</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-16T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to join summarized tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3023919#M103020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Issue got resolved by using groupby DAX function.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 18:23:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-summarized-tables/m-p/3023919#M103020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-16T18:23:31Z</dc:date>
    </item>
  </channel>
</rss>

