Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Convert Currency in Roman format

Hi,

 

The client has asked to display the Currency format to display as 

 

1499.99 as 1.5M, not 1.5K

1593284333 as 159.29 MM  and BIllions in MMM format

not as Power BI Default format(K, M, bn).

 

how to achieve in Power BI?

Appreciated your inputs, anybody has already done this format

 

 

6 REPLIES 6
Stachu
Community Champion
Community Champion

try with FORMAT
https://docs.microsoft.com/en-us/dax/format-function-dax

https://docs.microsoft.com/en-us/dax/custom-numeric-formats-for-the-format-function



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Anonymous
Not applicable

Thanks, 

 

I have tried it, that is not giving as MM or M.

 

 

Anonymous
Not applicable

I have added a new column to bring the original column and it has  

 

IF(AND(Table1(Value) = "#,##0.00" ,
FORMAT((Table1[Value]/1000)) , "$#,0.00") & "M",
IF(Table1(Value) = "#,##,##0.00",
FORMAT((Table1[Value]/1000)) , "$#0,.00") & "MM",
& "#,0,.", $ "MMM"

 

it throws an error as 

Too few arguments were passed to the IF function. The minimum argument count for the function is 2.

Anonymous
Not applicable

The DAX Currency function help as

 

Column1 = FORMAT ( Table[Amount], "#,##0,,M" ) 
Column2 = FORMAT ( Table[Amount], "$#,##0.00,,MM")

 

if we add together it omits one format,

I need both values of $1#### as $1M 

and $9######### as $900MM format also.

 

appreciated your inputs

Anonymous
Not applicable

Roman Currency FormatsRoman Currency Formats

 How to change the default currency format like Thousand K to M and Millions as M to MM & Billions as MMM? Anybody has changed? appreciated your inputs

 

Anonymous
Not applicable

Sorry typo error in the conversion part

 

NewColumn = IF(AND(Table1[Value]="#,##,##0.00", FORMAT((Table1[Value]/1000000), "$#,##,##0.00,,MM")), (Table1[Value] = "#,0.", FORMAT((Table1[Value]/1000), "$#,0.00" ) & "M" ))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.