Extract part of parameter string in cube view
Hi everyone,
I have the current Entity hierarchy:
I created a cubeview that allows the user to initially select a base entity from a dropdown list to be used as Entity member within the cubeview.
In some of the rows, though, I'd like to consider the Legal Entity code rather than the base member code (for example, assuming the user initially selects 1010TRW, I want two rows to use 1010 as Entity member whereas the rest of the rows will use 1010TRW).
Is there a straightforward way to consider the first 4 characters of the parameter in one of the rows of the CV?
I tried to search for functions to be used in the Member filter builder window
but I did not find any.
Thanks in advance for any help!
Hi fc ,
Not sure what your condition is on when you want to use the Left string truncation logic, or return the entire Entity name. But you would do it with an XFBR String rule. The code to call it is here that would go in your Cube View row, and an example function that will return the first 4 characters of the Entity parameter selected:
Hope this helps,