Gets the default view for the current Scenario member or for a specified scenario member. This function can be used in these types of rules:
where Scenario is the name of a valid Scenario member.
A string that contains the default view for the specified scenario. Valid values are YTD and Periodic.
In this example, if the default view for the Actual scenario is YTD, then statements between the If...Then and End If statements are executed.