If statement in dataset property.