Creates a cube view with a MDX expression.
ViewCreateByMDX creates a cube view with a MDX expression.
ViewCreateByMDX (CubeName, ViewName, MDX_Expression, <AsTemporary>)
CubeName = Cube Name
ViewName = View Name
MDX_Expression = a string value that has the MDX expression
AsTemporary = Optional binary flag to set the view as temporary. If nothing is set, the view will be permanent by default.
Use ViewCreateByMDX to create a view for the Finance cube using a MDX expression.