<?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: Add Columns from two table with inactive relationship in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088213#M108068</link>
    <description>&lt;P&gt;You could add a new table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Combined table =
GENERATE(
	'Table1',
	SELECTCOLUMNS(
		FILTER( 'Table2', 'Table2'[Zip Code] = 'Table1'[Zip Code] ),
		"State", 'Table2'[State],
		"Country", 'Table2'[Country]
	)
)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 20 Feb 2023 14:47:48 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2023-02-20T14:47:48Z</dc:date>
    <item>
      <title>Add Columns from two table with inactive relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088202#M108066</link>
      <description>&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connected to two tables via direct query, and both contain some geographic data. Below sample screenshot shows the tables:&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;also, the model is simple like the below:&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;My ask is to create a new&lt;U&gt; virtual table&lt;/U&gt; with &lt;U&gt;DAX&lt;/U&gt; (not PQ), where Table1[zip code] = Tbale2[zip code] and return these columns:&lt;BR /&gt;City, lat, long, zip, State and country.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://file.io/7EIPgoRyjoho" target="_self"&gt;Sample file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 14:37:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088202#M108066</guid>
      <dc:creator>Student1</dc:creator>
      <dc:date>2023-02-20T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add Columns from two table with inactive relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088213#M108068</link>
      <description>&lt;P&gt;You could add a new table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Combined table =
GENERATE(
	'Table1',
	SELECTCOLUMNS(
		FILTER( 'Table2', 'Table2'[Zip Code] = 'Table1'[Zip Code] ),
		"State", 'Table2'[State],
		"Country", 'Table2'[Country]
	)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Feb 2023 14:47:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088213#M108068</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-02-20T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add Columns from two table with inactive relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088350#M108078</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 15:50:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Columns-from-two-table-with-inactive-relationship/m-p/3088350#M108078</guid>
      <dc:creator>Student1</dc:creator>
      <dc:date>2023-02-20T15:50:03Z</dc:date>
    </item>
  </channel>
</rss>

