Add datasets from Data Studio to Explore
- After reading this topic, you'll be able to:
-
- Give users permission to manage connections, tables, and models
- Add a dataset to the Explore connection
- Join and edit tables (raw data sources)
- Create a model (a user-friendly data source) from tables
- Share the model so that Explore users can search and visualize data
Before you begin
These are the basic steps for getting any dataset into Explore and turning it into a useable data source. Read Get started with data sources to understand the context and best practices for structuring the tables and models that you'll create in these steps.
In Data Studio, publish a dataset to Explore, if you haven't already. See the Data Studio Guide.
Instructions
Step 1: Assign data managers
- Connection Management
- Data Model Management
- Share With All
Step 2: Edit the connection to add the dataset
- In Explore's top navigation bar, use the workspace selector
to go to the Data workspace, then select
Connections. - Select the connection name to open it, then select Edit connection.
- Under Select tables, select your newly published dataset. It’s usually listed under Public.
- Select all of the columns to add the entire dataset to the Explore connection. If you don’t select some columns, they will stay in the integration datastore, but they won’t become available in Explore.
- Select Update.
Now the dataset is a table in Explore. Find it in the Data workspace under .
Step 3: Edit the table
- In the top navigation bar, use the workspace selector
to go to the Data workspace, then
select . - Select the name of a table.
- To create a join, select .
- Select a Table 2 to join to and Columns to join on.
- Select the Join type and Cardinality.
- Select Save.
- Under Columns, edit the Column type and Aggregation properties if needed. For details, see Column properties.
- Select Save changes.
Step 4: Create a model from one or more tables
A model turns raw tables into a business-friendly data source for Explore users. You choose which columns to included in the model, and then only those columns are available for search or visualization. The simplest way to create a model is described in the steps below. But there are other ways to enhance your models: See Edit models.
- In the top navigation bar, use the workspace selector
to go to the Data workspace. Select . - Select , then select your connection and select Next.
- Add tables to the model. You only need to add tables that contain
columns you might want to include in the model:
- Drag and drop one or more tables. To find a specific table, use the search bar, filter by tag, or sort the list.
- If tables were already joined at the table level, those joins
appear as recommendations in the model diagram. Select the join
icon
, then select Accept recommended
join. - If a table doesn't have a recommended join, that means it wasn't
already joined at the table level. Edit the original table
in Explore to create the join. Then add the table and its
recommended join to the model.Important: If you join in the model but not in the table, it creates a chasm trap. Chasm traps prevent you from viewing underlying data in an Answer.
- Add columns to the model:
- Select Columns, then in the sidebar, expand a table name to see all of its columns.
- To add all of the columns from a table, click and drag the table name into the center of the screen. Or click and drag individual columns.
- After adding columns, check for any that are highlighted in red, which means there's a duplicate column name. Remove duplicate columns or give them unique names.
- If needed, rename columns to make them business-friendly. Explore automatically capitalizes column names and replaces underscores with spaces.
- Select Save changes, then give the model a business-friendly name and description.
Step 5: Share the model
- In the top navigation bar, use the workspace selector
to go to the Data workspace, then select
Data objects. - Next to the model that you just created, select the check box.
- Select Share.
- Add users or groups and specify their permissions. Choose
from:
Can View Can view the model’s data. Can Edit Can rename, modify, or delete the model. Can add or remove columns.
Next steps
Anyone you shared the model with can now use Explore to discover the dataset you published from Data Studio and use it to visualize data.