setWhatMeasured function

Set the "what.measured" attribute