<?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: two columns from two table has one to many relation, how can I combine them into a single table? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3642410#M141014</link>
    <description>&lt;P&gt;Hi, thank you for your message, and I think it is related to the relationship issue.&lt;/P&gt;
&lt;P&gt;Please share your sample pbix file and then I can try to look into it.&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 03:44:58 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-01-17T03:44:58Z</dc:date>
    <item>
      <title>two columns from two table has one to many relation, how can I combine them into a single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641583#M140982</link>
      <description>&lt;P&gt;two columns from two table has one to many relation, how can I combine them into a single table? I want to make a null or 0 if there is mismatch&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 17:51:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641583#M140982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-16T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: two columns from two table has one to many relation, how can I combine them into a single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641629#M140984</link>
      <description>&lt;P&gt;Hi, I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file whether it suits your requirement.&lt;/P&gt;
&lt;P&gt;It is for creating a new table.&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;LI-CODE lang="markup"&gt;expected result table = 
	SUMMARIZE(
		'Sales',
		'Customer'[customer key],
		'Sales'[shop],
		'Sales'[quantity],
		'Customer'[customer name]
	)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 18:25:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641629#M140984</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-01-16T18:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: two columns from two table has one to many relation, how can I combine them into a single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641658#M140990</link>
      <description>&lt;P&gt;Hi, thanks for helping. when I tried this on my file, it will not let me pick the second table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example, once I have 'Table 1' after summarize, I can not have 'Taable 2' [Column 1]&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 18:41:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3641658#M140990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-16T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: two columns from two table has one to many relation, how can I combine them into a single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3642410#M141014</link>
      <description>&lt;P&gt;Hi, thank you for your message, and I think it is related to the relationship issue.&lt;/P&gt;
&lt;P&gt;Please share your sample pbix file and then I can try to look into it.&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 03:44:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3642410#M141014</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-01-17T03:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: two columns from two table has one to many relation, how can I combine them into a single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3649934#M141388</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your description,&lt;BR /&gt;I think you could try joining the two tables together using a merge query.&lt;BR /&gt;My Sample:&lt;BR /&gt;Table1:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Table2:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The operation is shown below:&lt;/P&gt;
&lt;P&gt;In Power Query Editor, select Merge queries.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then choose to expand the fields in the new table column.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you want to know more about the Merge queries, you can refer to the following link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/merge-queries-overview#merging-queries" target="_blank"&gt;Merge queries overview - Power Query | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Yulia Yan&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 05:15:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/two-columns-from-two-table-has-one-to-many-relation-how-can-I/m-p/3649934#M141388</guid>
      <dc:creator>v-weiyan1-msft</dc:creator>
      <dc:date>2024-01-21T05:15:07Z</dc:date>
    </item>
  </channel>
</rss>

