<?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 Create new table from combination of 2 columns from 2 tables. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-table-from-combination-of-2-columns-from-2-tables/m-p/1054266#M14490</link>
    <description>&lt;P&gt;I have sales and forecast data and want to create a table containing only the product codes and categories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For one of both I would do the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Products = DISTINCT(UNION(VALUES(germany_sales[Product]); VALUES( forecast_germany[Product Number (SKU)]))&lt;/LI-CODE&gt;&lt;P&gt;But I want to to it for the combination Product + Product category.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 17:19:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-28T17:19:26Z</dc:date>
    <item>
      <title>Create new table from combination of 2 columns from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-table-from-combination-of-2-columns-from-2-tables/m-p/1054266#M14490</link>
      <description>&lt;P&gt;I have sales and forecast data and want to create a table containing only the product codes and categories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For one of both I would do the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Products = DISTINCT(UNION(VALUES(germany_sales[Product]); VALUES( forecast_germany[Product Number (SKU)]))&lt;/LI-CODE&gt;&lt;P&gt;But I want to to it for the combination Product + Product category.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 17:19:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-table-from-combination-of-2-columns-from-2-tables/m-p/1054266#M14490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-28T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create new table from combination of 2 columns from 2 tables.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-table-from-combination-of-2-columns-from-2-tables/m-p/1054587#M14505</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;Please share sample data along with the columns of your table to help you with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:42:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-table-from-combination-of-2-columns-from-2-tables/m-p/1054587#M14505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-28T19:42:33Z</dc:date>
    </item>
  </channel>
</rss>

