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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
NenadV
Creator II
Creator II

How is that possible?

Hi,

This can’t be simpler, but it doesn’t work as expected and  as it has been working for 11 years.

if(date(PL03006) > date(today()), 'N', 'Y') as P_OpenInv_Overdue,

For example, an Invoice with a due date of 2026-04-01 4 is shown as overdue, which, based on the above if statement it should not be the case.

FYI:

DueDate in ERP: PL03006 with this value in the DB: 2026-04-29 00:00:00.000

1 Solution

Accepted Solutions
NenadV
Creator II
Creator II
Author

This  if(date(PL03006) < date(today()), 'Y', 'N') as P_OpenInv_Overdue,

has started working ok as it hs been  workinig nice in the last 11 years . Case closed. Thanks @marcus_sommer  for your time and good will.

happy Easter.

View solution in original post

7 Replies
marcus_sommer

I would look on the real loaded values in QV. Means something like:

PL03006 as A
isnum(PL03006) as B
today() as C,
recno() as RecNo,
rowno() as RowNo,
...

and then using a table-box to look on these values. 

NenadV
Creator II
Creator II
Author

 

Thank you @marcus_sommer 

Here it is:

ABRecNoRowNo
01.04.2026 0:00:00-110300
01.04.2026 0:00:00-110310
01.04.2026 0:00:00-110320
01.04.2026 0:00:00-110330
01.04.2026 0:00:00-110340
01.04.2026 0:00:00-110350
01.04.2026 0:00:00-110360
01.04.2026 0:00:00-110370
01.04.2026 0:00:00-110380
01.04.2026 0:00:00-110390
01.04.2026 0:00:00-110400
01.04.2026 0:00:00-110410
01.04.2026 0:00:00-110420
01.04.2026 0:00:00-110430
01.04.2026 0:00:00-110440
29.04.2026 0:00:00-110450
29.04.2026 0:00:00-110460
29.04.2026 0:00:00-110470
29.04.2026 0:00:00-110480
29.04.2026 0:00:00-110490
29.04.2026 0:00:00-110500
29.04.2026 0:00:00-110510
29.04.2026 0:00:00-110520
29.04.2026 0:00:00-110530
29.04.2026 0:00:00-110540
NenadV
Creator II
Creator II
Author

 

 

2026-04-02_16-49-34.jpg

DueDate in QlikView is  normal Date type of field so there should be no issues, whatsoever.

NenadV
Creator II
Creator II
Author

DueDate in QlikView is  normal Date type of field so there should be no issues, whatsoever.

2026-04-02_16-49-34.jpg

 

marcus_sommer

Are you looking on the same respectively the right field? Further the tags are only an indicator and no certainty that really all values have the proper pattern and the expected values. The incoming values might be wrong, empty or missing/null ...

Also there might be n different values in regard to the dimensionality and depending on how to look on them you may not see the entire truths. Therefore the above suggestion to look at first on the real existing values within a table-box.

NenadV
Creator II
Creator II
Author

@marcus_sommer , here are the values:

2026-04-02_16-24-09.jpg

 

NenadV
Creator II
Creator II
Author

This  if(date(PL03006) < date(today()), 'Y', 'N') as P_OpenInv_Overdue,

has started working ok as it hs been  workinig nice in the last 11 years . Case closed. Thanks @marcus_sommer  for your time and good will.

happy Easter.