function(aMeasureName) {
			if (!aMeasureName) {
				aMeasureName = this._oQueryResult.getAllMeasureNames();
			}
			this._oSelectedPropertyNames = null; // reset previously compiled list of selected properties

			this._oMeasures = {};
			for (var i = -1, sMeasName; (sMeasName = aMeasureName[++i]) !== undefined;) {
				if (!this._oQueryResult.findMeasureByName(sMeasName)) {
					throw sMeasName + " is not a valid measure name"; // TODO
				}

				this._oMeasures[sMeasName] = {
					value : true,
					text : false,
					unit : false
				};
			}
		}
function(aMeasureName) {
			if (!aMeasureName) {
				aMeasureName = this._oQueryResult.getAllMeasureNames();
			}
			this._oSelectedPropertyNames = null; // reset previously compiled list of selected properties

			this._oMeasures = {};
			for (var i = -1, sMeasName; (sMeasName = aMeasureName[++i]) !== undefined;) {
				if (!this._oQueryResult.findMeasureByName(sMeasName)) {
					throw sMeasName + " is not a valid measure name"; // TODO
				}

				this._oMeasures[sMeasName] = {
					value : true,
					text : false,
					unit : false
				};
			}
		}
function ( aMeasureName ) { if ( ! aMeasureName ) { aMeasureName = this . _oQueryResult . getAllMeasureNames ( ) ; } this . _oSelectedPropertyNames = null ; // reset previously compiled list of selected properties this . _oMeasures = { } ; for ( var i = - 1 , sMeasName ; ( sMeasName = aMeasureName [ ++ i ] ) !== undefined ; ) { if ( ! this . _oQueryResult . findMeasureByName ( sMeasName ) ) { throw sMeasName + " is not a valid measure name" ; // TODO } this . _oMeasures [ sMeasName ] = { value : true , text : false , unit : false } ; } }
Set the measures to be included in the query result request. By default,
the query result will include the properties holding the raw values of
the given measures. This setting can be changed using
includeMeasureRawFormattedValueUnit.

@param aMeasureName
Array of measure names to be part of the query result request.
If null, the request includes all measures, if empty, no
measure is included.
@public
@function
@name sap.ui.model.analytics.odata4analytics.QueryResultRequest#setMeasures
Set the measures to be included in the query result request . By default the query result will include the properties holding the raw values of the given measures . This setting can be changed using includeMeasureRawFormattedValueUnit .
Sets the selected properties of the query result