The SourceColumn property of the Measure interface contains a reference to the column in the fact table that contains the measure.
| clsAggregationMeasure | clsPartitionMeasure |
| clsCubeMeasure |
Note For a virtual cube (a cube object with a SubClassType of sbclsVirtual) the SourceColumn property is used to reference a measure within an existing cube rather than a column in a source fact table. For more information, see clsCube.
String
The access type depends on the measure object’s class.
| Class | Access |
|---|---|
| clsCubeMeasure | R/W |
| clsPartitionMeasure | R/W |
| clsAggregationMeasure | R |
The SourceColumn property works in conjunction with the SourceColumnType property.
Use the following code to set a measure object SourceColumn to “Sales_Facts”.”Price”:
'Assume an object (dsoCubeMea) of ClassType clsCubeMeasure exists
dsoCubeMea.SourceColumn = """Sales_Facts"".""Price"""
| About Decision Support Objects | Using Decision Support Objects |
| Properties Cross-Reference |