Value format in looker. We are trying to break number in billiion, million and thousands dynamically

Folks,

We are trying to format numbers in Looker dynamically in billions, million, and thousands dynamically. Below we tried in millions and thousands. It working as expected. But we are not able to figure out negative numbers. Appreciate it if we get any help.

named_value_format: millions {
value_format: "[>=1000000]0.0,,\" M\";[>=1000]0.000,\" K\";0"
}

 

 

0 4 1,670
4 REPLIES 4
Top Labels in this Space