Possible bug with Percent formatting on DBR

I want to show a percent without the parenthesis when it is a negative number. When I use the DBR options:
tm1-format-parenthesis=false
and
tm1-format-percentage=true
it no longer shows the % on the end of the value.

Thanks,
Chet

Hi @chet_watkins , same problem here…any update?

Hi @jpaulo,

The Accounting.js Library via the tm1-accounting-settings-override should help you out with this.

Below is an example configuration of the DBR:

<tm1-ui-dbr tm1-instance="dev" tm1-cube="Regional Assumptions" 
              tm1-elements="Actual,2012,Jan,13,Super Rate" 
                tm1-accounting-settings-override="{currency:{format:{neg:'-%v%', pos:'%v%'}, precision: 2}}"
            ></tm1-ui-dbr>

Which will give you this:

image

For further reference on the Accounting.js library and the configuration, please refer to here.


Paul

Hi @plim,

It worked.

Thanks!

Joao