Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

GetNextPeriod

Use this function to return the next symbol in the hierarchy which is a sibling of the specified symbol (if symbol is the last symbol, a blank is returned) in the time periods dimension.

Copy

Syntax

GETNEXTPERIOD(SymName)        

where:

  • SymName is the name of a symbol in the time periods dimension. The symbol must be a descendent of a symbol specified in either the SGPTimePerActivity or SGPTimePerYTD attributes. For more information on attributes, see the Longview Application Administrator Guide.

    Note: GetNextPeriod returns an error message if the user does not have access to that particular symbol.

Copy

Syntax example

CREATE VARIABLE X AS STRING
SET VARIABLE X = GetNextPeriod(A0503)        

Published:

GetNextPeriod

Use this function to return the next symbol in the hierarchy which is a sibling of the specified symbol (if symbol is the last symbol, a blank is returned) in the time periods dimension.

Copy

Syntax

GETNEXTPERIOD(SymName)        

where:

  • SymName is the name of a symbol in the time periods dimension. The symbol must be a descendent of a symbol specified in either the SGPTimePerActivity or SGPTimePerYTD attributes. For more information on attributes, see the Longview Application Administrator Guide.

    Note: GetNextPeriod returns an error message if the user does not have access to that particular symbol.

Copy

Syntax example

CREATE VARIABLE X AS STRING
SET VARIABLE X = GetNextPeriod(A0503)        

For an optimal Community experience, Please view on Desktop