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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vengadesh_p
Helper I
Helper I

How can I Remove double quotes in Power BI Format Function

Hi All,

i want to show the result in sweden currency format by using dax Format function

power BI Default Currency Format for Sweden is  #,0.00\ "kr";-#,0.00\ "kr";#,0.00\ "kr" , this format has double quotes. but in dax format function will not accepet double quotes. so i tried with out double quotes but it's converted to text so i cant do any calculation by using this measure 


Example : Measure #B = #A +10 but its show error 

Screenshot_8.png


But in Power BI Default obtion #B shows 510

Screenshot_5.png
Screenshot_6.png

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @vengadesh_p 

 

I think you're getting mixed up with format strings and using the FORMAT function.

 

This is a format string that you use to format the positive;negative;zero values for a given column

 

#,0.00\ "kr";-#,0.00\ "kr";#,0.00\ "kr"

 

Whereas using FORMAT allows you to convert a value to text in a given format

 

FORMAT – DAX Guide

 

I'm not actually really clear on what you are trying to do.  If you want to show currency in Swedish Krone and the default display format string is #,0.00\ "kr";-#,0.00\ "kr";#,0.00\ "kr" then isn't that doing what you need?

 

You mention that the format string uses double quotes - this is because it is using "kr" to indicate Krone.

 

Not sure why you are having an issue?  You don't need to use the FORMAT function, just use the default format string for Swedish Krone.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @vengadesh_p 

 

I think you're getting mixed up with format strings and using the FORMAT function.

 

This is a format string that you use to format the positive;negative;zero values for a given column

 

#,0.00\ "kr";-#,0.00\ "kr";#,0.00\ "kr"

 

Whereas using FORMAT allows you to convert a value to text in a given format

 

FORMAT – DAX Guide

 

I'm not actually really clear on what you are trying to do.  If you want to show currency in Swedish Krone and the default display format string is #,0.00\ "kr";-#,0.00\ "kr";#,0.00\ "kr" then isn't that doing what you need?

 

You mention that the format string uses double quotes - this is because it is using "kr" to indicate Krone.

 

Not sure why you are having an issue?  You don't need to use the FORMAT function, just use the default format string for Swedish Krone.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors