Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jadams123
Creator
Creator

filtering expression

Hi is there a way to filter a expression:

 

ITEM_NOSalesMarginNegative Margin Flag
$20,000.00$30,000.00Positive Margin
SVR$0.00($10,006.88)Negative Margin
VRC$0.02($23.88)Negative Margin
FEL$0.02$0.02Positive Margin
OSE$0.03$0.03Positive Margin
KHC$0.06($119.94)Negative Margin
KND$0.09($1.54)Negative Margin

I want to filter on "Negative Margin Flag"

I have already done if(margin<0, 'neg margin', 'positive margin') in a dimension

I just want to know any way to filter that expression. expression is if([margin]<0, 'neg margin', 'positive margin')

Thanks

j

6 Replies
Anonymous
Not applicable

Create the Margin Flag field in the script and then just have a list box

sunny_talwar

What is your expression for Margin?

jadams123
Creator
Creator
Author

I dont have access to developer view. I can only create expressions and calculated dimensions.

So i guess there is no way then?

jadams123
Creator
Creator
Author

$(vMargin)

its a variable expression.

jadams123
Creator
Creator
Author

I can do "searchable" thats an option

Anonymous
Not applicable

With Qlik being case sensitive try Margin with a capital M.

But probably better to try your dollar expansion $(vMargin)