Tutorial: Extend an Explore model with custom columns
When you first start using Explore, the Guidewire-created tables, models, Liveboards,
and Answers include fields that Guidewire manually selected for analytics and
reporting use cases. They don’t include:
- Your InsuranceSuite extension fields and tables
- Other out-of-the-box InsuranceSuite fields and tables that are specific to your use case
Note: If you aren’t working with Guidewire-created models, see
Add datasets from Data Studio to Explore
instead.
- In this tutorial, you will:
-
- Create a new version of a dataset in Data Studio with your extension columns.
- Publish the dataset to Explore.
- Create a new version of the Explore model that includes the extended dataset.
- Create a new version of a Liveboard and add your extension column to a chart.
Before you begin
- You must have access to Data Studio and Explore
- You must belong to one or more Explore groups that have these roles:
- Connection Management
- Data Model Management
- Share With All
- Read Get started with data sources to understand how datasets are published from Data Studio to Explore and are prepared for visualization.
Instructions
Step 1: Determine what to extend
About this task
Procedure
Determine what's missing from the Explore model
Browse available columns in Explore
Determine which column to add from Data Studio
Determine which specific table to extend
Step 2: Create a new extended dataset in Data Studio
Procedure
Step 3: Publish the query to Explore
About this task
Procedure
Find the publication name and properties
-
Go to the Data Studio Inventory, and search for the name of the
original table from Explore:
efr_dim_claim. -
On the
efr_dim_claimdataset card, select the ellipsis, then Details. -
Take note of the following information about the dataset:
- Under Publications, note the publication it belongs to.
- Under Dataset options, note the Time Basis, Primary Keys, and Order By.
Publish the query
-
Return to the query you created
(
efr_dim_claim_v1), then select . -
Select Existing publication, then select the
publication Name that the original dataset
belongs to:
efr_loss_v0_1_0. -
Configure the other deployment properties so that they match the
original dataset:
- Primary key: skey
- Time basis: Current
- Order by: updatetime
- Select Publish.
Step 4: Add the new dataset to Explore
About this task
You must update the Explore connection to include the new dataset. Then, it becomes available in Explore.
Before doing these steps, you might have to wait up to an hour for the published dataset to appear in the connection editor. The exact latency depends on volumes and the number of publications.
Procedure
Step 5: Join the table
About this task
Procedure
- In the Explore Data workspace, select .
-
Select the name of the
efr_dim_claim_v1table. -
To create a join, select , then input:
-
Join name:
fact_to_claim_dim -
Table 2:
efr_fact_loss_calendaryear -
Column from Table 1:
skey -
Column from Table 2:
fk_claimid_skey - Join type: Left Outer
- Cardinality: Many:1
- Select Save.
-
Join name:
- Under Columns, edit the Column type and Aggregation properties if needed. For details, see Column properties.
- Select Save changes.
Step 6: Create a new version of the model
About this task
Procedure
-
In new browser tabs, open the following pages to reference
later:
- From the Explore data dictionary documentation, open the dictionary for the GW - Claim Loss Financial - Calendar Year model.
- Open the original model: In Explore, go to the Data workspace, then select .
- In Explore, go to the Data workspace, then select .
- Select , then select your connection and select Next.
Add tables
- Open the browser tab with the original model. Look at the Joins to see which fact and dimension tables it includes.
-
Add those fact and dimension tables to the new model. Make sure to
add the new table you created in Data Studio,
efr_dim_claim_v1, instead of the original,efr_dim_claim.
Add columns
-
In the model data dictionary, reference the original model
Source table and Source
columns. Follow steps 7-8 to add each column to the
model, along with your new
tn_fraudindicator_ext column. -
Select Columns, then in the sidebar, search
for a source column name.
- Click and drag to add the column. To add all of the columns from a table, click and drag the table name.
- Rename existing columns so they match the Model column name in the dictionary. Give your new column a business-friendly name. For example, Fraud Indicator.
-
If the dictionary Source Column says
Formula, you won’t find it in the column
list. Instead, create a formula:
- Select the Formula tab, then Add Formula.
- Name the formula so it matches the Model column name from the dictionary. For example, Accounting Period.
- Copy the Formula expression from the data dictionary, then paste it into the formula editor.
- Select Save, then the formula appears as a column in the Columns tab.
- 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.
- Select Save changes, then name the model Claim Loss Financial - Calendar Year - V1.
- Select Exit data model.
Step 7: Share the model
Procedure
Results
Step 8: Use the new column in a Liveboard
About this task
Procedure
Create a copy of the Liveboard
Point the Liveboard to the new model
Add the new column to a visualization
Next steps
Use the new model to create more visualizations or create new Liveboards.