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

sum free from missing values

AOA all

I want to get sum of amount free from missing or null values...

details:

I have a table with dimension of (stock_id,Partno,item) expression is =sum(bal_qty) as "Qty in stock"

Total shows in a table is 107556.

but when I go on table property and check supress null values in dimension tab for each dimension.

qty reduce to 98337  which is correct

now i want to show this 98337 value in text box.

kinldy adivce how to get purified value in text box because when i give =sum(bal_qty) in text box its shows 107556.

thnks

1 Solution

Accepted Solutions
MarcoARaymundo
Creator III
Creator III

7 Replies
Not applicable
Author

no one to solve this??????

MarcoARaymundo
Creator III
Creator III

try this

sum({<stock_id={'0','$(=isnull(stock_id)=0)'}>} bal_qty)

Not applicable
Author

Hi,

I Didnt get your point can you upload your sample application. Hope it is helpful to solve this.

MarcoARaymundo
Creator III
Creator III

Done!

calvindk
Creator III
Creator III

Here you go:

Sum({<stock_id = P(stock_id) >} bal_qty)

ryanhicks
Contributor III
Contributor III

Anders solution works for me.

v_iyyappan
Specialist
Specialist

Hi,

Use the expression like this in textbox

=Sum({<stock_id-= ('-') >} bal_qty)

Regards,

Iyyappan