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

expression

HI,

I have two fields in my pivot table

Sent_Date

Amount

I want to write an expression to sum the amount where sent_date is not null

Pls help me

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Like this?

=sum(IF (Not IsNull(Sent_Date), Amount))

View solution in original post

3 Replies
terezagr
Partner - Creator III
Partner - Creator III

Create a flag in your load script as follow:

if(isNull(sent_date),'1',sent_date) as sent_date_flag

In you expression then: If(sent__date='1',' ', sum(Amount))

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Like this?

=sum(IF (Not IsNull(Sent_Date), Amount))

upaliwije
Creator II
Creator II
Author

thanks