Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

];