cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors