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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Filter to show only rows above a certain %

See attached table - the % Disc is a calculation using (original retail price - price sold/original retail price). I want to implement a filter to show only % Disc above 40%.

Can that be done? If yes, how?

Thanks for your help.

Amit

1 Solution

Accepted Solutions
surendraj
Specialist
Specialist

May be this!!

if((original retail price - price sold/original retail price)>' 40%','%Disc')

if it was pre-caliculated then we can write the expression as

if(%disc > ' 40%','%Disc')

View solution in original post

4 Replies
YoussefBelloum
Champion
Champion

Hi,

do you want to filter the data on the script or on a chart ?

if you want to do it on a chart, what type of chart you are going to use ?

surendraj
Specialist
Specialist

May be this!!

if((original retail price - price sold/original retail price)>' 40%','%Disc')

if it was pre-caliculated then we can write the expression as

if(%disc > ' 40%','%Disc')

Anonymous
Not applicable
Author

Thank you. I like the pre-calculated idea on the loading script. This works out fine when I do it this way.

surendraj
Specialist
Specialist

% Disc is field.so we no need to enclose this in single quotes..

if(%disc > ' 40%',%Disc)