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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter on Expression in a Straight Table

Here is the scenario:

Product (dim), Sales (dim),Plan(dim),Sales - Plan (expression - calculated within the Straight Table)

A, 1000,  800,  200
B, 300,  800,  -500
C, 100,  50,  50
D, 5000,  2000,  3000

I have a slider object on the screen with Min and Max variables to filter the (Sales - Plan) range.

Is it possible to have a filter on an expression (Sales - Plan) within the straight table? If yes, how do I implement.

Thanks in advance!

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Have you tried something like this as expression

=If(Sales-Plan >= vMin and Sales-Plan <= vMax, Sales-Plan)

If the 'supress zero values' is enabled on presentation tab, it should filter your chart accordingly.