<?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: Syntax For ')' Error Message in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909652#M95052</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296731" data-lia-user-login="kelly008" class="lia-mention lia-mention-user"&gt;kelly008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some highlights:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Do not name your variables exactly as your measures.&lt;/P&gt;
&lt;P&gt;2. The RETURN must return something. Can't be hanging all by itself.&lt;/P&gt;
&lt;P&gt;3. Please always format your DAX correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want to format by hand, use &lt;A href="http://www.daxformatter.com" target="_blank" rel="noopener"&gt;www.daxformatter.com&lt;/A&gt;. This free tool will also highlight any syntax errors to you.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 13:43:44 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-11-16T13:43:44Z</dc:date>
    <item>
      <title>Syntax For ')' Error Message</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909642#M95049</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently getting this error message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Text version:&amp;nbsp; &amp;nbsp;The syntax for ')' is incorrect. (DAX(VAR OverallStartDate = [OverallStartDate]VAR StartDate = CALCULATE( MIN(Project[Starting_Date]), REMOVEFILTERS(dimDate) )VAR Result = INT(StartDate - OverallStartDate)RETURN)).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this Measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm using this measure for the creation of a Gaant Chart Project Scheduler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 13:39:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909642#M95049</guid>
      <dc:creator>kelly008</dc:creator>
      <dc:date>2022-11-16T13:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax For ')' Error Message</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909652#M95052</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296731" data-lia-user-login="kelly008" class="lia-mention lia-mention-user"&gt;kelly008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some highlights:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Do not name your variables exactly as your measures.&lt;/P&gt;
&lt;P&gt;2. The RETURN must return something. Can't be hanging all by itself.&lt;/P&gt;
&lt;P&gt;3. Please always format your DAX correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want to format by hand, use &lt;A href="http://www.daxformatter.com" target="_blank" rel="noopener"&gt;www.daxformatter.com&lt;/A&gt;. This free tool will also highlight any syntax errors to you.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 13:43:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909652#M95052</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-11-16T13:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax For ')' Error Message</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909657#M95053</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296731" data-lia-user-login="kelly008" class="lia-mention lia-mention-user"&gt;kelly008&lt;/a&gt;&amp;nbsp; try it&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR OverallStartDate = [OverallStartDate]
VAR StartDate = 
CALCULATE( 
MIN(Project[Starting_Date]), 
REMOVEFILTERS(dimDate) 
)
VAR Result = INT(StartDate - OverallStartDate)
RETURN
Result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 13:44:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909657#M95053</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-11-16T13:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax For ')' Error Message</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909774#M95074</link>
      <description>&lt;P&gt;Amazing thank you!!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:28:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-For-Error-Message/m-p/2909774#M95074</guid>
      <dc:creator>kelly008</dc:creator>
      <dc:date>2022-11-16T14:28:15Z</dc:date>
    </item>
  </channel>
</rss>

