<?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: My DAX in Excel powerpivot does not understand numbers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4141701#M164601</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="803640" data-lia-user-login="Yuriy-Agri" class="lia-mention lia-mention-user"&gt;Yuriy-Agri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not encountered the same problem as you in my testing.&lt;BR /&gt;Please try checking the following to see if it resolves it.&lt;BR /&gt;1. Make sure the DAX formula has no syntax errors and references the column names correctly.&lt;BR /&gt;2. Try updating Excel to the latest version.&lt;BR /&gt;If the problem persists, please go to the Excel forum &lt;A href="https://techcommunity.microsoft.com/t5/excel/welcome-to-the-excel-community/m-p/7715" target="_blank"&gt;Welcome to the Excel Community - Microsoft Community Hub&lt;/A&gt;&amp;nbsp;for professional support.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jarvis Tang&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 02:20:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-10T02:20:04Z</dc:date>
    <item>
      <title>My DAX in Excel powerpivot does not understand numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4140996#M164562</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I put this minus 1 or any other number the formula does not regard it as a number.&amp;nbsp;&lt;BR /&gt;Only one way to force it t work is to put {}, then everything work.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But it is not how it should be.&amp;nbsp;&lt;BR /&gt;In Power BI everything works as shall be without any {}&lt;BR /&gt;What is wrong with my Excell 365 ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:52:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4140996#M164562</guid>
      <dc:creator>Yuriy-Agri</dc:creator>
      <dc:date>2024-09-09T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: My DAX in Excel powerpivot does not understand numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4141701#M164601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="803640" data-lia-user-login="Yuriy-Agri" class="lia-mention lia-mention-user"&gt;Yuriy-Agri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not encountered the same problem as you in my testing.&lt;BR /&gt;Please try checking the following to see if it resolves it.&lt;BR /&gt;1. Make sure the DAX formula has no syntax errors and references the column names correctly.&lt;BR /&gt;2. Try updating Excel to the latest version.&lt;BR /&gt;If the problem persists, please go to the Excel forum &lt;A href="https://techcommunity.microsoft.com/t5/excel/welcome-to-the-excel-community/m-p/7715" target="_blank"&gt;Welcome to the Excel Community - Microsoft Community Hub&lt;/A&gt;&amp;nbsp;for professional support.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jarvis Tang&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 02:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4141701#M164601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T02:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: My DAX in Excel powerpivot does not understand numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4161709#M165347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="803640" data-lia-user-login="Yuriy-Agri" class="lia-mention lia-mention-user"&gt;Yuriy-Agri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a friendly follow up on the case. May I know if the problem has been resolved?&lt;/P&gt;
&lt;P&gt;If you have any Power BI related problems, please feel free to contact me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jarvis Tang&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 08:05:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4161709#M165347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-20T08:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: My DAX in Excel powerpivot does not understand numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4162315#M165372</link>
      <description>&lt;P&gt;No, it is not working.&amp;nbsp;&lt;BR /&gt;It looks like DAX formulas in my Excel 365 understand numbers/dot/coma incorrectly. I made another test workbook.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And if I put the curve brackets around 5, then the formula works well.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And the same DAX formula works ok in Power BI&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 12:36:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4162315#M165372</guid>
      <dc:creator>Yuriy-Agri</dc:creator>
      <dc:date>2024-09-20T12:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: My DAX in Excel powerpivot does not understand numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4163800#M165411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="803640" data-lia-user-login="Yuriy-Agri" class="lia-mention lia-mention-user"&gt;Yuriy-Agri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that your regional settings have the comma as the decimal separator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to replicate the behaviour you're seeing by switching my Window Region/Format from my usual&amp;nbsp; "&lt;STRONG&gt;English (New Zealand)&lt;/STRONG&gt;" to "&lt;STRONG&gt;English (Germany)&lt;/STRONG&gt;" to enable the comma decimal separator.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;It seems that with these regional settings, when authoring DAX expressions in the Power Pivot interface, commas can be treated either as decimal separators or list separators depending on the context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;When a comma immediately follows digits in such a way that it could be a valid decimal separator, it is interpreted as a decimal separator.&lt;/LI&gt;
&lt;LI&gt;Otherwise, it is interpreted as a list separator.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Assuming you want to leave your Region/Format settings unchanged, it seems that for any expression that contains a number with no decimal places followed by a list separator, you must ensure some other character is inserted between the number and the list separator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This character can simply be a space, an extra comma to act as a redundant decimal separator, or you could wrap the number in brackets or even a table constructor as you have already tried.&lt;/P&gt;
&lt;P&gt;So all of these expressions should work:&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;Test_measure := IF ( SUM ( Test_table[Amount] ) &amp;gt; 5 , "true", "F" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test_measure := IF ( SUM ( Test_table[Amount] ) &amp;gt; 5,, "true", "F" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test_measure := IF ( SUM ( Test_table[Amount] ) &amp;gt; (5), "true", "F" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test_measure := IF ( SUM ( Test_table[Amount] ) &amp;gt; {5}, "true", "F" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I think this is buggy? Yes, because I was under the impression that comma decimal separators went hand-in-hand with semicolon list separators, just as they do in Excel formulas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll look into querying this with Microsoft and reporting as a bug, and you may want to as well. I'll post back if I learn anything else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 11:11:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/My-DAX-in-Excel-powerpivot-does-not-understand-numbers/m-p/4163800#M165411</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-09-21T11:11:54Z</dc:date>
    </item>
  </channel>
</rss>

