| Visual Basic (Declaration) | |
|---|---|
Public Property Expression As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TMeasure Dim value As String instance.Expression = value value = instance.Expression | |
| C# | |
|---|---|
public string Expression {get; set;} | |
| C# | Copy Code |
|---|---|
TMeasure m = TOLAPGrid1.Measures.AddCalculatedMeasure("Calculated"); m.DefaultFormat = "Currency"; m.Expression = "[Measures].[Sales Amount] / [Measures].[Order Count]"; | |
The value of this property will be used as an MDX expression describing the
measure in the WITH MEMBER clause of the MDX queries passed to the server.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family