Forum Discussion

Kevin_D_FMC's avatar
Kevin_D_FMC
New Member
9 years ago
Solved

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

  • 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)")

     

    Regards,

    Charlie Liao

1 Reply

  • v-caliao-msft's avatar
    v-caliao-msft
    Icon for Microsoft Employee rankMicrosoft 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)")

     

    Regards,

    Charlie Liao