<?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: Dynamic number of decimal places and thousand separator in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084787#M15459</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="215853" data-lia-user-login="camargos88" class="lia-mention lia-mention-user"&gt;camargos88&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I can't. Format function returns always text. This could be used in table/matrix in some cases but not in bar chart or gauge. I also can't use Data bars conditional formating with text.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2020 20:36:15 GMT</pubDate>
    <dc:creator>soldous</dc:creator>
    <dc:date>2020-05-11T20:36:15Z</dc:date>
    <item>
      <title>Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084444#M15435</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to achieve a dynamic number of decimal places (0 if the value is greater than 1 and e.g. 2 if the value is smaller than 1). That is an easy task with:&lt;/P&gt;&lt;P&gt;IF(value &amp;lt; 1; ROUND(value; 2); ROUND(value;0 ))&lt;/P&gt;&lt;P&gt;And it works in the visual if the value type is General and the number of the decimal places Auto. But I also need to have a thousand separator for values greater than 1k. When I apply the thousands separator the value changes from General to Decimal number and the number of the decimal places from Auto to strict number. To change the value to text is not applicable because I need to visualize it as a bar chart.&lt;/P&gt;&lt;P&gt;Is there any option how to set the thousands separator by DAX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 16:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084444#M15435</guid>
      <dc:creator>soldous</dc:creator>
      <dc:date>2020-05-11T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084730#M15455</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="64216" data-lia-user-login="soldous" class="lia-mention lia-mention-user"&gt;soldous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this link:&amp;nbsp;&lt;A href="https://docs.microsoft.com/pt-br/dax/custom-numeric-formats-for-the-format-function" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/dax/custom-numeric-formats-for-the-format-function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can use the FORMAT function.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 19:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084730#M15455</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-11T19:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084787#M15459</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="215853" data-lia-user-login="camargos88" class="lia-mention lia-mention-user"&gt;camargos88&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I can't. Format function returns always text. This could be used in table/matrix in some cases but not in bar chart or gauge. I also can't use Data bars conditional formating with text.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 20:36:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084787#M15459</guid>
      <dc:creator>soldous</dc:creator>
      <dc:date>2020-05-11T20:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084801#M15461</link>
      <description>Dear &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="215853" data-lia-user-login="camargos88" class="lia-mention lia-mention-user"&gt;camargos88&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Suggesting the FORMAT function that returns a STRING is not the wisest idea in view of the requirements stated in the initial question...&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Mon, 11 May 2020 20:44:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084801#M15461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-11T20:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084808#M15463</link>
      <description>&lt;P&gt;I'm afraid what you want to do is not possible. Dynamic formatting is only possible with calculation groups and these are not yet available in Power BI (only on SSAS 2019 and Azure).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 20:47:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084808#M15463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-11T20:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084834#M15466</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="64216" data-lia-user-login="soldous" class="lia-mention lia-mention-user"&gt;soldous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As our master&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; said, it wasn't a good idea. I missed the part of bar chart.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 21:06:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084834#M15466</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-11T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084974#M15479</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="64216" data-lia-user-login="soldous" class="lia-mention lia-mention-user"&gt;soldous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this file:&amp;nbsp;&lt;A title="PBIX" href="https://drive.google.com/file/d/1_Dh2uQq0QILy_kVmbBaAoMn0e8SOS_o-/view?usp=sharing" target="_blank" rel="noopener"&gt;Download PBIX&lt;/A&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 00:16:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1084974#M15479</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-12T00:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic number of decimal places and thousand separator</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1089699#M15710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="215853" data-lia-user-login="camargos88" class="lia-mention lia-mention-user"&gt;camargos88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your solution works perfectly!! I only changed the formatting a little bit because in your suggestion there is always a zero for numbers smaller than 100. So I changed it to #,0.##.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;soldous&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 12:26:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-number-of-decimal-places-and-thousand-separator/m-p/1089699#M15710</guid>
      <dc:creator>soldous</dc:creator>
      <dc:date>2020-05-14T12:26:16Z</dc:date>
    </item>
  </channel>
</rss>

