Skip to main content
RobbSalzmann
Employee - Advisor
Employee - Advisor
Mar 29, 2024 7:34 PM UTC
Solved

Which Param is used by a CV if two params of the same name exist in different workspaces? Version 7

I have a Cube View that uses a parameter 'pm_EntityList' in the POV to let the user select an entity.
Its possible that the same parameter can exist in both workspaces.

In my case, the parameter is defined in both the default workspace and a workspace named 'CustomerWorkspace'.

If I specify |!pm_EntityList!| in the entity POV for my Cube View, which parameter will the cube view look at?

Taken a step further, lets say there are two Named Workspaces with the same parameter.  Now which one is evaluated?

RobbSalzmann
Employee - Advisor
Mar 29, 2024 7:55 PM UTC

Turns out the Default dashboard wins in the case of Default and Named.
in the case of two named workspaces, its the workspace that got created first that seems to win.

I vetted this out by adding the workspace name to the comment the user sees.  That way I could see which parameter was being used.

3 replies

RobbSalzmann
Employee - Advisor
RobbSalzmannEmployee - AdvisorAuthorAnswer
Employee - Advisor
Mar 29, 2024 7:55 PM UTC

Turns out the Default dashboard wins in the case of Default and Named.
in the case of two named workspaces, its the workspace that got created first that seems to win.

I vetted this out by adding the workspace name to the comment the user sees.  That way I could see which parameter was being used.

ChristianW
Employee - Advisor
Employee - Advisor
Mar 31, 2024 11:29 AM UTC

It depends, where you launch the request from, if it is a cubeview stored in a workspace, it first trys to find the parameter in its own workspace.

All classically stored cubeviews are located in the Default workspace. 

Veteran
Mar 31, 2024 1:18 PM UTC

RobbSalzmann can you try that. Default starts with letter D. So make a workspace and dashboard starting with letter A and try it. I think i remember that it picks up the first one in alphabetical order. But good to double check! 🙂