Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display negative numbers in brackets in script only

    Hi team,

I want to show  negative numbers in brackets in qlikview script not in desgin part

Thanks

3 Replies
Not applicable
Author

Hi,

In the Properties Tab of the chart,

Goto Number Tab,sleect the expression

goto Fixed to and paste the below format in the format pattern.

#.##0,00; (#.##0,00)

Regards,

Snehal Nabar

Not applicable
Author

Can you ellaborate?

swuehl
MVP
MVP

You can use num() function to format your numbers, and you can use this function in the script as well as in the frontend:

SET ThousandSep=',';

SET DecimalSep='.';

LOAD Number,

                  num(Number,'##0.00;(##0.00)') as NumberFormatted

INLINE [

Number

-12.3454

323.43

];