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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Expression

Hi,

I have following Fields in my data model

PR_Month

PD_month

Amount

I have written following expression in my pivot table but it is not working

SUM(IF(PR_Month<PD_month ,PROVISION_AMOUNT))

Pls correct me if I have written above expression incorrectly

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Hi,

Try this

SUM({<PR_Month={"<$(=PD_month)"}>}PROVISION_AMOUNT)

View solution in original post

4 Replies
settu_periasamy
Master III
Master III

Hi,

Try this

SUM({<PR_Month={"<$(=PD_month)"}>}PROVISION_AMOUNT)

sunny_talwar

Expression looks right to me. Create a table box with the three columns and see if the condition is ever true. If its not then you won't see any results.

upaliwije
Creator II
Creator II
Author

THANKS

kmswetha
Creator
Creator

Hi Upali, Your expression looks good. did you check for syntax errors?