What's new Download Reportworq
⬇ Guide PDF

DBRW function#

DBR and DBRW retrieve a single cube cell value at the intersection of one element per dimension. In Reportworq the two names are the same function; DBRW (the "register" variant) is the one used in most live grids. This is the everyday way to pull one Planning Analytics number into a cell.

DBR and DBRW are native TM1 / Planning Analytics functions; Reportworq evaluates them against the workbook's TM1 connection at report-generation time.

Signature#

=DBRW("Server:Cube", element1, element2, ... elementN)
=DBRW("Server:Cube:ViewID", ...)      // the form used inside an Active Form

Arguments#

# Argument Type Required Permitted values and notes
1 Server:Cube String Yes "server:cube", or "server:cube:viewId" inside an Active Form. An Excel error value here fails the formula.
2..N element per dimension String Yes One element name per cube dimension, in cube-dimension order. The second argument may itself be a list.

You must supply at least two arguments; if the second argument is not a list, a third is required. The element count is re-checked against the cube's real dimension count when the report runs.

What happens when an argument is wrong#

Reportworq reports a bad argument as a hard error (the cell shows #VALUE!), a warning (a message in the run report while the cell falls back to blank), or a silent drop. Several of these depend on the connection's Calc Mode; see how Reportworq handles errors.

Situation Result
Fewer than two (or three) arguments Hard error - too few parameters
Element count does not match the cube's dimension count Hard error when the report runs
A blank element, Calc Mode on Hard error
A blank element, Calc Mode off Warning, the cell returns blank
An invalid element name Calc Mode on: hard error. Calc Mode off: warning, blank
Server:Cube blank or an Excel error value Hard error
The referenced server is not connected Hard error

Notes and limits#

Examples#

=DBRW("PlanTM1:Sales", "Northeast", "Widget", "Jan", "Revenue")
=DBRW("PlanTM1:Sales", $B$2, $B$3, $B$4, "Revenue")

Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.