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?


Which TM1 Server version is this function available for?

Version 11 and 12

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.