TM1 Function for TI, ViewExists

Checks whether a view exists.

What is the ViewExists function?

ViewExists checks whether a view exists. If the view exists, the result is 1 and if it does not exist the result is 0.

Where can the ViewExists function be used?


What is the syntax for ViewExists?

ViewExists(CubeName, ViewName);

CubeName = Cube Name​
ViewName = View Name

A demonstration on how to use ViewExists

Use ViewExists to check if the default view exists in the Sales Quota cube.