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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Employee
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
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.