DrillThrough (Method)

Applies To:

TopLabels collection, SideLabels collection, Measures collection

Description:

Executes the drill-through from a multi-dimensional database to a relational database. The DrillThrough() method assumes that a connection to relational and OLAP queries exists. Each method uses the BqDrillThroughPrompt constant group.

Note:

The dialog prompt for DrillThrough() is not a requirement in the EPM Workspace. The Prompt Dialog is ignored and the default Prompt Option is taken. If a Prompt Option is not specified, the default of New Pivot is assumed.

Syntax:

Expression.DrillThrough([optional] Number [promptOption, [optional] String pivotName, [optional] Boolean promptDialog]

Also note these optional arguments:

Expression Required:

An expression that executes a drill through command

Constants:

The DrillThrough (Method) uses the BqDrillThroughPrompt constant group, which consists of these values:

bqDrillThroughPromptCancel = 2

bqDrillThroughPromptNew = 3

bqDrillThroughPromptUpdate = 1

Example:

This example shows how to drill up a drilled-down value:

ActiveDocument.Sections["OLAPQuery"].DrillThrough( 2,"Pivot",true)