comparing relational years – with dim functions