<?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: Combine two columns...(Not Merge) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267835#M169213</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do something similar not quite the same - I don't want to combine all columns from both tables. Just the Country and Ticket columns from the 30-40 colunms there is in each one of the tables. I showed just the two columns in the screenshot for sake of simplicity.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2024 23:51:14 GMT</pubDate>
    <dc:creator>amani1980</dc:creator>
    <dc:date>2024-11-02T23:51:14Z</dc:date>
    <item>
      <title>Combine two columns...(Not Merge)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267814#M169211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to combine data from two columns from different tables. Not merge. Each table has two columns country and event and I want to create a new table that contains both tables as shown below. I know I can do this by Append Query as New in Power Query. However, this slows the model a lot. I have shown only two columns of each tables whereas in reality there are more than 30-40 columns and 1000s of rows in each table. So append queries and delete the remaining columns is very tedious and slwos the data refresh. Is there any way I can pull only these two columns from the two tables directly and create a combined new table witout losing the relation between Country and Ticket? Model &lt;A title="PBI Model" href="https://drive.google.com/file/d/1_lo6oUH6wo8-WEBy00RUmf0eUbWog06v/view?usp=drivesdk" target="_self"&gt;here&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;Thanks in advance,&lt;/P&gt;&lt;P&gt;-AM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 21:08:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267814#M169211</guid>
      <dc:creator>amani1980</dc:creator>
      <dc:date>2024-11-02T21:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two columns...(Not Merge)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267834#M169212</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="831127" data-lia-user-login="amani1980" class="lia-mention lia-mention-user"&gt;amani1980&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i might be misunderstood but perhaps what you are looking for is UNION().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a simple example:&lt;BR /&gt;- Table 1&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;- Table 2&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;- New Table with UNION() DAX&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 23:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267834#M169212</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-11-02T23:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two columns...(Not Merge)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267835#M169213</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do something similar not quite the same - I don't want to combine all columns from both tables. Just the Country and Ticket columns from the 30-40 colunms there is in each one of the tables. I showed just the two columns in the screenshot for sake of simplicity.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 23:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267835#M169213</guid>
      <dc:creator>amani1980</dc:creator>
      <dc:date>2024-11-02T23:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two columns...(Not Merge)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267836#M169214</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="831127" data-lia-user-login="amani1980" class="lia-mention lia-mention-user"&gt;amani1980&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to write a calculated table like:&lt;/P&gt;
&lt;P&gt;table3=&lt;/P&gt;
&lt;P&gt;DISTINCT(&lt;/P&gt;
&lt;P&gt;UNION(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; SUMMARIZE(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table1,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table1[country],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table1[ticket]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; ),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; SUMMARIZE(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table2,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table2[country],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table2[ticket]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 23:59:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-two-columns-Not-Merge/m-p/4267836#M169214</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-02T23:59:01Z</dc:date>
    </item>
  </channel>
</rss>

