<?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: Understanding expanded tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Understanding-expanded-tables/m-p/2155438#M49766</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;LEFT OUTER JOIN in&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/expanded-tables-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/expanded-tables-in-dax/&lt;/A&gt;&amp;nbsp;and learn &lt;A href="https://www.sqlbi.com/articles/capturing-power-bi-queries-using-dax-studio/" target="_blank"&gt;https://www.sqlbi.com/articles/capturing-power-bi-queries-using-dax-studio/&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 09:20:02 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2021-10-26T09:20:02Z</dc:date>
    <item>
      <title>Understanding expanded tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Understanding-expanded-tables/m-p/2150280#M49532</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Please, consider this situation:&lt;BR /&gt;&lt;BR /&gt;Product table, with a one-to-many relationship with a Sales table (following case presented in &lt;A href="https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept/" target="_self"&gt;this&lt;/A&gt; sqlbi.com article).&lt;BR /&gt;&lt;BR /&gt;I want to understand the behaviour of using expanded tables.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I write this measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NumOfProductsSold = CALCULATE ( COUNT('Product'[ProductKey]), Sales )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It will return me the number of products sold, but a distinct list of the products sold, not a simple count of products.&amp;nbsp;&lt;BR /&gt;Why?&lt;BR /&gt;Isn't this using the expanded tables of Sales, and therefore the related Product columns of this expanded table? If this was the case the values would not contain only the distinct values.&lt;BR /&gt;Can anybody please clearly explain what is going on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 11:55:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Understanding-expanded-tables/m-p/2150280#M49532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-22T11:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding expanded tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Understanding-expanded-tables/m-p/2155438#M49766</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;LEFT OUTER JOIN in&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/expanded-tables-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/expanded-tables-in-dax/&lt;/A&gt;&amp;nbsp;and learn &lt;A href="https://www.sqlbi.com/articles/capturing-power-bi-queries-using-dax-studio/" target="_blank"&gt;https://www.sqlbi.com/articles/capturing-power-bi-queries-using-dax-studio/&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 09:20:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Understanding-expanded-tables/m-p/2155438#M49766</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2021-10-26T09:20:02Z</dc:date>
    </item>
  </channel>
</rss>

