Qualified Data Reference (QDR) Concepts

A qualified data reference (QDR) is a reference to a subset of the values in a data source. For example, a QDR might refer to a Sales measure, but only to those values in a specific month. In another example, a QDR might refer to a Units measure, but only to the single value that represents the units of TVs that were sold by catalog in June in New York. It is also possible for a QDR to refer only to a dimension. For example, you might want a reference only to the Product dimension. In this case, the QDR refers to all of the members in the Product dimension.

Qualified data reference objects

BI Beans includes the following qualified data reference objects:

Qualified data reference objects are structured as a set of dimension-member pairs with the following characteristics:

The following classes represent member objects for qualified data references:

Types of members

To construct a QDR object, you can add QDRMember objects of the following types:

To construct an OlapQDR object, you can add OlapQDRMember objects of the following types: Fixed and Varies. OlapQDRMember objects do not include members of type List.

Comparing qualified data reference objects

The following methods are available in both QDR objects and OlapQDR objects for comparing qualified data references:

For additional details and examples, consult the javadoc for these methods in the QDR and OlapQDR classes.

Creating Measure Condition Steps
Creating Rules for Formatting Dataviews