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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Kevin_D_FMC
New Member

Adding parentheses/brackets to a non-currency number

Hello,

 

I am trying to create a Matrix for Flash results, and need to format a percentage as a decimal number, with parentheses/brackets for negative numbers. For example, to represent a -11.8%, I'd like to see:  (11.8)

 

The only option I see is converting to a currency, but this will include a dollar sign $, which I do not want for a percentage.

 

Any ideas?

 

 

Thank you,

Kevin Douglas

1 ACCEPTED SOLUTION
v-caliao-msft
Microsoft Employee
Microsoft Employee

Hi @Kevin_D_FMC,

 

You can use format function to achieve your requirement. Please note that the result is a text data type value after using format function.

Column 3 = FORMAT(Table3[Column2]*100,"#,##0.00;(#,##0.00)")
Capture.PNG

 

Regards,

Charlie Liao

View solution in original post

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

Hi @Kevin_D_FMC,

 

You can use format function to achieve your requirement. Please note that the result is a text data type value after using format function.

Column 3 = FORMAT(Table3[Column2]*100,"#,##0.00;(#,##0.00)")
Capture.PNG

 

Regards,

Charlie Liao

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors