include attr check for date param in measure models