<?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: When should I use apostrophes around table names in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/When-should-I-use-apostrophes-around-table-names/m-p/2172976#M50495</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="334981" data-lia-user-login="barwe" class="lia-mention lia-mention-user"&gt;barwe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect it's because Product is also the name of a DAX function, so the apostrophe's are to ensure DAX knows you're talking about a table name rather than the function.&lt;/P&gt;
&lt;P&gt;There's no difference in the calculation/result depending on if there is or isn't apostrophes.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 15:27:33 GMT</pubDate>
    <dc:creator>PaulOlding</dc:creator>
    <dc:date>2021-11-04T15:27:33Z</dc:date>
    <item>
      <title>When should I use apostrophes around table names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/When-should-I-use-apostrophes-around-table-names/m-p/2172598#M50466</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this measure (In book "The Definitive Guide to DAX" 2nd edidtion. graf 5-16) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sales Pct All Products and Customers = 
VAR CurrentCategorySales = 
    [Sales Amount]
VAR AllProductAndCustomersSales = 
    CALCULATE( 
        [Sales Amount], 
        ALL ( 'Product' ),
        ALL ( Customer )
    )
VAR Ratio =
    DIVIDE ( 
        CurrentCategorySales, 
        AllProductAndCustomersSales
    )
RETURN Ratio&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don't understand why Product table is around&amp;nbsp;apostrophes and Customer table is not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it an oversight or is it for a purpose?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/When-should-I-use-apostrophes-around-table-names/m-p/2172598#M50466</guid>
      <dc:creator>barwe</dc:creator>
      <dc:date>2021-11-04T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: When should I use apostrophes around table names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/When-should-I-use-apostrophes-around-table-names/m-p/2172976#M50495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="334981" data-lia-user-login="barwe" class="lia-mention lia-mention-user"&gt;barwe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect it's because Product is also the name of a DAX function, so the apostrophe's are to ensure DAX knows you're talking about a table name rather than the function.&lt;/P&gt;
&lt;P&gt;There's no difference in the calculation/result depending on if there is or isn't apostrophes.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 15:27:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/When-should-I-use-apostrophes-around-table-names/m-p/2172976#M50495</guid>
      <dc:creator>PaulOlding</dc:creator>
      <dc:date>2021-11-04T15:27:33Z</dc:date>
    </item>
  </channel>
</rss>

