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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
rabbani_sk
Contributor III
Contributor III

How to filter "-" (minus symbol) from a list box

Hi Every one,my issue is to hide the "-"(minus symbol)  alone ,but not the data value.

For eg: I have a list box with both negative & Positive data values , my list box will be like this

product    value

a               1

b               -2

c               -3

d               4

e               -5

and my  result should be like below list box,

Product   Value

a               1

b               2

c               3

d               4

e               5

Any Idea??      

7 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     Load Product,Fabs(Value) as Value From xyz.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try as expression: dual(fabs(Value),Value)


talk is cheap, supply exceeds demand
rabbani_sk
Contributor III
Contributor III
Author

Hi, Kaushik

its working Thanks for Replying....

rabbani_sk
Contributor III
Contributor III
Author

Hi Gysbert it's working thanks for Replying....

nizamsha
Specialist II
Specialist II

=sum( Replace(value,'-',''))

or

fabs(sum(value))

brijesh1991
Partner - Specialist
Partner - Specialist

Hey try this:

Load Product,Fabs(Value) as Value From Table. 

tajmohamed30
Creator III
Creator III

find it useful after 4 years