TM1 Function for TI, ViewMDXSet

Sets the MDX expression for a cube view.

What is the ViewMDXSet function?

ViewMDXSet sets the MDX expression for a cube view. 

Where can the ViewMDXSet function be used?


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.