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
JoãoRodrigues
1 year agoNew Contributor
How to get cell context?
This is the layout of my CV
I'm using an XFBR in rows (and columns); the rules for each scenario are different; how do I get the context from the columns?
In other words, when the scenario is Budget I want to apply specific rules for that scenario, same thing for Actual.
This would be the script:
Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName.BusinessRule.DashboardStringFunction.REP_ParamHelper
Public Class MainClass
Public Function Main(ByVal si As SessionInfo, ByVal globals As BRGlobals, ByVal api As Object, ByVal args As DashboardStringFunctionArgs) As Object
Try
If args.FunctionName.XFEqualsIgnoreCase("GetAccount") Then
//Do something
End If
End Function
End Class
End Namespace
1 Reply
- chul
OneStream Employee
If you're trying to return different accounts based on the scenario in the same row, you can do it using a dynamic calc. This uses account types, but it's the same premise.
https://community.onestreamsoftware.com/blog/blog/can-a-member-have-two-or-more-different-account-types/16219
Related Content
- 3 years ago
- 2 years ago
- 3 years ago