Write values to dimensions