Disclosed is a system, method, and apparatus for calculating metrics by
using hierarchical level metadata to describe the various structures within the
database. The hierarchical level metadata permit calculation of complex metrics
by an analytical server which would otherwise be difficult or impossible. As a
result of the way that the analytical server calculates the metrics, slicing and
drilling are supported. Additionally, dimension and fact level security are also supported.