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

Month end date comparism not working

Hi everyone,


I am facing the following issue: I created a field using the formula monthend(invoice,1) to get the month end of an invoice for the next month.


I now want to compare the month end invoice date to a payment date. To do so I created the following expression:

If(payment < monthend, 'fine','issue')

This works for most cases but for some reason it gives back around 4 rows where the if statement is saying that its fine however in reality around 200 days would have passed so it should have been marked as an issue.


Anyone know what I might be doing incorrectly?

Thanks,

Isaac

1 Reply
YoussefBelloum
Champion
Champion

Hi,

you should add more info/details here. try to attach some rows from your table, or a sample QVW