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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
SGBaringa
New Member

Currency formatting

Hello PBI community,

 

Sorry for the silly question but I am having trouble formatting my currency value to look the way I want it.

 

I am trying to get a value that looks like this: 23 456 789

To this: £23,46ms

 

Any help would be appreciated. 🙂

1 ACCEPTED SOLUTION
Vallirajap
Resolver III
Resolver III

Try this,

use the DAX formulae to convert the num in the currency formate.

 

Measure =
Var val = 23456789/10000
RETURN
FORMAT(val / 100, "£0") & "," &
        FORMAT(MOD(val, 100), "00ms")
 
Screenshot (164).png

 


Mark this as a solution.

View solution in original post

3 REPLIES 3
grazitti_sapna
Resolver I
Resolver I

Hi @SGBaringa
No worries, You can create a calculated column for this or a measure like this:- 
FormattedAmount =
VAR Amount = 'YourTableName'[Amount]
VAR FormattedValue = "£" & FORMAT(Amount / 1000000, "#,##0.00") & "ms"
RETURN
FormattedValue

Hope this will help you. 

Thank you.

Vallirajap
Resolver III
Resolver III

Try this,

use the DAX formulae to convert the num in the currency formate.

 

Measure =
Var val = 23456789/10000
RETURN
FORMAT(val / 100, "£0") & "," &
        FORMAT(MOD(val, 100), "00ms")
 
Screenshot (164).png

 


Mark this as a solution.

Thank you! 🙂

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.