What is the ViewCreateByMDX function?

ViewCreateByMDX creates a cube view with a MDX expression.

Where can the ViewCreateByMDX function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for ViewCreateByMDX?

ViewCreateByMDX (CubeName, ViewName, MDX_Expression, u003cAsTemporaryu003e)​;

​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.

A demonstration on how to use ViewCreateByMDX

Use ViewCreateByMDX to create a view for the Finance cube using a MDX expression.