cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft

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
Microsoft

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors