Patent attributes
In accordance with the teachings described herein, systems and methods are provided for calculating a distinct count value from data stored in a hierarchical database. A counting measure may be defined in the hierarchical database such that the counting measure is associated with members of a first category of data to be stored in the hierarchical database. A query may be received that identifies the counting measure. The hierarchical database may be queried to identify members of the first category of data that are presently in the hierarchical database. A data structure may be generated that includes the members of the first category of data that are stored in the hierarchical database. One or more distinct count values may be calculated for the members of the first category of data that are stored in the hierarchical database.