<?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: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779240#M86921</link>
    <description>&lt;P&gt;Thank you for the quick response, Amitchandak. I very much appreciate it. I didn't understand any of the concepts in the article or video but will begin investigating Tabular Editor and calculation groups going forward. In the meantime, I'll post if I find a simple solution to what should be a trivial problem. I also should have mentioned this solution is required for PowerPivot not Power BI.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 05:14:29 GMT</pubDate>
    <dc:creator>sparta1000</dc:creator>
    <dc:date>2022-09-20T05:14:29Z</dc:date>
    <item>
      <title>Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2778943#M86904</link>
      <description>&lt;P&gt;The DAX below uses calculation IDs from a disconnected table to assign measures to sections of a P&amp;amp;L's actuals. However, the most trivial part of the code i.e., the two references to the FORMAT function, eliminates further calculations, such as variance to plan for the those two line items. For some reason, FORMAT was designed to convert numbers to text, which is the last thing I can imagine ever wanting as no further calculations are possible at that point, which defeats the entire purpose of DAX. Is there an equivalent function that allows you to simply apply a custom format to a number and actually have it remain a number?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;02.111measure Actuals Complete P&amp;amp;L:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;AssignIDsToMeasures&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;TRUE&lt;/SPAN&gt;&lt;SPAN class=""&gt;(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 1, [02.101m CC Actuals Revenue],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 2, [02.102m CC Act CoR],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 3, [02.103m CC Act Gross Profit],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 4, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;([02.104m CC Act Gross Profit %] , &lt;/SPAN&gt;&lt;SPAN class=""&gt;"0.0%"&lt;/SPAN&gt;&lt;SPAN class=""&gt;) ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 5, [02.105m CC Act Opex S&amp;amp;M],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 6, [02.106m CC Act Opex R&amp;amp;D],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 7, [02.107m CC Act Opex G&amp;amp;A],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 8, [02.108m CC Act Opex S&amp;amp;M, R&amp;amp;D, G&amp;amp;A],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 9, [02.109m CC Act EBITDAR],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(dPnLSkeleton[CalculationID]) = 10, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;([02.110m CC Act EBITDAR %], &lt;/SPAN&gt;&lt;SPAN class=""&gt;"0.0%"&lt;/SPAN&gt;&lt;SPAN class=""&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RETURN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;AssignIDsToMeasures&lt;/SPAN&gt;&lt;SPAN class=""&gt; = 0, &lt;/SPAN&gt;&lt;SPAN class=""&gt;BLANK&lt;/SPAN&gt;&lt;SPAN class=""&gt;(), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;AssignIDsToMeasures&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 00:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2778943#M86904</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T00:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779090#M86909</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="444266" data-lia-user-login="sparta1000" class="lia-mention lia-mention-user"&gt;sparta1000&lt;/a&gt; , better you opt for calculation group &lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/dynamic-format-strings-with-calculation-groups/" target="_blank"&gt;https://www.sqlbi.com/articles/dynamic-format-strings-with-calculation-groups/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 02:05:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779090#M86909</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-20T02:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779240#M86921</link>
      <description>&lt;P&gt;Thank you for the quick response, Amitchandak. I very much appreciate it. I didn't understand any of the concepts in the article or video but will begin investigating Tabular Editor and calculation groups going forward. In the meantime, I'll post if I find a simple solution to what should be a trivial problem. I also should have mentioned this solution is required for PowerPivot not Power BI.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:14:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779240#M86921</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T05:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779261#M86924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="444266" data-lia-user-login="sparta1000" class="lia-mention lia-mention-user"&gt;sparta1000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;02.111measure Actuals Complete P&amp;amp;L :=
VAR Selection =
    MAX ( dPnLSkeleton[CalculationID] )
VAR AssignIDsToMeasures =
    SWITCH (
        Selection,
        1, [02.101m CC Actuals Revenue],
        2, [02.102m CC Act CoR],
        3, [02.103m CC Act Gross Profit],
        4, [02.104m CC Act Gross Profit %],
        5, [02.105m CC Act Opex S&amp;amp;M],
        6, [02.106m CC Act Opex R&amp;amp;D],
        7, [02.107m CC Act Opex G&amp;amp;A],
        8, [02.108m CC Act Opex S&amp;amp;M, R&amp;amp;D, G&amp;amp;A],
        9, [02.109m CC Act EBITDAR],
        10, [02.110m CC Act EBITDAR %]
    )
RETURN
    IF (
        AssignIDsToMeasures &amp;lt;&amp;gt; 0,
        IF (
            Selection IN { 4, 10 },
            FORMAT ( AssignIDsToMeasures, "0.0%" ),
            AssignIDsToMeasures
        )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 03:40:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2779261#M86924</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-20T03:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2780839#M87005</link>
      <description>&lt;P&gt;Thank you tamerj1 -- your solution looks great! I'll test it out later this morning and post an update. I should mention that users don't select any of these line items as the entire framework must be present at all times for the P&amp;amp;L statement to appear in its entirety -- so not sure if that makes a difference but I'll test.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 13:29:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2780839#M87005</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781470#M87029</link>
      <description>&lt;P&gt;Thank you tamerj1 -- I like your thought process with the code, but I didn't explain the issue very well. Your code appears to apply to typical scenarios where users will be making different selections. In my case, there are no selections; everything's set in stone from a report line item perspective.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nevertheless, the whole issue is how to get around FORMAT's inexplicable conversion of numbers to &lt;EM&gt;text&lt;/EM&gt;.&lt;/STRONG&gt; If FORMAT didn't change the data type to text, the simple variance math would be executed and there would be no issue. That's why this is so frustrating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make the issue as transparent as possible, I'll isolate&amp;nbsp;the behavior of &lt;STRONG&gt;the &lt;EM&gt;Variance %&lt;/EM&gt; measure that &lt;U&gt;is driven by earlier measures that contain FORMAT&lt;/U&gt;. The Variance % measure materializes two line items on the visual that must be formatted as % and yet ideally still behave like numbers. But because FORMAT in supporting measures converts numbers to text, in order&amp;nbsp;to avoid a DAX 'can't do math on text' error message, the Variance % measure is currently written to effectively blank out&amp;nbsp;(via empty string) the two problematic line items.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the the code for the &lt;STRONG&gt;Variance %&lt;/STRONG&gt; measure that produces the report above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;07.311m Var % Act vs Bud:=SWITCH (TRUE(),&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 1, [07.301m CC Var % Act Rev Less Threshold Rev],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 2, [07.302m CC Var % Threshold CoR Less Act CoR],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 3, [07.303m CC Var % Act Gross Profit Less Threshold Gross Profit],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 4, &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;""&lt;/FONT&gt;&lt;/STRONG&gt;,&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 5, [07.305m CC Var % Threshold S&amp;amp;M Less Act S&amp;amp;M],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 6, [07.306m CC Var % Threshold R&amp;amp;D Less Act R&amp;amp;D],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 7, [07.307m CC Var % Threshold G&amp;amp;A Less Act G&amp;amp;A],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 8, [07.308m CC Var % Threshold Opex SMRDGA Less Act Opex SMRDGA],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 9, [07.309m CC Var % Act EBITDAR Less Threshold EBITDAR],&lt;BR /&gt;MAX( dPnLSkeleton[CalculationID]) = 10, &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;""&lt;/FONT&gt;&lt;/STRONG&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I'm still left wondering how to get around FORMAT's conversion of numbers to text in the supporting measures so that the Variance % measure works for all line items... and no more empty string workaround or "can't do math on text" error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 16:41:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781470#M87029</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T16:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781522#M87030</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="444266" data-lia-user-login="sparta1000" class="lia-mention lia-mention-user"&gt;sparta1000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no FORMAT function in this measure, however, the empty sting "" will generate error when performing calculations. When referring to this measure in other formulas you need to wrap it with VALUE function. This will eliminate the effect of the empty string ""&lt;/P&gt;
&lt;P&gt;However, unless you want to force showing the blank cell in your matrix (which Idon't think is required in your case) I would suggest just to not use the empty string in your formula. In fact the whole condition is not require as the result will be blank by default.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;07.311m Var % Act vs Bud :=
SWITCH (
    MAX ( dPnLSkeleton[CalculationID] ),
    1, [07.301m CC Var % Act Rev Less Threshold Rev],
    2, [07.302m CC Var % Threshold CoR Less Act CoR],
    3, [07.303m CC Var % Act Gross Profit Less Threshold Gross Profit],
    5, [07.305m CC Var % Threshold S&amp;amp;M Less Act S&amp;amp;M],
    6, [07.306m CC Var % Threshold R&amp;amp;D Less Act R&amp;amp;D],
    7, [07.307m CC Var % Threshold G&amp;amp;A Less Act G&amp;amp;A],
    8, [07.308m CC Var % Threshold Opex SMRDGA Less Act Opex SMRDGA],
    9, [07.309m CC Var % Act EBITDAR Less Threshold EBITDAR]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 17:07:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781522#M87030</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-20T17:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781815#M87049</link>
      <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Convert-text-with-percentage-symbol-to-number-DAX/td-p/2199077" target="_blank" rel="noopener"&gt;Solved: Convert text with percentage symbol to number (DAX... - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It looks like I'm encountering the same thing addressed in this post. I'm going to try and adapt the thought process and post if I have success. I appreciate the time you've taken on this very much.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2781815#M87049</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T19:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for equivalent of DAX FORMAT function except does NOT convert numbers to text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2782143#M87071</link>
      <description>&lt;P&gt;Well no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I write "Test Measure":= 1 + the measure below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;02.111mTEST CC Act "data" Complete P&amp;amp;L Expand:=VAR AssignIDsToMeasures = SWITCH(TRUE(),&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 1, [02.101m CC Actuals Revenue],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 2, [02.102m CC Act CoR],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 3, [02.103m CC Act Gross Profit],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 4, &lt;FONT color="#FF0000"&gt;FORMAT( [02.104m CC Act Gross Profit %] , "0.0%" )&lt;/FONT&gt; ,&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 5, [02.105m CC Act Opex S&amp;amp;M],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 6, [02.106m CC Act Opex R&amp;amp;D],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 7, [02.107m CC Act Opex G&amp;amp;A],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 8, [02.108m CC Act Opex S&amp;amp;M, R&amp;amp;D, G&amp;amp;A],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 9, [02.109m CC Act EBITDAR],&lt;BR /&gt;MAX(dPnLSkeleton[CalculationID]) = 10, &lt;FONT color="#FF0000"&gt;FORMAT( [02.110m CC Act EBITDAR %] , "0.0%")&lt;/FONT&gt; )&lt;BR /&gt;RETURN&lt;BR /&gt;IF (AssignIDsToMeasures = 0, BLANK(),&lt;BR /&gt;AssignIDsToMeasures)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It errors out because FORMAT converts the data type from &lt;STRONG&gt;number&lt;/STRONG&gt; to &lt;STRONG&gt;text&lt;/STRONG&gt; (why you would ever want your number data type to suddenly change to text and therefore instantly kill any follow on calculations I have no idea). All I want is to nullify this inexplicable behavior from FORMAT. I just need it to leave the data &lt;U&gt;&lt;STRONG&gt;type&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;alone - but with a little tweak to the number &lt;STRONG&gt;format &lt;/STRONG&gt;in two cases. I can't figure out how to apply VALUE or CONVERT to the code to achieve this despite considerable efforts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any ideas please let me know. Sucks being defeated by such a trivial issue. At this point I'd be happy with an explanation as to why FORMAT was designed to be so destructive -- what could possibly be the point?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 23:17:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Looking-for-equivalent-of-DAX-FORMAT-function-except-does-NOT/m-p/2782143#M87071</guid>
      <dc:creator>sparta1000</dc:creator>
      <dc:date>2022-09-20T23:17:16Z</dc:date>
    </item>
  </channel>
</rss>

