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

Calculation for Past Due Days (Balance)

Hi every one,

How I can to calculate the Past Due Days for the Salary for example just i have the Past Due Date

Numer Provider    Past Due Date        Past Due Days

   12345678            25/11/2015             = 25/11/2015   -   today()

   34567811            29/12/2015             = 29/12/2015   -  today()

I mean i dont have a calendary to do this can you help

2 Replies
sunny_talwar

May be like this:

LOAD [Numer Provider],

           [Past Due Date],

           ([Past Due Date] - Today()) as [Past Due Days]

FROM ....

Ricardo_Gerhard
Employee
Employee

Dear Omar,

   If you want to know how much days left from today, uses the sintax:

   Today()-[Past Due Date] as "DaysFrom"

   Anyway, you can use other functions like null, date format.

   Please, mark the CORRECT/HELPFULL comment to help us.

Regards,

Ricardo Gerhard
OEM Solution Architect
LATAM