Salesforce WAVE – Using Salesforce Data in WAVE

Blog by Stanley Sequeira | Oct 13, 2015


salesforceanalytics

In my previous posts we either uploaded Data in JSON format or used a CSV file. In this post, I’ll explain you how to utilize your Salesforce Native Data into the Wave Analytics Cloud.

It’s one of those use cases which most enterprises might want to explore to the fullest.

Step 1: Let’s login into our WAVE App

Step 2: Click Create -> Dataset

12.1

Step 3: Select Data Source as Salesforce

12.2

You’ll see a list of all objects (Standard and Custom) that are accessible via the REST API.For this use case we’ll extract Opportunity, User and Account Information.

Between Opportunity, User and Account; the lowest grain is Opportunity information.

Step 4: Search for Opportunity and select it

12.3

You’ll see that Opportunity has now been selected as a ROOT for this dataset

12.4

Step 5: Hover on the Opportunity, you’ll see a + symbol appearing right next to it displaying the Opportunity fields and relationships.

Select the following fields

  • Amount (Currency)
  • Close Date (Date)
  • Closed (Boolean)
  • Description (Text Area)
  • Lead Source (Picklist)
  • Name (String)
  • Opportunity Type (Picklist)
  • Region (String)
  • Stage (Picklist)

12.5

Step 6: If you click on Relationships, you’ll see all the objects Opportunity is related too.

12.6

Step 7: We’ll Join Account Id now and add additional Account attributes like –

  • Account Name (String)
  • Account Phone (Phone)
  • Account Type (Picklist)
  • Account Description (Text Area)

12.7

Step 8: We’ll go back to the Opportunity and add the Owner Information, by Clicking JOIN OwnerID. We’ll select some attributes on Owner like

  • About Me (TextArea)
  • Company Name (String)
  • First Name (String)
  • Full Name (String)
  • Last Name (String)

12.8

You can look at the JSON of the schema by clicking on </> on the top left

12.9

Step 9: Click Create Dataset placed on the top right of the screen. Enter the Dataset Name

12.10

You’ll get a Message and Click Yes

12.11

Step 10: Select the Dataflow View. If the Job hasn’t started, drop down on the User (Right section of the screen) and Click Start

12.12

You’ll see the process running. Give it a couple of minutes and you’ll see a success message.

12.13

Step 11: If you expand the job, you can actually see how many rows were processed per object.

12.15

Step 12: Alternatively you can always schedule this job to Run every 24 hours.Click on the Running User (Same menu where you clicked on Start in Step 10) Schedule and set a time.

12.14

Step 13: Now if you click on Home -> Datasets, you’ll see the dataset we just created.

12.16

Step 14: Now if you see the grouping attributes, it contains the same set of fields we selected on Account, Opportunity and User objects

12.17

With this use case and setup on WAVE, we can have Analytics run on our Salesforce Data which more or less is more dynamic moving data as compared to uploading a CSV or JSON Data.


3 thoughts on “Salesforce WAVE – Using Salesforce Data in WAVE

Leave a comment