Dependent Lookups are used when there is a logical relationship across different properties. For example, across geographic ‘Region’, ‘Country’, and ‘Location’ properties.
Other common applications involve maintaining logic across functional properties (e.g. 'Function', 'Subfunction' and 'Department'), and aligning cost centres with organizational subgroups.
Dependent Lookups operate in two directions:
- Top-down: After a value is selected for a higher-level property, only values which maintain the defined logic are presented. In the example above, when NORAM is selected for the Region property, only ‘USA’ and ‘Canada’ can be selected as Country values.
- Bottom-up: When a value is selected for a lower-level property, the values for higher-level properties automatically populate. For example, when ‘Philadelphia’ is selected as the Location, the Country property value sets to ‘USA’, and Region sets to ‘NORAM’.
Top Tip: Using a worksheet slide, Dependent Lookups provide a fast way to bulk edit multiple properties for multiple nodes:
How to add a Dependent Lookup
The are 3 steps:
- Prepare the Lookup file
- Load the file as a Lookup dataset in Settings
- Apply the Lookup in the required dataset
Step 1: Prepare the Lookup file
The lookup dataset specifies the properties to be used and the logical – i.e. ‘dependent’ – relationship between property values. In this example, three geographic properties are used: ‘Region’, ‘Country’, and ‘Location’.
File Requirements
- An Id property with a unique identifier for each relationship must be included
- Properties (columns) must be presented in descending order of dependence
- Blank cells must be excluded
Tip: Export an Orgvue worksheet slide with the properties to be used in the Lookup added as columns. This will ensure the headings of your Lookup dataset match the property keys in the dataset it will be applied to. The exported file can also be used to sort cases and rapidly extract each of the required dependent relationships:
Step 2: Load the Lookup dataset in Settings
- Follow Steps 1-5 for Adding a new dataset using Settings.
At the ‘Edit details’ page:
- Enter a name for the Lookup dataset (‘Geographic Levels’ in this example).
- Select ‘Lookup’ as the Dataset Type.
- Select’ ‘Flat’ as the Node Relationship type.
- Select the ID property used in the Lookup file.
- Enable users to access the lookup by applying at least ‘Read-only’ permission.
- Select ‘Next’.
At the ‘Configure properties’ page:
- Check the file requirements are met:
- Lookup dataset property keys match the property keys used in the dataset the lookup will be used with; and
- Properties are listed in descending order of dependence.
- Check the boxes indicating ‘Dependent’.
- Select ‘Upload’.
At the ‘Summary’ page:
- Select ‘Back to Datasets’.
The Lookup dataset is now seen.
- In Settings, and
- On the Workspace Homepage when the ‘Datasets’ tab is selected.
Step 3: Apply the Lookup in the required dataset.
In this example, the ‘Geographic Levels’ Lookup will be applied to a People dataset, ‘Org Data Mar’. (The same approach applies when a Lookup is applied to a Positions dataset).
Add an empty text property to the required dataset:
- The property being is added to support the operation of the lookup. It is ‘read only’ and is not used in visualizations.
- The example below shows ‘Manage Properties’ being accessed in Workspace. This can be also accessed in Settings (select the required dataset; select ‘…’ select ‘Manage Properties’).
- Select ‘Data’.
- Select ‘Manage Properties’.
- Select the ‘Add’ Icon.
- Enter a Display name. Tip: Using a name which identifies this property as being used for the dependent lookup will be helpful for future reference.
- Enter a Key for the property.
- A description for the property is optional.
- The ‘Type’ must be set to ‘Text’.
- Select the ‘Values’ Menu.
- Select ‘Provide users with a set of values’.
- Select ‘Provide values from a Lookup Dataset (Manual)’.
- Select your Lookup Dataset (Geographic Levels in this example).
- Select ‘Save.
- Close the ‘Manage Properties’ window.
- Reload Orgvue.
With the Dependent Lookup set:
- Values for each dependent property can be set when one of the properties is edited.
- When a value is selected for a higher-level property, only values which maintain the logic can be selected for lower-level properties. For example,
- When NORAM is selected as the ‘Region’, only ‘USA’ and ‘Canada’ can be selected for the ‘Country’ property.
- When a value is selected for a lower-level property, the higher-level property values automatically populate. For example,
- When ‘Philadelphia’ is selected as the Location, the Country property value sets to ‘USA’, and the Region property value sets to ‘NORAM’.
Related articles:
Comments
0 comments
Please sign in to leave a comment.