Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jrbrutto
Contributor II
Contributor II

Filter on straight table

Hi all,

I have a simple table with a dimension (Part Number), two expressions (Quantities) and a calculated dimension (difference)

   

CodeDifferenceQty 1Qty 2
09305002XYR000701,8481,848
09305005XYR0B00462924462
09305005XYR00070693693
09305006XYR00060462

462

I would to filter the table to have only the codes with a difference <> 0. In this case it would show only this:

   

CodeDifferenceQty 1Qty 2
09305005XYR0B00462924462

I tried many things as conditional or dimensions limit but no-one works. Any suggestions?

Thanks

3 Replies
sunny_talwar

What is the expression you use behind the calculated dimension Difference?

QlikEnth
Contributor II
Contributor II

Try Using the below:

=if(difference<>0,1,0)

Digvijay_Singh

What if you create measure for difference, and use measure for Qty1,Qty2 and difference like below -

- If(Sum(Qty1)-Sum(Qty2)<>0, Sum(Qty1))  

- If(Sum(Qty1)-Sum(Qty2)<>0, Sum(Qty2))

- If(Sum(Qty1)-Sum(Qty2)<>0, Sum(Qty1)-Sum(Qty2))   //Difference measure

In Add-on properties, disable 'show zero values' if needed