PeriodNumber

Gets the period number in the view for the data that is being retrieved. This function can be used in Dynamic SUB functions.

Syntax

HS.View.PeriodNumber

Return Value

One value for the number of periods of the view.

Example

Hs.Dynamic "A#MarginPct=A#GrossMargin/HS.View.PeriodNumber"
 PeriodicYTDQTDHYTD
Jan.1111
Feb.1222
Mar.1333
Q11111
Apr.1414
May1525
June1636
Q21212
HY11111
July1711
Aug.1822
Sept.1933
Q31311
Oct.11014
Nov.11125
Dec.11236
Q41412
HY21221
Year1111