Consolidates an entity’s data for the specified Scenario, Year, and Period dimension members.
<HFMwCalculate>.Consolidate bstrScenario, bstrYear, bstrStartPeriod, bstrEndPeriod, bstrEntity, bstrParent, lConsolidationTypeThe label of the first Period dimension member in the range of periods for which the consolidation is being executed. | |
The label of the last Period dimension member in the range of periods for which the consolidation is being executed. | |
Specifies the type of consolidation to be performed. Valid values are represented by the HFMConstants type library constants listed in Consolidation Type Constants. |
The following function takes dimension member labels that are passed to Consolidate and performs a consolidation for only those entities that contain data.
Function ConsolidateAllData(sScen, sYear, sStartPer, sEndPer, _
sChild, sPar)
Dim cHFMCalc
Set cHFMCalc = Server.CreateObject("Hyperion.HFMwCalculate")
' cHFMSession is a previously set HFMwSession object
cHFMCalc.SetWebSession cHFMSession
cHFMCalc.Consolidate sScen, sYear, sStartPer, sEndPer, sChild, sPar, CONSOLIDATE_ALLWITHDATA
End Function