Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gautik92
Specialist III
Specialist III

Overdue

I want to find Accounts payable Overdue

VendID       Amount       DueDate

1                 100             15-10-2016

2                 200             20-12-2016

3                 300             25-12-2016

4                 100             30-12-2016

i am using this formula

=if(aggr(Today() > DueDate,DueDate),Sum(Amount))

as per this i want to get 300 but getting ( - )any ideas

1 Solution

Accepted Solutions
PrashantSangle

Hi,

try,

like

Sum(if(Today() > DueDate,Amount))


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
vinieme12
Champion III
Champion III

It should be like

Sum ( {< Due date = {'<$(=today ())'} >} Amount)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
PrashantSangle

Hi,

try,

like

Sum(if(Today() > DueDate,Amount))


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
tamilarasu
Champion
Champion

Hi Gowtham,

If your date format is set like below then you can use Pujari's solution,

SET DateFormat='DD-MM-YYYY';

Sum ( {< [DueDate] = {'<$(=Today ())'} >} Amount)

If not, you can use

Sum({< [DueDate] = {"<$(=Date(Today(),'DD-MM-YYYY'))"} >} Amount)