<?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 DAX Comments in Power Pivot Measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/988995#M12237</link>
    <description>&lt;P&gt;Is there a way to use comments in DAX measure formulas in Power Pivot? I tried both //...., and /*...*/, and while they show up in blue initially and seem to be understood as a comment, they disappear when the model calculates.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2020 13:19:47 GMT</pubDate>
    <dc:creator>ChrisW3</dc:creator>
    <dc:date>2020-03-24T13:19:47Z</dc:date>
    <item>
      <title>DAX Comments in Power Pivot Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/988995#M12237</link>
      <description>&lt;P&gt;Is there a way to use comments in DAX measure formulas in Power Pivot? I tried both //...., and /*...*/, and while they show up in blue initially and seem to be understood as a comment, they disappear when the model calculates.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 13:19:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/988995#M12237</guid>
      <dc:creator>ChrisW3</dc:creator>
      <dc:date>2020-03-24T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Comments in Power Pivot Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/989222#M12243</link>
      <description>&lt;P&gt;I figured out the solution to this. Sharing in case anyone else runs into the same problem. It seems that Power Pivot will remove comments in DAX code if they are not on a single line, and the single line has to be surrounded by other lines (can't be the last line). Seems like a strange bug. Why can't I end my code with a comment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:=SUM([Amount]) //This comment will be deleted by power pivot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:=SUM([Amount])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//This comment will also be delted by power pivot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:=SUM([Amount])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //This comment will be maintained because the next line is not blank&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 15:12:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/989222#M12243</guid>
      <dc:creator>ChrisW3</dc:creator>
      <dc:date>2020-03-24T15:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Comments in Power Pivot Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/2376532#M61238</link>
      <description>&lt;P&gt;Measure := //Apparently this comment will also disappear&lt;/P&gt;&lt;P&gt;SUM ([AMOUNT])&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 18:44:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Comments-in-Power-Pivot-Measures/m-p/2376532#M61238</guid>
      <dc:creator>Arturo24</dc:creator>
      <dc:date>2022-03-05T18:44:58Z</dc:date>
    </item>
  </channel>
</rss>

