XiaoluShi
15 days agoNew Contributor
Cube View XFBR Formatting - How to get Entity on Cube View to use in BR
Hi,
I have a use case to format V#Annotation text fields in a Cube View to Red when it's blank, with Entity in CV rows. I'm using a Literal parameter, and using the XFBR to return "Background=Red" for the purpose. The issue I have is that I cannot seem to get Entity from Cube View to use in XFBR. Since Scenario and Time are tied to Workflow, can get those with no issue. Below is my code section to get Scenario, Time and Entity, but Entity is null when I checked inside the XFBR rule.
string wfSceanario = args.SubstVarSourceInfo.WFScenario.Name; //works
string wfTime = args.SubstVarSourceInfo.WFTime.Name; //works
string currEntity = args.SubstVarSourceInfo.PovMembers.Entity.Name; //doesn't work
Anyone has advice on how to get the Entity name used in Cube View Rows, in my case? Since Entity is not passed, all my cell rows are Red now.
My Row definition in the Cube View:
Appreciate the help!