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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
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
Champion III
Champion III

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

];