<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>
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.