Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Latest commit

 

History

History
52 lines (42 loc) · 3 KB

File metadata and controls

52 lines (42 loc) · 3 KB

Joining and Merging Data

Overview

This tutorial will walk you through joining the delinquency data from our Stripe analysis in the Creating a Chart tutorial with account data from Salesforce. This will allow us to retrieve the phone number for the delinquent account and follow up with them. We will demonstrate two different ways to join data in Chartio:

  • In-database joins: Chartio's drag and drop interface can generate efficient in-database joins transparent to the end user. This allows non-technical users to merge data residing within the same database without ever having to write a join. The only requirement is that an admin has set up foreign keys in the Schema tab for the database being queried. We will demonstrate creating a foreign key from an email address in Stripe to an email address in Salesforce.
  • Cross-database joins: Chartio's Layers functionality can perform cross-database joins. This is ideal for joining data sets that reside on disparate database servers. Layers can also join data within separate schemas on the same database server. We will demonstrate the latter scenario using the dashDB Finance and dashDB Sales data sources we created in the Custom Schemas tutorial.

Before starting this tutorial, make sure you have completed the Custom Schemas tutorial. Don't hesitate to contact support if you run into any issues!

Tutorial

Steps

Setup a foreign key from St Customer.Email to Sf Contact.Email in dashDB Admin

Setup a foreign key

Edit the chart from the Creating a Chart tutorial and add Sf Contact.Phone

My first dashboard Edit the delinquency chart Add Sf Contact.Phone

Clone the chart and delete Sf Contact.Phone in preparation for demonstrating Layers

Clone Save Edit Delete

Add a Layer and add Sf Contact.Email and Sf Contact.Phone from dashDB Sales

Clone Save Edit