<?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: DAX Studio space after function name in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123831#M187274</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="534556" data-lia-user-login="stribor45" class="lia-mention lia-mention-user"&gt;stribor45&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that "Skip space after function name" should be turned off if you want a space between function name and the opening parenthesis. At least it appears to work that way when I tested it just now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Skip space" here means "do not include space", rather than "&lt;EM&gt;skip&lt;/EM&gt; one character space to the right after function name".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps the option could be renamed &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Mar 2026 04:03:24 GMT</pubDate>
    <dc:creator>OwenAuger</dc:creator>
    <dc:date>2026-03-01T04:03:24Z</dc:date>
    <item>
      <title>DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123813#M187273</link>
      <description>&lt;P&gt;Why cant i get this working? I am trying to have a space after the function name but no luck in DAX Studio even&amp;nbsp; though setting is there (see attached)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-- NOT THIS
EVALUATE
ADDCOLUMNS(
    VALUES( CUSTOMER[Gender] ),
    "@Read Sales",
        CALCULATE(
            [SALES AMOUNT],
            'Product'[Color] = "Red"
        )
)

-- BUT THIS
EVALUATE
ADDCOLUMNS (
    VALUES ( CUSTOMER[Gender] ),
    "@Read Sales",
        CALCULATE (
            [SALES AMOUNT],
            'Product'[Color] = "Red"
        )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 02:52:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123813#M187273</guid>
      <dc:creator>stribor45</dc:creator>
      <dc:date>2026-03-01T02:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123831#M187274</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="534556" data-lia-user-login="stribor45" class="lia-mention lia-mention-user"&gt;stribor45&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that "Skip space after function name" should be turned off if you want a space between function name and the opening parenthesis. At least it appears to work that way when I tested it just now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Skip space" here means "do not include space", rather than "&lt;EM&gt;skip&lt;/EM&gt; one character space to the right after function name".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps the option could be renamed &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 04:03:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123831#M187274</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2026-03-01T04:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123966#M187275</link>
      <description>&lt;P&gt;I confrim what&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp; wrote&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tested your code in DAXformatter.com, there there is no need of any special setting and it works, of course it is more time consuming but just to mention that&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;@me in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 13:26:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5123966#M187275</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2026-03-01T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124002#M187277</link>
      <description>&lt;P&gt;yeah i tried it with off before i posted didnt make difference. i switched it again before making this post this is what i see&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 18:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124002#M187277</guid>
      <dc:creator>stribor45</dc:creator>
      <dc:date>2026-03-01T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124003#M187278</link>
      <description>&lt;P&gt;If you already have it &lt;STRONG&gt;unchecked&lt;/STRONG&gt; and reformatting (via the toolbar lightning bolt icon, &lt;STRONG&gt;Ctrl+K Ctrl+D&lt;/STRONG&gt;, or right-click → Format DAX) still produces no space after the function names, here are the most common reasons this happens and how to fix it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;The change wasn't applied / needs a restart&lt;/STRONG&gt; After toggling the checkbox → click &lt;STRONG&gt;OK&lt;/STRONG&gt; or &lt;STRONG&gt;Apply&lt;/STRONG&gt; → close and reopen DAX Studio completely. Then paste your code fresh and format it again. Some users report the setting doesn't take effect until a full restart.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;You're using an outdated version of DAX Studio&lt;/STRONG&gt; The option was added around early 2020 (following SQLBI's formatting rule update). If you're on a very old build (pre-3.x), it might not exist or behave inconsistently. → Go to &lt;STRONG&gt;Help → Check for Updates&lt;/STRONG&gt; (or download the latest from &lt;A href="https://daxstudio.org" target="_blank" rel="noopener noreferrer nofollow"&gt;https://daxstudio.org&lt;/A&gt;). As of 2026, grab the current release — it definitely supports this reliably.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The code already has no spaces, or formatting is set to "Best Practice" style&lt;/STRONG&gt; Some versions / integrations default to the modern SQLBI "no space after function" rule. Try this test:&lt;UL&gt;&lt;LI&gt;Paste exactly this (with spaces already there):&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt;
&lt;SPAN&gt;ADDCOLUMNS ( VALUES ( 'Customer'[Gender] ), "Test", CALCULATE ( [Sales Amount] ) )&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;Format it. If it &lt;STRONG&gt;removes&lt;/STRONG&gt; the spaces → the setting is being ignored or overridden. If it &lt;STRONG&gt;keeps&lt;/STRONG&gt; them → good, the option is working; your original code might just need manual spaces added first before formatting.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sun, 01 Mar 2026 18:59:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124003#M187278</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2026-03-01T18:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124020#M187279</link>
      <description>&lt;P&gt;After I pasted your coded from #3 and formatted it spaces remained. Your statement "&lt;SPAN&gt;your original code might just need manual spaces added first before formatting" what does that mean? I have to manually add the space after the function name? What is the point of this setting then?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 23:27:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124020#M187279</guid>
      <dc:creator>stribor45</dc:creator>
      <dc:date>2026-03-01T23:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124813#M187295</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="534556" data-lia-user-login="stribor45" class="lia-mention lia-mention-user"&gt;stribor45&lt;/a&gt;,&lt;BR /&gt;&lt;/SPAN&gt;Thank you for posting your query in the Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;As per my understanding, the “Skip space after function name” setting primarily prevents the formatter from removing spaces if they already exist; it doesn't automatically insert them into code that lacks them. So if the original code has no space (like ADDCOLUMNS(), formatting won't add one even when the option is off but once you add it (manually or via Find/Replace), future formatting will preserve it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;For official details, check these references:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;DAX Studio Options docs: &lt;A href="https://daxstudio.org/docs/features/options/options-window-standard" target="_blank"&gt;https://daxstudio.org/docs/features/options/options-window-standard&lt;/A&gt; (see the "Skip space after function name" row. default false means space included when unchecked).&lt;/LI&gt;
&lt;LI&gt;SQLBI's 2020 announcement explaining the change and toggle: &lt;A href="https://www.sqlbi.com/blog/marco/2020/01/23/a-small-change-in-dax-formatter-and-in-dax-formatting-rules" target="_blank"&gt;https://www.sqlbi.com/blog/marco/2020/01/23/a-small-change-in-dax-formatter-and-in-dax-formatting-rules&lt;/A&gt; (covers why the rule shifted and how to enforce the spaced style).&lt;/LI&gt;
&lt;LI&gt;General DAX formatting rules: &lt;A href="https://www.sqlbi.com/articles/rules-for-dax-code-formatting/" target="_blank"&gt;https://www.sqlbi.com/articles/rules-for-dax-code-formatting/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If adding spaces via Ctrl+H (Find: ( → Replace: () once per query works for you, that's the quickest workaround and Thanks,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="842490" data-lia-user-login="pcoley" class="lia-mention lia-mention-user"&gt;pcoley&lt;/a&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;for sharing valuable insights.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Ganesh Singamshetty.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 08:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124813#M187295</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2026-03-03T08:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Studio space after function name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124905#M187298</link>
      <description>&lt;P&gt;Thank you for sharing this documentation as i was aware of it and looked at it before posting. I was more interested why it is noted in the settings&amp;nbsp; "Skip space after function name" this way and I guess I misunderstood what it does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 13:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Studio-space-after-function-name/m-p/5124905#M187298</guid>
      <dc:creator>stribor45</dc:creator>
      <dc:date>2026-03-03T13:19:59Z</dc:date>
    </item>
  </channel>
</rss>

