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
rschaudhr
Resolver II
Resolver II

Change negative text value to a parenthesis or bracket

I have a question. I have a field with is text. It has both numbers and text in it. 

Is it possible to change a negative values inside field to a number with paranthesis or bracket. 

 

For example, if you have a value of 100 in a field the it should be transformed to (100).

 

I hope this helps.

 

Thank you

3 REPLIES 3
TomMartens
Super User
Super User

Hey,

 

this can be achieved by "Custom format strings", here you will find the official documentation: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings.

 

I recommen this article by Chris Webb, that explains using custom format strings in more detail: https://blog.crossjoin.co.uk/2019/09/11/power-bi-custom-format-string-examples-part-1-numbers/

 

Hopefully, this is what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thank you.

 

However, the custom part is showing greyed out. I will have to check futher.

Anonymous
Not applicable

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.