<?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 2 table that has many-to-many relationship in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692817#M143547</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a new table.&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/generate-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;GENERATE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result table = 
GENERATE('Table 1', SUMMARIZE('Table 2', 'Table 2'[Operation]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Feb 2024 14:46:55 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-02-11T14:46:55Z</dc:date>
    <item>
      <title>How to join 2 table that has many-to-many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692653#M143540</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;My question is below. I have two tables connected to each other with "Order" column and many-to many relationship. I want to get a new table shown as below. Is there any way to have it? I am a newbie so, if it is a dumb question, sorry about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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;</description>
      <pubDate>Sun, 11 Feb 2024 09:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692653#M143540</guid>
      <dc:creator>CKK</dc:creator>
      <dc:date>2024-02-11T09:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to join 2 table that has many-to-many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692670#M143542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="678553" data-lia-user-login="CKK" class="lia-mention lia-mention-user"&gt;CKK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No need to be sorry, create three tables instead. Avoid Many to Many relationships.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1 unique parts&lt;/P&gt;&lt;P&gt;Table 2 unique operations&lt;/P&gt;&lt;P&gt;Table 3 Orders&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Join Table1 and Table2 to Table3 using One-Many relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You do not need to create a combined table, what is it you want to do with combined table?&lt;/P&gt;&lt;P&gt;Problems with combined table&lt;/P&gt;&lt;P&gt;- Additional storage.&lt;/P&gt;&lt;P&gt;- Slow refresh time.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 09:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692670#M143542</guid>
      <dc:creator>talespin</dc:creator>
      <dc:date>2024-02-11T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to join 2 table that has many-to-many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692817#M143547</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a new table.&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/generate-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;GENERATE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result table = 
GENERATE('Table 1', SUMMARIZE('Table 2', 'Table 2'[Operation]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 14:46:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3692817#M143547</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-11T14:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to join 2 table that has many-to-many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3693779#M143603</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="678553" data-lia-user-login="CKK" class="lia-mention lia-mention-user"&gt;CKK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use Merge to achieve this effect.&lt;/P&gt;
&lt;P&gt;&lt;img /&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;Delete the Order column&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details, you can read related document link:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-query/merge-queries-overview" target="_blank" rel="noopener"&gt;Merge queries overview - Power Query | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 10:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-join-2-table-that-has-many-to-many-relationship/m-p/3693779#M143603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-12T10:09:20Z</dc:date>
    </item>
  </channel>
</rss>

