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.
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:
The Status column indicates the current status of your lookup tables and displays status text inside a colored background.
The Name column displays the name assigned to the lookups when created.
The Owner column displays the email of the user who created the lookup.
The Last Updated column contains the date and time of the last of the changes applied to the lookups, changes such as modifications in content, sharing status, etc.
The Type column shows the following depending on the lookup type: Upload, Static Query, Historic Static Query, Dynamic Query, or Historic Dynamic Query.
The Size (bytes) column states the disk space the lookups occupy.
The Rows in Lookup column reports the number of rows the lookups consist of.
The Sharing column indicates the status of the lookups concerning privacy and displays a status icon and text inside a colored background.
To know more about sharing status and how to share lookups, check the Share lookups article.
The Lookup Summary can be reached by clicking the expandable icon on the left of the lookup row to see its details: key column, column names, and data types, as well as source query for query lookups, which can be copied to the clipboard for later use.
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.
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.
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.
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 the lookup table as a CSV file.
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.
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.
This opens a window for you to share the lookup with other roles. Check the following article to know the details: Share lookups.
Delete the lookup table.
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).
Available with filter...
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).
Mark the checkbox of the desired rows and select the icon to delete them.
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.