Manage and edit lookup tables
Devo users with the necessary administrative permissions can perform the tasks shown below with existing lookups.
All of these tasks are carried out in the Lookup Management tab of the Data Search area.
Â
What permissions do I need?
To access this area and see the lookups shared with you, you need to have at least view permissions on Lookups for upload lookups and Query lookups for query lookups. However, to be able to perform the management and edition tasks described in this article you need to have the management version of those permissions.
Take into account that these two permissions are hierarchy-based, meaning you need to have Lookups assigned in order to be able to have Query lookups. Â
Â
Lookup information
In this area, you can see all the lookups that you have access to and the different information that helps you identify them and their content:
Find your lookup
Since the number of lookups you have access to might be potentially high, it is important to be able to quickly find them. To do that, you have at your disposal some functionalities to filter and sort them.
Â
Â
Filter
You can use the Filter lookups field, which filters as you type to show only those lookups that contain the specified string in any of the columns.
You can also the column filters by clicking Filter next to the Filter lookups field to deploy a menu where you can search for specific values in each column. You can combine different column filters for a more concise approach.
Sort columns
You can click the arrows in each column header to sort the column values in ascending or descending order.
Clicking a third time goes back to the default option, which is ordered by last update.
Display density
Use this option to define the vertical spacing between rows so you can see and manage them more comfortably according to your preferences.
You can select Compact for a tighter approach and Comfortable for a wider approach).Â
Lookup management options
In this area, you can manage the lookups that you have access to. Click the ellipsis icon on the right of any lookup row to access the following options:
Be aware that some of these options require specific permissions, mainly Lookups (View/Manage), Lookup restrictions (View/Manage), and Query lookups (View/Manage). If you do not have them, you will not see the option in the ellipsis menu. To know more about permissions and see the full list, check Role permissions.
Download CSV | Download the lookup table as a CSV file. |
---|---|
Edit | Uploaded lookups: edit the content of the selected upload lookup table. You can add new rows or modify the already existing data. Click Save Changes once you finish. Note that this option is only available for lookup tables up to 100MB. Static query lookups: in the case of static query lookups, you are taken to the data search, where you can edit the columns and time range of the lookup. See the below section to learn more and read this article for guidance on how to edit a query lookup. Dynamic query lookups Dynamic query lookups cannot be edited. |
Upload a New Version | Upload an updated version of the selected lookup table. Click Choose file, select the file including the updated version, and click Upload. This option is only available for uploaded lookups. |
Restrictions | This opens the Restrictions to tables screen. Select the required lookup table in the left area and use the toggle buttons to enable or disable them in the different data tables. By default, lookup tables are available for all data tables. To restrict a lookup for use with only a subset of the available data tables, select the lookup on the left, then on the right use the toggles to select the tables in the subset. Click the back button once you're done. |
Share | This opens a window for you to share the lookup with other roles. Check the following article to know the details:Â Share lookups. |
Delete | Delete the lookup table. |
Note that if the lookup's status is orange then you will see the option to refresh when clicking on the ellipsis icon.
Edit an uploaded lookup
Select Edit lookup to edit the content of the uploaded file so you can perform the actions described below. You can filter rows using the filtering buttons above the table to display the columns according to modification status (All, Modified, Created, or Deleted).
Action | Description | Available with filter... | |||
---|---|---|---|---|---|
All | Modified | Created | Deleted | ||
Add rows | Add individual rows by entering the values of the cells or add several rows at the same time in CSV format. | ✓ | |||
Edit cell content | Click a cell in the table and make the desired changes (click outside or press Enter to apply your changes). | ✓ | ✓ | ✓ | |
Delete rows | Mark the checkbox of the desired rows and select the icon to delete them. | ✓ | ✓ | ✓ | |
Restore rows | Mark the checkbox of the desired rows and select the icon to restore them. | ✓ | ✓ |
After performing the required modifications, click Save changes to apply them to the lookup or Reset changes to restore the original lookup version in case you are not happy with the changes.
Edit a static query lookup
Dynamic query lookups
Note that dynamic query lookups cannot be edited.
Using the Edit option explained in the table above will open the data search with the query used to feed the lookup, where you can perform the necessary operations to get the new conditions (create columns, group, aggregate, or change the time range).
Click the gear icon in the toolbar and select Set query change in lookup. Make the necessary changes in the Edit Query Lookup window (add or remove columns, or change the key column) and click Save settings.
It may take several minutes to apply the changes. Go to Data Search → Lookup Management and check the Status column of the lookup. Changes will be applied once the indicator turns green.
To add values from a query lookup to a data table, follow the steps explained in Add lookup values to your query.