PivotDataSourceFilterStringDescriptorBuilder
Methods
StartsWith(System.String)
Includes only values that start with the specified string.
Parameters
value - System.String
The string with which the result should start
Example
Razor
.Filter(f => f.Add("[Geography].[City]").StartsWith(" Foo"))
EndsWith(System.String)
Includes only values that end with the specified string.
Parameters
value - System.String
The string with which the result should end
Example
Razor
.Filter(f => f.Add("[Geography].[City]").EndsWith(" Foo"))
Contains(System.String)
Includes only values that contain the specified string.
Parameters
value - System.String
The string which the result should contain
Example
Razor
.Filter(f => f.Add("[Geography].[City]").Contains(" Foo"))
DoesNotContain(System.String)
Includes only values that do not contain the specified string.
Parameters
value - System.String
The string which the result should not contain
Example
Razor
.Filter(f => f.Add("[Geography].[City]").DoesNotContain("Foo"))
IsEqualTo(System.String)
Includes only values that are equal to the specified string.
Parameters
value - System.String
The string to match.
Example
Razor
.Filter(f => f.Add("[Geography].[City]").IsEqualTo("Foo"))
IsNotEqualTo(System.String)
Includes only values that are not equal to the specified string.
Parameters
value - System.String
The string to exclude.
Example
Razor
.Filter(f => f.Add("[Geography].[City]").IsNotEqualTo("Foo"))
In(System.String)
Includes only tuple members whose unique names appear in the supplied comma-separated list.
Parameters
value - System.String
The value to compare against.
Example
Razor
.Filter(f => f.Add("[Date].[Calendar]").In("[Date].[Calendar].[Calendar Year].&[2010],[Date].[Calendar].[Calendar Year].&[2014]"))
)