src/sap.ui.core/src/sap/ui/model/analytics/odata4analytics.js
function(sName) {
			if (this._oMeasureSet[sName]) { // the easy case
				return this._oMeasureSet[sName];
			}

			for ( var sMeasureName in this._oMeasureSet) {
				var oMeasure = this._oMeasureSet[sMeasureName];
				var oFormattedValueProperty = oMeasure.getFormattedValueProperty();
				if (oFormattedValueProperty && oFormattedValueProperty.name == sName) {
					return oMeasure;
				}
			}
			return null;
		}
function(sName) {
			if (this._oMeasureSet[sName]) { // the easy case
				return this._oMeasureSet[sName];
			}

			for ( var sMeasureName in this._oMeasureSet) {
				var oMeasure = this._oMeasureSet[sMeasureName];
				var oFormattedValueProperty = oMeasure.getFormattedValueProperty();
				if (oFormattedValueProperty && oFormattedValueProperty.name == sName) {
					return oMeasure;
				}
			}
			return null;
		}
function ( sName ) { if ( this . _oMeasureSet [ sName ] ) { // the easy case return this . _oMeasureSet [ sName ] ; } for ( var sMeasureName in this . _oMeasureSet ) { var oMeasure = this . _oMeasureSet [ sMeasureName ] ; var oFormattedValueProperty = oMeasure . getFormattedValueProperty ( ) ; if ( oFormattedValueProperty && oFormattedValueProperty . name == sName ) { return oMeasure ; } } return null ; }
Find measure by property name

@param {string}
sName Property name
@returns {sap.ui.model.analytics.odata4analytics.Measure} The measure object to which
the given property name is related, because the property holds
the raw measure value or its formatted value. If no such measure
exists, null is returned.
@public
@function
@name sap.ui.model.analytics.odata4analytics.QueryResult#findMeasureByPropertyName
Find measure by property name