Determine allowed units for the given subcategory and data type.