Skip to main content
March 29, 2024
Solved

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

  • March 29, 2024
  • 3 replies
  • 0 views

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?

Best answer by RobbSalzmann

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

RobbSalzmannAuthorAnswer
March 29, 2024

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.

March 31, 2024

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. 

March 31, 2024

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! 🙂