Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

UI related Issue

Hi All,

I have a bar chart  in which I have plotted positive and Negative values.. Below are my requirements

1.I need to show the positive values enclosed in () i.e  the display should be ($1000)

2.In the same way I need to show negative values enclosed in {} i.e {$1000)

3.By default Qlikview will show the negative values in the below axis.Is there any way that I can show the negative values above the Axis..

Awaiting for the reply..

Thanks in advance...

1 Solution

Accepted Solutions
vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi ,

Please find the screenshots of expression and chart for your help.

View solution in original post

16 Replies
vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi,

If you are using chart or Pivot then go to Properties---->Number and check money radio button and change the format to

($#,##0.00);{$#,##0.00} . if u are using text box then use Num(Value,'($#,##0.00);{$#,##0.00}')

Not applicable
Author

Hi,

  Is there any option in the Qlikview where I could declare all the positive values should be enclosed between () and negative values between {} ..

Thanks in advance..

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Yeah

You can do it in Script and Set : at main page

SET MoneyFormat='($#,##0.00);{$#,##0.00}';

Hope this will Help.

Not applicable
Author

Hi,

  The positive and negative results are coming up in my chart expressions based on that I need to enclose the same in the () or {} ..How do I classify the values in  declaring the MoneyFormat..???

Not applicable
Author

Hi All,

Can some one help me on this.. It is bit urgent...

Thanks in advance ..

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi,

You can use

=If(Sum([Amount])>=0,Num(Sum([Amount]),'($##,#.0)'),Num(Sum([Amount])*-1,'{$##,#.0}'))

Regards

Vijay

Not applicable
Author

Hi VIjay,

         Thanks for the quick response.. The chart show all the values enclosed between ( ) .. If possible can u plz attach some sample QVWfor the same..

Thanks

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi ,

Please find the screenshots of expression and chart for your help.

Not applicable
Author

Hi Vijay,

         I really dnt know the reason why it is not coming at my end.. If you dnt mind can u plz attach the file with some sample data...