PES_MACRO_RESOURCE_CAPACITY_TIMESCALE

PES_MACRO_RESOURCE_CAPACITY_TIMESCALE shows resource capacity for the requested timescale and storage unit.

The parameters for this macro are:
The following example shows a call to get resource capacity (in hours) for the Actual dimension between May 17, 2008 and May 17, 2009.
SELECT * FROM PES_MACRO_RESOURCE_CAPACITY_TIMESCALE(tmp, , Hours,
 Calendar Month, 2008-03-17, 2009-03-17, 1)