The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Davy
4 years agoContributor
business rule BR for a column (e.g. K) to Accumulate what is in another column (in Cubeview)?
OneStream is the best EPM app for consolidation and everything planning - it is going to kill Hyperion / Essbase !!
Does anyone have a sample business rule BR for a column (e.g. K) to Accumulate what is in another column (in Cubeview)?
I probably have a written something similar long time ago, but would like to see if someone else wrote a better BR.
As it turns out, I had to write a new BusinessRule.Finance.XFR_CV_BR_Accum_colum
Here's the heart of the code:Dim cellVal As Decimal = api.Data.GetDataCell("U1#" & api.Pov.UD1.Name).CellAmount
' add accumulative value to current cell value
accumVal = accumVal + cellVal
4 Replies
- PatrickWWiggettNew Contributor III
GetDataCell(CVC("Insert column name") + CVC("Insert column name"))
This is a small script you can write in the actual cube view column member filter which will perform an on-the-fly calc.- DavyContributor
As it turns out, I had to write a new BusinessRule.Finance.XFR_CV_BR_Accum_colum
Here's the heart of the code:Dim cellVal As Decimal = api.Data.GetDataCell("U1#" & api.Pov.UD1.Name).CellAmount
' add accumulative value to current cell value
accumVal = accumVal + cellVal
- DavyContributor
- DavyContributor
Thanks for your help. Yes, I'm aware of use of CVC to add to columns.
But in my screen shot , I show only one column B that I am accumulating. e.g. cell C10 = Cell B9 + cell B10.,
C11 = C10+C11 etc.
As I mentioned, I may have a similar business rule, but wonder if there's a better one out there.
Related Content
- 2 years ago
- 2 years ago
- 1 year ago