What is the ViewMDXSet function?

ViewMDXSet sets the MDX expression for a cube view. 

Where can the ViewMDXSet function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for ViewMDXSet?

ViewMDXSet(CubeName, ViewName, MDX_Expression)​;

CubeName = Cube Name​
ViewName = View Name​
MDX_Expression = a string value that has the MDX expression

A demonstration on how to use ViewMDXSet

Use ViewMDXSet to modify the view, My new MDX View, from the Finance cube using an MDX.