Friday, October 25, 2013

BPC Member formula ... devil is in the details

I've found a "non working" item in BPC ... it's member formula was something like



IIF([HDCNT]=0,0,[TOT_COST]/[HDCNT])

very nice and workend fine, but ... while cost is currency converted headcount is not ... so it was "not working" ... 

A little revision, rewriting it in order to take into account dimensions brought the desired result



IIF(([HRCOST].[HDCNT],[RPTCURRENCY].[LC])=0,0,([HRCOST].[TOT_COST])/([HRCOST].[HDCNT],[RPTCURRENCY].[LC]))

 

Not that difficult, but I see that BPC people generally don't like to fully qualify things :(

After a while I had to change it again ... adding another bit of MDX to the game, IsLeaf and CurrentMember

IIF(
IsLeaf([TIME].CURRENTMEMBER)
,
IIF(([HRCOST].[FTE],[RPTCURRENCY].[LC])=0,0,([HRCOST].[TOT_COST])/([HRCOST].[FTE],[RPTCURRENCY].[LC]))
,
IIF(([HRCOST].[HEADCNT],[RPTCURRENCY].[LC])=0,0,([HRCOST].[TOT_COST])/([HRCOST].[HEADCNT],[RPTCURRENCY].[LC]))
)

Sunday, August 18, 2013

Tuesday, April 02, 2013

BPC work status setup ... APPROVALORG, a little parameter often overlooked

When setting up workstatus in BPC there is a little web parameter to setup, APPROVALORG, it's often overlooked because generally one doesn't manage more than one hierarchy for an entity ... in our case we have 3 hierarchies and hierarchy number 3 (H3) is the one used to manage read/write permissions and thus the natural candidate for controlling workstatus.
So the web parameter APPROVALORG should not be H1 in this case, or you'll get some "strange" errors, but H3, and of course H3 will also have the owner property correctly filled.

An example:


Some useful tutorials can be found on SDN.


Tuesday, January 29, 2013

BPC load 0CALMONTH from BW

As incredible as it sounds ... in BPC 7.5 NW you have to prepare a conversion to load time from 0CALMONTH to TIME dimension!
Thanks God it's not that difficult, once you know how to do it.
An example:

Time conversion file



Monday, January 28, 2013

BPC lite optimize zero elimination

Just a quick visual to add zero elimination to the light optimize package in BPC 7.5 NW, see SAP Note 1396761


Organize package list

Modify package Lite Optimize
Modify package Lite Optimize

Add task