SlideShare a Scribd company logo
Catch the Wave
Salesforce Analytics Cloud - Explained
Carl Brundage
• Brown Belt Analytics
Cloud Accredited
• 6x Salesforce Certified
– Developer
– Sales & Service Consultant
– Admin & Adv. Admin
– Pardot Consultant
• B.S. Comp. Eng. & MBA
– Lehigh University
• PMP Certified
• Has rowed over 3.6
million meters
Cloud Evangelist
Carl Brundage
2
@carlbrundage
Agenda
• Introduction to the Cloud
– Terminology & Setup
• Loading Data
– Datasets & Data flows
• Exploring Data
– Lenses
• Sharing Data
– Dashboards
• Advanced Topics
– SAQL, Security, Mobile
3
Wave (Platform)
– Search based technology
– Columnar, schema-free
non-relational database
– Key-value pairs
– Inverted Index
Analytics Cloud (Product)
– Cloud based
– Mobile first
– Self-service
Wave vs. Analytics Cloud
Platform vs. Product
4
Architecture
Salesforce with the Analytics Cloud
5
Analytics Cloud Key Concepts
Explore
– Ask questions across CRM, ERP, Excel, IoT, etc.
Collaborate
– Have discussions & answers in one place
Cloud
– Up and running quickly with enormous scale
Mobile
– Access it all on the go, in the palm of your hand
Four Areas
6
Analytics Cloud
- Explore with lenses &
dashboards
- Salesforce & external
data
- Data updated on
schedule
Salesforce Reporting
- Analyze with reports &
dashboards
- Salesforce data only
- Real-time data
Analytics Cloud vs. Salesforce Reporting
What’s the difference
7
Analytics Cloud Components
How it works
Dataset Lens Dashboard
App
Dynamic Schema
 Key-value pair store supports any type of data:
structured or semi-structured
Scalable
 Store & query datasets in parallel to increase analytics
data set – up to billions of rows
Search-based Technology
 Mash-up (data blend) across Datasets for cross-silo
Insights
Dataset
A dataset is a specific view into a data source based on how you’ve
customized it. It could be based on a data pipeline or from an ETL vendor.
9
Lens
Exploring a dataset involves four fundamental operations.
Measure
the value of
opportunities
Group
(Dimension)
by owner
Filter
closing this
month
View
in a bar chart
A lens is a particular view into a dataset’s data where you do visualization
and exploratory analysis.
Dashboard
Selectors
Chart Widgets
Compare
Table Widget
Link to
related lens
or dashboard
Number
Widget
A dashboard is an interactive collection of widgets showing different
snapshots from one or more lenses to tell a story from different angles.
Analytics Cloud Access
• Platform License
• Permission Set License
• Permissions
12
Enabling Analytics Cloud
Platform License
13
Max 400 users, 50 concurrent queries and 250 million registered rows per
platform licenses. Buy multiple platform licenses to increase limits.
User Access
Explorer vs. Builder
Explore Data With Lenses
Explore Data with
Dashboards
Save Lenses
Upload External CSV
Data
Analytics Cloud Explorer
Create Analytics Cloud Apps
Save Lenses
Create and Edit Dashboards
Edit and Execute Dataflows
Manage Analytics Cloud
Upload External Data
Analytics Cloud Builder
Each user requires a license to use Analytics Cloud. The license type
determines what permissions can be assigned
Permission Set License
Assign Analytics Cloud Permission Set on top of
the following user licenses:
• Salesforce Platform
• Salesforce Platform One
• Force.com - App Subscription
• Force.com - One App
• Full CRM
Permissions
• Grant specific permissions within Analytics Cloud
16
Analytics Cloud Demo
https://youtu.be/_g2SR2cARbM
(demo starts around 11:10)
17
Analytics Cloud Home Page
Access through
Force.com app
menu
All items you have
access to shown
by default.
Browse items by
type.
Open items
appear in tabs.
Start typing to
search.
Loading Data
Datasets & Data flows
19
Data Integration
Salesforce Data, CSV Upload UI, External Data APIs
What is a Dataflow?
Extraction, Transformation, Loading
• A dataflow definition file is a JSON file that contains
transformations that represent the dataflow logic.
• To start running the dataflow on the schedule, manually start the
dataflow first. After the first job runs, the dataflow job runs on the
daily schedule.
• The dataflow runs on a daily schedule to capture the latest
changes to Salesforce data and changes in the dataflow logic.
• Each dataset has a single node name that you can designate
within your JSON
Simple Transformations
edgemart – extracts data from an existing,
registered dataset
- use to integrate data from an external source
sfdcDigest – generate a dataset based on data
extract from Salesforce object
sfdcRegister – makes a data set available for use
within Analytics cloud
- intermediate datasets only in dataflows
Accessing and Registering Data
Cannot extract data from fields
with the following field types:
• address
• base64
• calculated
• DataCategoryGroupReference
• encryptedstring
• location
• masterrecord
• textarea
Including such fields will result in
the dataflow ignoring the field.
sfdcDigest Transformation
Data Transformations
• Single-Column Key:
"left_key": [ " AccountID"
],"right_key": [ " ID" ]
• Composite Key:
"left_key": [ " AcctID,
QuotaID " ],"right_key":
[ " Account_ID,
Quota_ID " ]
augment Transformation
Join two datasets to create a new one
25
Dataflow Design
The Sales Team would like a Dataset that could show Won Opportunities
• Support data from Salesforce exposed in Bulk
API
What is the Data Monitor?
• From the Jobs View, you can view the System
Jobs that have run, such as CSV Uploads or any
job that uses the REST API to upload data into
the Analytics Cloud.
Monitor data loads
Click the Dataflow View dropdown and then click Jobs View to have
access to the System Jobs.
NOTE: To access the System Jobs, you must click refresh
External Data Upload
• The UI allows the ability to override currently
existing datasets with a CSV and Schema.
• Alternatively, you can create your own Dataset
from scratch using a CSV and Schema
Loading a CSV file
External Data API
• The REST API allows you to access the
Analytics Cloud and upload external data files
into datasets
• Third party tools to load data
– Excel Connector, Integration Platforms (Informatica
Rev, Dell Boomi, etc.)
Data from the outside world
For more information on the External Data API, see the “Analytics Cloud
External Data API Developer’s Guide”
Excel Connector
• Easily create data sets from within Excel
• Available in the Office Store
Use of the API
30
Exploring Data
Lenses
31
Data Exploration Concepts
• Commonly a chart or a graph, such as a bar
chart, pie chart, timeline, or heatmap.
• It can also be data in tabular form, such as a
comparison table or pivot table.
• The UI designs a query for you based on the
options you pick within the UI.
Visualization
Explore Your Data
• Group
• Filter
• Change Sort Order
• Change the Chart Type
• Change the Measure
• Change the Chart Scale
• Step back and forward through previous changes using
the History View
• Reset your Lens to start from scratch
• Apply Groupings and Filters using the Copy/Paste
functions
UI Actions
Views can emphasize:
– Graphic Comparisons
– Change over time
– Significant data points
within a calendar timeframe
– Parallel data points over
time
– Data distribution on a grid
– Data concentrations on a
grid
– Data comparisons on two
axis
Which visualization should you use?
Depends on what story you want to tell
Saving Lenses
• Use Save to keep a copy of your lens (Cloud)
– Also able to delete
• Clip the lens to a dashboard for use (Camera)
– New dashboard created or added to most recently used
Sharing Data
Dashboards
36
Building Dashboards
• Who is the audience
• What does the audience need to measure?
• How often do they need to update their
knowledge?
Plan your dashboard
• Prioritize widgets from top left to bottom right
• Don’t overload the dashboard. Leave some space
• Choose chart types based on data characteristics
Building Dashboards
Sketch your dashboard
Building Dashboards
Dashboard Builder
39
Building Dashboards
Keyboard Shortcuts
Keyboard Shortcut Description
x Delete selected item from the
canvas
Arrow keys Move the selected item around
[ Put selected item beneath other
items
] Put selected item on top of other
items
Z – index is only available with the above shortcuts
Advanced Topics
XMD, SAQL, Security, Mobile
41
XMD
• Customize dataset elements
– The formatting of measures
– Display labels for dimensions and measures
– The grouping of dimensions of measures
– Colors of specific fields
– Default columns to be displayed for a values table
– The hiding of dimensions and measures in the user
interface
– Dimensions for creating custom links from lenses and
dashboards to records in Salesforce and external
websites
Extended Metadata
XMD Example
{"labels" : {
"dimensions" : { "StageName" : "Stage"},
"measures" : {"Probability" : "Probability (%)",
"Amount“ : "Amount"},
"keys": {"ForecastCategoryName": {
"Closed": "Closed Won", "Omitted": "Closed Lost" }}},
"colors": {"ForecastCategoryName": {
"Closed": "#4f4", "Omitted": "#f44"}},
"hide_measures": ["Account.NumberOfEmployees"],
"formats" : {"measures" : {
"Probability" : [ "##0%", 1 ],
"Amount" : [ "$#,##0.00", 1 ]}}}
Change Labels, Change the Color, Hide Measure and Format Measures
43
SAQL
• Influenced by Pig Latin language
• Used to perform advanced operations in
dashboards
– Load
– Filter
– Group
– Foreach
– Union
– Order
– Limit
– Offset
Salesforce Analytics Query Language
SAQL Example
q = load "Cases"; -- load a dataset
q = filter q by Support_Case_Owner_Group in
({{selection(Support_Case_Owner_Group_2)}});
-- filter the data by a dashboard seletion
q = group q by ('Created_Date_Year',
'Created_Date_Month'); -- summarize by period
q = foreach q generate 'Created_Date_Year' + "~~~" +
'Created_Date_Month' as ‘Year-Month’,
avg('Customer_Satisfaction_m') - 8.5 as
'variance_CSAT_KPI', count() as 'count';
-- compute the Customer Satisfaction variance from KPI
Computing KPI variance
Security
Overview
Security
App Level Sharing & Row Level Security
• If a user has data set access they get all rows
• Implement row level security to control
– Define a predicate to apply to the row
– Owner == ”$User.Name”
Mobile
• Separate layouts for mobile, as desktop is pixel
based
• Grid based system
– iPad = 4 columns portrait, 6 landscape
– iPhone = 1 column portrait, 2 landscape
• Use colspan and rowspan
• Specify multiple pages – page 0, page 1, etc.
– Swipe to see more
• Will be replaced with better tools to come
48
Useful Links
• JSON Online Editor
– Chrome extension
• Lens Page to Create/Edit JSON
– https://<instance>.salesforce.com/analytics/wave/web
/lens.apexp
• SAQL Tester
– Bookmarklet to run & debug SAQL statements
• XMD Editor
– Edit XMD or upload a new file
– See Appendix for Bookmarklet code
Additional Resources
• Analytics Library
– Landing page with all of the Analytics Cloud docs
– Setup
– Integration
– Exploring & Sharing Data
– Mobile
– Wave REST API Developers Guide
• http://blog.canntechnology.com
– Articles I have written, including loading data with the
Excel connector
Q&A
Thanks for your participation
51
XMD Editor
Appendix
• Create bookmark with the following:
• Go to a dataset you want to updated the XMD and click the bookmark
• Edit the text or upload a file & click Submit Updated XMD. Section closes on successful save
javascript:(function(){function getServerSid(){var server=window.location.href.replace(/https?:///,"").split("/")[0];var
sid=document.cookie.match(/(^|;s*)sid=(.+?);/)[2];return[server,sid]}secure_sfdc_header_prep=function(sid){return function
secureSFDCHeaderPrep(xhr){xhr.setRequestHeader("Authorization","OAuth "+sid)}};var is_iframe=false;var
exp_iframes=["explore","exploreFrame"];var exp_iframe="explore";var my_window=window;for(i in
exp_iframes){if(document.getElementById(exp_iframes[i])){is_iframe=true;my_window=document.getElementById(exp_iframes[i]).c
ontentWindow;exp_iframe=exp_iframes[i];break}}var div=document.createElement("div");var
div2=document.createElement("div");var inp=document.createElement("textarea");var btn=document.createElement("button");var
btn2=document.createElement("button");var btn3=document.createElement("button");var
inp_file=document.createElement("input");inp_file.setAttribute("type","file");div.appendChild(inp);div.appendChild(inp_file);div.appe
ndChild(btn);div.appendChild(btn2);div.appendChild(btn3);div.appendChild(div2);div2.setAttribute("id","json-
input");inp.setAttribute("rows","10");inp.setAttribute("cols","80");btn.innerText="Close";btn2.innerText="Get Full
XMD";btn3.innerText="Submit Updated XMD";function
closeMe(){div.parentNode.removeChild(div)}btn.onclick=closeMe;btn2.onclick=getFullXMD;btn3.onclick=postData;if(document.bod
y.firstChild)document.body.insertBefore(div,document.body.firstChild);else document.body.appendChild(div);var
em_values=my_window.edgeChrome.tabManager.getActiveTab().viz.getFullState().edgemart.split("/");var
location=window.location.protocol+"//"+window.location.hostname+"/insights/internal_api/v1.0/esObject/edgemart/"+em_values[0]+
"/version/"+em_values[1]+"/file/user.xmd.json";var
sys_location=window.location.protocol+"//"+window.location.hostname+"/insights/internal_api/v1.0/esObject/edgemart/"+em_value
s[0]+"/version/"+em_values[1]+"/file/main.xmd.json";var
sid=getServerSid()[1];$.ajax({type:"GET",url:location,beforeSend:secure_sfdc_header_prep(sid),error:function(err){console.error("G
ot error:",err)},success:function(data){inp.value=JSON.stringify(JSON.parse(data),null,2)}});function
getFullXMD(){$.ajax({type:"GET",url:sys_location,beforeSend:secure_sfdc_header_prep(sid),error:function(err){console.error("Got
error:",err)},success:function(data){inp.value=JSON.stringify(JSON.parse(data),null,2)}})}$(inp_file).change(function(){inp.value=""})
;function postData(){var fd=new FormData;if(inp.value){var blob=new
Blob([inp.value],{type:"application/json"});fd.append("user.xmd.json",blob,"user.xmd.json")}else{fd.append("user.xmd.json",inp_file.fi
les[0],"user.xmd.json")}$.ajax({type:"POST",url:location,data:fd,processData:false,contentType:false,beforeSend:secure_sfdc_head
er_prep(sid),error:function(err){console.error("Got error:",err)},success:function(data){closeMe()}})}})();

More Related Content

PDF
Viva Connections from Microsoft
PPTX
IoT with Salesforce - India Dreamin Presentation
PPTX
Salesforce Tableau CRM - Quick Overview
PDF
Salesforce crm and its cloud services ppt converted
PDF
Understanding the Salesforce Architecture: How We Do the Magic We Do
PDF
Pitch Deck Teardown: Fibery's $5.2M Series A deck
PDF
A complete Salesforce implementation guide on how to implement Salesforce
PDF
SharePoint Tutorial and SharePoint Training - Introduction
Viva Connections from Microsoft
IoT with Salesforce - India Dreamin Presentation
Salesforce Tableau CRM - Quick Overview
Salesforce crm and its cloud services ppt converted
Understanding the Salesforce Architecture: How We Do the Magic We Do
Pitch Deck Teardown: Fibery's $5.2M Series A deck
A complete Salesforce implementation guide on how to implement Salesforce
SharePoint Tutorial and SharePoint Training - Introduction

What's hot (20)

PPT
Salesforce Presentation
PPTX
Salesforce Proposal to 3M
DOCX
07. Analytics & Reporting Requirements Template
PPT
Salesforce Integration
PDF
Salesforce overview
PPTX
Einstein Bots
PPTX
Vivafy your SharePoint intranet in Microsoft Teams with Viva Connections
PPTX
Getting Started with Google Analytics 4
PPTX
Einstein Analytics
PPTX
Enabling Sharing & Collaboration in OneDrive & SharePoint
PDF
Demo Environment Best Practices (Salesforce Partners)
PDF
Utilizing SharePoint for Project Management
PDF
15 Tips on Salesforce Data Migration - Naveen Gabrani & Jonathan Osgood
PPTX
How to categorise 100K search queries in 15 minutes - MeasureFest
PDF
The ABCs of Treating Data as Product
PPTX
TechEvent Databricks on Azure
PPTX
SAP and Salesforce Integration
PDF
Strategic imperative the enterprise data model
PDF
Understand the SharePoint Basics
PPTX
SEO Strategy: Where The F**K Do I Even Start? - Brighton SEO April 2022
Salesforce Presentation
Salesforce Proposal to 3M
07. Analytics & Reporting Requirements Template
Salesforce Integration
Salesforce overview
Einstein Bots
Vivafy your SharePoint intranet in Microsoft Teams with Viva Connections
Getting Started with Google Analytics 4
Einstein Analytics
Enabling Sharing & Collaboration in OneDrive & SharePoint
Demo Environment Best Practices (Salesforce Partners)
Utilizing SharePoint for Project Management
15 Tips on Salesforce Data Migration - Naveen Gabrani & Jonathan Osgood
How to categorise 100K search queries in 15 minutes - MeasureFest
The ABCs of Treating Data as Product
TechEvent Databricks on Azure
SAP and Salesforce Integration
Strategic imperative the enterprise data model
Understand the SharePoint Basics
SEO Strategy: Where The F**K Do I Even Start? - Brighton SEO April 2022
Ad

Viewers also liked (17)

PDF
Build System Performance Data Analytics Using Wave
PDF
Ebook- Introducing Wave Analytics Cloud
PDF
Sales Wave Apps - Partner Training
PDF
Amplifying the Wave: Analytics Tips and Tricks
PDF
Get a Richer View of Customers with Wave, the Salesforce Analytics Cloud
PPTX
Salesforce com-architecture
PPTX
March SaaSness - Trailhead
PDF
Quickly Create Data Sets for the Analytics Cloud
PPTX
5 Ways to Make Waves with Informatica and Salesforce Analytics
PPTX
Simple ways to prevent the flu
PPTX
Twobros stepbystep
PPTX
Front Page Screenshot process
PPTX
Q6. What have you learnt about technologies from the process of constructing ...
PPTX
Screenshot analysis
PPSX
My Role In Industry as Process Engineer
PDF
40 stories
Build System Performance Data Analytics Using Wave
Ebook- Introducing Wave Analytics Cloud
Sales Wave Apps - Partner Training
Amplifying the Wave: Analytics Tips and Tricks
Get a Richer View of Customers with Wave, the Salesforce Analytics Cloud
Salesforce com-architecture
March SaaSness - Trailhead
Quickly Create Data Sets for the Analytics Cloud
5 Ways to Make Waves with Informatica and Salesforce Analytics
Simple ways to prevent the flu
Twobros stepbystep
Front Page Screenshot process
Q6. What have you learnt about technologies from the process of constructing ...
Screenshot analysis
My Role In Industry as Process Engineer
40 stories
Ad

Similar to Salesforce Analytics Cloud - Explained (20)

PPTX
Introduction to Analytics Cloud
PPTX
Introduction to analytics cloud salesforce saturday
PDF
Toronto dev group mar2019
PPTX
Integrating with Einstein Analytics
PPT
Meet the Product Managers
PPTX
#ImpactSalesforceSaturday: All about Data Preparation
PPTX
Making Better Decisions Through Data - H/IMA
PDF
Découverte d'Einstein Analytics (Tableau CRM)
PPTX
Discover deep insights with Salesforce Einstein Analytics and Discovery
PDF
Top 3 Capabilities Of Salesforce Analytics Cloud
PDF
ABC of Einstein Analytics
PDF
The Need for Speed: Building Reports That Fly
PPTX
Data Analytics & Visualization (Introduction)
PPT
Building Reports That Fly
PDF
Trends in analytics - Feb 2019
PPTX
Success Services - Driving business metrics
PDF
Building einstein analytics apps uk-compressed
PDF
visualizing-data-and-building-reports-oracle-analytics-cloud.pdf
PDF
Harness the power of data
PDF
Data hero dream ole19
Introduction to Analytics Cloud
Introduction to analytics cloud salesforce saturday
Toronto dev group mar2019
Integrating with Einstein Analytics
Meet the Product Managers
#ImpactSalesforceSaturday: All about Data Preparation
Making Better Decisions Through Data - H/IMA
Découverte d'Einstein Analytics (Tableau CRM)
Discover deep insights with Salesforce Einstein Analytics and Discovery
Top 3 Capabilities Of Salesforce Analytics Cloud
ABC of Einstein Analytics
The Need for Speed: Building Reports That Fly
Data Analytics & Visualization (Introduction)
Building Reports That Fly
Trends in analytics - Feb 2019
Success Services - Driving business metrics
Building einstein analytics apps uk-compressed
visualizing-data-and-building-reports-oracle-analytics-cloud.pdf
Harness the power of data
Data hero dream ole19

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Approach and Philosophy of On baking technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
Electronic commerce courselecture one. Pdf
Approach and Philosophy of On baking technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Spectral efficient network and resource selection model in 5G networks
NewMind AI Weekly Chronicles - August'25 Week I
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
cuic standard and advanced reporting.pdf
NewMind AI Monthly Chronicles - July 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Review of recent advances in non-invasive hemoglobin estimation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars

Salesforce Analytics Cloud - Explained

  • 1. Catch the Wave Salesforce Analytics Cloud - Explained Carl Brundage
  • 2. • Brown Belt Analytics Cloud Accredited • 6x Salesforce Certified – Developer – Sales & Service Consultant – Admin & Adv. Admin – Pardot Consultant • B.S. Comp. Eng. & MBA – Lehigh University • PMP Certified • Has rowed over 3.6 million meters Cloud Evangelist Carl Brundage 2 @carlbrundage
  • 3. Agenda • Introduction to the Cloud – Terminology & Setup • Loading Data – Datasets & Data flows • Exploring Data – Lenses • Sharing Data – Dashboards • Advanced Topics – SAQL, Security, Mobile 3
  • 4. Wave (Platform) – Search based technology – Columnar, schema-free non-relational database – Key-value pairs – Inverted Index Analytics Cloud (Product) – Cloud based – Mobile first – Self-service Wave vs. Analytics Cloud Platform vs. Product 4
  • 6. Analytics Cloud Key Concepts Explore – Ask questions across CRM, ERP, Excel, IoT, etc. Collaborate – Have discussions & answers in one place Cloud – Up and running quickly with enormous scale Mobile – Access it all on the go, in the palm of your hand Four Areas 6
  • 7. Analytics Cloud - Explore with lenses & dashboards - Salesforce & external data - Data updated on schedule Salesforce Reporting - Analyze with reports & dashboards - Salesforce data only - Real-time data Analytics Cloud vs. Salesforce Reporting What’s the difference 7
  • 8. Analytics Cloud Components How it works Dataset Lens Dashboard App
  • 9. Dynamic Schema  Key-value pair store supports any type of data: structured or semi-structured Scalable  Store & query datasets in parallel to increase analytics data set – up to billions of rows Search-based Technology  Mash-up (data blend) across Datasets for cross-silo Insights Dataset A dataset is a specific view into a data source based on how you’ve customized it. It could be based on a data pipeline or from an ETL vendor. 9
  • 10. Lens Exploring a dataset involves four fundamental operations. Measure the value of opportunities Group (Dimension) by owner Filter closing this month View in a bar chart A lens is a particular view into a dataset’s data where you do visualization and exploratory analysis.
  • 11. Dashboard Selectors Chart Widgets Compare Table Widget Link to related lens or dashboard Number Widget A dashboard is an interactive collection of widgets showing different snapshots from one or more lenses to tell a story from different angles.
  • 12. Analytics Cloud Access • Platform License • Permission Set License • Permissions 12
  • 13. Enabling Analytics Cloud Platform License 13 Max 400 users, 50 concurrent queries and 250 million registered rows per platform licenses. Buy multiple platform licenses to increase limits.
  • 14. User Access Explorer vs. Builder Explore Data With Lenses Explore Data with Dashboards Save Lenses Upload External CSV Data Analytics Cloud Explorer Create Analytics Cloud Apps Save Lenses Create and Edit Dashboards Edit and Execute Dataflows Manage Analytics Cloud Upload External Data Analytics Cloud Builder Each user requires a license to use Analytics Cloud. The license type determines what permissions can be assigned
  • 15. Permission Set License Assign Analytics Cloud Permission Set on top of the following user licenses: • Salesforce Platform • Salesforce Platform One • Force.com - App Subscription • Force.com - One App • Full CRM
  • 16. Permissions • Grant specific permissions within Analytics Cloud 16
  • 18. Analytics Cloud Home Page Access through Force.com app menu All items you have access to shown by default. Browse items by type. Open items appear in tabs. Start typing to search.
  • 19. Loading Data Datasets & Data flows 19
  • 20. Data Integration Salesforce Data, CSV Upload UI, External Data APIs
  • 21. What is a Dataflow? Extraction, Transformation, Loading • A dataflow definition file is a JSON file that contains transformations that represent the dataflow logic. • To start running the dataflow on the schedule, manually start the dataflow first. After the first job runs, the dataflow job runs on the daily schedule. • The dataflow runs on a daily schedule to capture the latest changes to Salesforce data and changes in the dataflow logic. • Each dataset has a single node name that you can designate within your JSON
  • 22. Simple Transformations edgemart – extracts data from an existing, registered dataset - use to integrate data from an external source sfdcDigest – generate a dataset based on data extract from Salesforce object sfdcRegister – makes a data set available for use within Analytics cloud - intermediate datasets only in dataflows Accessing and Registering Data
  • 23. Cannot extract data from fields with the following field types: • address • base64 • calculated • DataCategoryGroupReference • encryptedstring • location • masterrecord • textarea Including such fields will result in the dataflow ignoring the field. sfdcDigest Transformation
  • 25. • Single-Column Key: "left_key": [ " AccountID" ],"right_key": [ " ID" ] • Composite Key: "left_key": [ " AcctID, QuotaID " ],"right_key": [ " Account_ID, Quota_ID " ] augment Transformation Join two datasets to create a new one 25
  • 26. Dataflow Design The Sales Team would like a Dataset that could show Won Opportunities • Support data from Salesforce exposed in Bulk API
  • 27. What is the Data Monitor? • From the Jobs View, you can view the System Jobs that have run, such as CSV Uploads or any job that uses the REST API to upload data into the Analytics Cloud. Monitor data loads Click the Dataflow View dropdown and then click Jobs View to have access to the System Jobs. NOTE: To access the System Jobs, you must click refresh
  • 28. External Data Upload • The UI allows the ability to override currently existing datasets with a CSV and Schema. • Alternatively, you can create your own Dataset from scratch using a CSV and Schema Loading a CSV file
  • 29. External Data API • The REST API allows you to access the Analytics Cloud and upload external data files into datasets • Third party tools to load data – Excel Connector, Integration Platforms (Informatica Rev, Dell Boomi, etc.) Data from the outside world For more information on the External Data API, see the “Analytics Cloud External Data API Developer’s Guide”
  • 30. Excel Connector • Easily create data sets from within Excel • Available in the Office Store Use of the API 30
  • 32. Data Exploration Concepts • Commonly a chart or a graph, such as a bar chart, pie chart, timeline, or heatmap. • It can also be data in tabular form, such as a comparison table or pivot table. • The UI designs a query for you based on the options you pick within the UI. Visualization
  • 33. Explore Your Data • Group • Filter • Change Sort Order • Change the Chart Type • Change the Measure • Change the Chart Scale • Step back and forward through previous changes using the History View • Reset your Lens to start from scratch • Apply Groupings and Filters using the Copy/Paste functions UI Actions
  • 34. Views can emphasize: – Graphic Comparisons – Change over time – Significant data points within a calendar timeframe – Parallel data points over time – Data distribution on a grid – Data concentrations on a grid – Data comparisons on two axis Which visualization should you use? Depends on what story you want to tell
  • 35. Saving Lenses • Use Save to keep a copy of your lens (Cloud) – Also able to delete • Clip the lens to a dashboard for use (Camera) – New dashboard created or added to most recently used
  • 37. Building Dashboards • Who is the audience • What does the audience need to measure? • How often do they need to update their knowledge? Plan your dashboard
  • 38. • Prioritize widgets from top left to bottom right • Don’t overload the dashboard. Leave some space • Choose chart types based on data characteristics Building Dashboards Sketch your dashboard
  • 40. Building Dashboards Keyboard Shortcuts Keyboard Shortcut Description x Delete selected item from the canvas Arrow keys Move the selected item around [ Put selected item beneath other items ] Put selected item on top of other items Z – index is only available with the above shortcuts
  • 41. Advanced Topics XMD, SAQL, Security, Mobile 41
  • 42. XMD • Customize dataset elements – The formatting of measures – Display labels for dimensions and measures – The grouping of dimensions of measures – Colors of specific fields – Default columns to be displayed for a values table – The hiding of dimensions and measures in the user interface – Dimensions for creating custom links from lenses and dashboards to records in Salesforce and external websites Extended Metadata
  • 43. XMD Example {"labels" : { "dimensions" : { "StageName" : "Stage"}, "measures" : {"Probability" : "Probability (%)", "Amount“ : "Amount"}, "keys": {"ForecastCategoryName": { "Closed": "Closed Won", "Omitted": "Closed Lost" }}}, "colors": {"ForecastCategoryName": { "Closed": "#4f4", "Omitted": "#f44"}}, "hide_measures": ["Account.NumberOfEmployees"], "formats" : {"measures" : { "Probability" : [ "##0%", 1 ], "Amount" : [ "$#,##0.00", 1 ]}}} Change Labels, Change the Color, Hide Measure and Format Measures 43
  • 44. SAQL • Influenced by Pig Latin language • Used to perform advanced operations in dashboards – Load – Filter – Group – Foreach – Union – Order – Limit – Offset Salesforce Analytics Query Language
  • 45. SAQL Example q = load "Cases"; -- load a dataset q = filter q by Support_Case_Owner_Group in ({{selection(Support_Case_Owner_Group_2)}}); -- filter the data by a dashboard seletion q = group q by ('Created_Date_Year', 'Created_Date_Month'); -- summarize by period q = foreach q generate 'Created_Date_Year' + "~~~" + 'Created_Date_Month' as ‘Year-Month’, avg('Customer_Satisfaction_m') - 8.5 as 'variance_CSAT_KPI', count() as 'count'; -- compute the Customer Satisfaction variance from KPI Computing KPI variance
  • 47. Security App Level Sharing & Row Level Security • If a user has data set access they get all rows • Implement row level security to control – Define a predicate to apply to the row – Owner == ”$User.Name”
  • 48. Mobile • Separate layouts for mobile, as desktop is pixel based • Grid based system – iPad = 4 columns portrait, 6 landscape – iPhone = 1 column portrait, 2 landscape • Use colspan and rowspan • Specify multiple pages – page 0, page 1, etc. – Swipe to see more • Will be replaced with better tools to come 48
  • 49. Useful Links • JSON Online Editor – Chrome extension • Lens Page to Create/Edit JSON – https://<instance>.salesforce.com/analytics/wave/web /lens.apexp • SAQL Tester – Bookmarklet to run & debug SAQL statements • XMD Editor – Edit XMD or upload a new file – See Appendix for Bookmarklet code
  • 50. Additional Resources • Analytics Library – Landing page with all of the Analytics Cloud docs – Setup – Integration – Exploring & Sharing Data – Mobile – Wave REST API Developers Guide • http://blog.canntechnology.com – Articles I have written, including loading data with the Excel connector
  • 51. Q&A Thanks for your participation 51
  • 52. XMD Editor Appendix • Create bookmark with the following: • Go to a dataset you want to updated the XMD and click the bookmark • Edit the text or upload a file & click Submit Updated XMD. Section closes on successful save javascript:(function(){function getServerSid(){var server=window.location.href.replace(/https?:///,"").split("/")[0];var sid=document.cookie.match(/(^|;s*)sid=(.+?);/)[2];return[server,sid]}secure_sfdc_header_prep=function(sid){return function secureSFDCHeaderPrep(xhr){xhr.setRequestHeader("Authorization","OAuth "+sid)}};var is_iframe=false;var exp_iframes=["explore","exploreFrame"];var exp_iframe="explore";var my_window=window;for(i in exp_iframes){if(document.getElementById(exp_iframes[i])){is_iframe=true;my_window=document.getElementById(exp_iframes[i]).c ontentWindow;exp_iframe=exp_iframes[i];break}}var div=document.createElement("div");var div2=document.createElement("div");var inp=document.createElement("textarea");var btn=document.createElement("button");var btn2=document.createElement("button");var btn3=document.createElement("button");var inp_file=document.createElement("input");inp_file.setAttribute("type","file");div.appendChild(inp);div.appendChild(inp_file);div.appe ndChild(btn);div.appendChild(btn2);div.appendChild(btn3);div.appendChild(div2);div2.setAttribute("id","json- input");inp.setAttribute("rows","10");inp.setAttribute("cols","80");btn.innerText="Close";btn2.innerText="Get Full XMD";btn3.innerText="Submit Updated XMD";function closeMe(){div.parentNode.removeChild(div)}btn.onclick=closeMe;btn2.onclick=getFullXMD;btn3.onclick=postData;if(document.bod y.firstChild)document.body.insertBefore(div,document.body.firstChild);else document.body.appendChild(div);var em_values=my_window.edgeChrome.tabManager.getActiveTab().viz.getFullState().edgemart.split("/");var location=window.location.protocol+"//"+window.location.hostname+"/insights/internal_api/v1.0/esObject/edgemart/"+em_values[0]+ "/version/"+em_values[1]+"/file/user.xmd.json";var sys_location=window.location.protocol+"//"+window.location.hostname+"/insights/internal_api/v1.0/esObject/edgemart/"+em_value s[0]+"/version/"+em_values[1]+"/file/main.xmd.json";var sid=getServerSid()[1];$.ajax({type:"GET",url:location,beforeSend:secure_sfdc_header_prep(sid),error:function(err){console.error("G ot error:",err)},success:function(data){inp.value=JSON.stringify(JSON.parse(data),null,2)}});function getFullXMD(){$.ajax({type:"GET",url:sys_location,beforeSend:secure_sfdc_header_prep(sid),error:function(err){console.error("Got error:",err)},success:function(data){inp.value=JSON.stringify(JSON.parse(data),null,2)}})}$(inp_file).change(function(){inp.value=""}) ;function postData(){var fd=new FormData;if(inp.value){var blob=new Blob([inp.value],{type:"application/json"});fd.append("user.xmd.json",blob,"user.xmd.json")}else{fd.append("user.xmd.json",inp_file.fi les[0],"user.xmd.json")}$.ajax({type:"POST",url:location,data:fd,processData:false,contentType:false,beforeSend:secure_sfdc_head er_prep(sid),error:function(err){console.error("Got error:",err)},success:function(data){closeMe()}})}})();