Drill through for -DBRW....

Post Reply
telula_w
Posts: 15
Joined: Wed Jan 05, 2011 11:28 pm
OLAP Product: TM1
Version: 9.1
Excel Version: 2003

Drill through for -DBRW....

Post by telula_w »

Hello All,
I have an ODBC drill through that works for Excel cells with formula =DBRW(dim1,dim2.,etc).However, when the cell contains =-DBRW(dim1,dim2.,etc). The negative sign causes the drill through function not to appear.Currently, the drill assignment rule is [Version:'Act']=S:'P&L';
Do I need to modify the rule to accomodate the negative sign?
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Drill through for -DBRW....

Post by jim wood »

I wonder if it's excel doing something funny with it. Have tried changing the formula to: dbrw()*-1
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Drill through for -DBRW....

Post by lotsaram »

To drill through you need the DBRW formulas to be "naked". (Which they should be anyway, multiplying by -1 causes the DBRWs to behave as DBRs which may give substantially reduced performance.)

Multiplying by -1 as in the case of presenting credit accounts as a positive number is something that should be taken care of within the cube itself. There are several advantages of doing this; easier report maintenance as DBRW formulas can be consistent throughout the report, better performance, ability to data spread and ability to drill-trough ...
hbell
Posts: 61
Joined: Wed Feb 25, 2009 6:15 pm
Version: 9.1 SP3
Excel Version: 11.8

Re: Drill through for -DBRW....

Post by hbell »

Lotsaram : that's an interesting observation. Would DBRW()+DBRW() count as "naked" or be treated as two DBRs?
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Drill through for -DBRW....

Post by lotsaram »

hbell wrote:Lotsaram : that's an interesting observation. Would DBRW()+DBRW() count as "naked" or be treated as two DBRs?
I'm not absolutely 100% certain but pretty sure that adding 2 DBRWs within a single cell would also break the "W" and effectively turn the formulas into DBRs.
Post Reply