please see the attached example.
Are you sure that your dates are interpreted as numbers and not as characters?
Time_Rainer.qvw 217.0 K
I have got the comparison to work but I am having troubles with counting the numer of items orders that have a difference in time.
count(if(date#([Leveransprecision.Bokat datum]-[Leveransprecision.Lovat leveransdatum],'DD')<>0), Leveransprec_KEY)
Something is wrong but I don't know what. And instead of Leveransprec_KEY I could use just "1" cause I want to increase the number by one when there is a difference
Thanks in advance