Deny to select more than time_period if the fields in not
on row or column