SlideShare a Scribd company logo
1 of 13
Download to read offline
Tutorial
Integrate Tableau Software
with Salesforce
Topic 3: Embed tableau dashboard in Salesforce object
TUTORIAL
Author: Mathieu Emanuelli
Tutorial
CONTENT
INTRODUCTION .................................................................................................................................3
About tableau.........................................................................................................................................3
Benefits/Value Delivered........................................................................................................................3
IN TABLEAU .......................................................................................................................................3
Pre requisites..........................................................................................................................................3
Create calculated field based on ID........................................................................................................3
Create a dashboard action .....................................................................................................................5
Publish your dashboard..........................................................................................................................6
Get the link .............................................................................................................................................7
IN SALESFORCE ..................................................................................................................................7
Create Visualforce page .........................................................................................................................7
Create a custom section on the object ...................................................................................................8
Create a Visualforce section ...................................................................................................................9
Result....................................................................................................................................................10
REFERENCE ......................................................................................................................................11
CONTACTS .......................................................................................................................................11
2
Tutorial
Executive Summary
A transaction process system (TPS) is an information processing system for business transactions involving the
collection, modification and retrieval of all transaction data. Business Intelligence is a concept that usually involves
the delivery and the integration of relevant and useful business information across an organization. It is therefore
natural to imagine how these two concepts could live together within an organization.
I used to work with several TPS with a preference for a packaged solution that genuinely – naturally provided a
combination of CRM capabilities and business intelligence capabilities. This product, released on the market by
Oracle came after its acquisition of Siebel. Oracle decided to propose a powerful package composed of CRM
product (leveraging Siebel strong industry knowledge), an ETL and one of their business intelligence solutions
already customized to provide the highest value to its customers (Oracle Business Answer). Cherry on the cake this
package was and is (still) a cloud-based solution!
After numerous Oracle CRM on Demand implementations, I understood how significant the value of business
Intelligence combined with a TPS is to many companies. I was lucky to see Salesforce growing up and I was, from
the very beginning, impressed by the positioning of this vendor on IT markets. Indeed, Salesforce may provide the
most advanced – CRM traditional “modules” (Sales, Service and Marketing). On top, they are built on such a
powerful platform that I do not think it exists, in all in 1 solution, an equivalent in any other vendor portfolio.
Salesforce allows companies to create their own TPS without worrying about hardware or infrastructure.
Because business intelligence solutions should get the ability to connect several data sources and should provide
great data visualization and because I am a big fan of cloud solutions I started to look into solutions that might be
integrated with Salesforce. I tried some connectors such as Qlikview for Salesforce (here) and I had the opportunity
to use Tableau. I have done several configurations to see how far this integration might go and I decided to share
my experience in a couple of tutorials.
The tutorial you are reading aims to demonstrate capabilities that can be covered by the integration of Tableau
and Salesforce.
3
Tutorial
INTRODUCTION
ABOUT TABLEAU
Tableau is a business intelligence software that allows anyone to easily connect to data, then visualize and create
interactive, shareable dashboards.
Gartner named Tableau a leader in its Business Intelligence Magic Quadrant report for the fourth straight year. As
the gold standard for business intelligence, Tableau is a leader in empowering the entire enterprise with modern
analytics.
BENEFITS/VALUE DELIVERED
Benefits to get tableau connected to Salesforce will allow customers to leverage the power of a solution allowing
to leverage a package transactional solution (Sales, service, and marketing) or our own transactional solution in the
Cloud and an incredible way to visualize and play with data.
Customers can deploy a cost effective Business Intelligence solution that will improve the way your organization
uses information, collaborates and makes decisions.
IN TABLEAU
PRE REQUISITES
Before you begin you need:
 Access to Tableau. Download Tableau desktop
 Access to Salesforce with enough rights. Then keep your username and password
 Data Integration between tableau and Salesforce already done (Whitepaper – topic 1)
 Get view and dashboard to embed
CREATE CALCULATED FIELD BASED ON ID
In order to display a dynamic link we will create a calculated field in Tableau.
Select the Record ID in the available field in Tableau :
4
Tutorial
This calculated field will be the concatenation of the Salesforce Org and the ID:
5
Tutorial
Making the field available in the Marks section allow us to not display this value to have it available to filter the
dashboard.
In our example the matching ID is called “External ID” in Tableau that matching with “AIM_External_ID__c” in
Salesforce.
CREATE A DASHBOARD ACTION
Select Dashboard, Action:
6
Tutorial
In the Dashboard action select the filter you want to filter (in our case “External ID” and select the sheets that
compose the dashboard you want to apply the filter to:
PUBLISH YOUR DASHBOARD
7
Tutorial
When you created your views and dashboard you have to publish them either on Tableau server or on Tableau on
line.
To publish views and dashboard from Tableau Desktop to Tableau online:
Click on Server and then Publish Workbook:
GET THE LINK
Now the view or dashboard is publish, go on Tableau online and copy the link of your dashboard:
IN SALESFORCE
CREATE VISUALFORCE PAGE
Go to setup, Visualforce page and copy the following code:
<apex:page StandardController="AIM_Geography__c">
8
Tutorial
<apex:iframe
src="https://dub01.online.tableau.com/t/sfdctableau/views/Test_AIM/Dashboard2?:embed=y
&:showShareOptions=true&:display_count=no&:showVizHome=no&External
ID={!AIM_Geography__c.AIM_External_ID__c}&:toolbar=no"
height="100%" width="100%" scrolling="true"/>
</apex:page></apex:page>
Let me explain de code above:
1. <apex:page StandardController="AIM_Geography__c"> where AIM_Geography__c" is the
technical name of the custom object
2. <apex:iframe – apex code to create an iframe where the Tableau dashboard will appear.
3. http://tableauserver/views/workbook/dashboard - URL of the published dashboard in Tableau
server.
4. ?:embed=yes – parameter to embed the dashboard into the iframe.
5. &External ID={! AIM_Geography__c.AIM_External_ID__c } – part of the URL to filter the view.
External ID is the field we used to filter in the dashboard.
!AIM_Geography__c.AIM_External_ID__c is the ID of the custom object used in Salesforce.
6. &:toolbar=no – Parameter to hide the toolbar.
7. height="100%" width="100%" – height and width of the iframe. It is advisable to be the same as
the Tableau dashboard (unless using automatic size). It can also be define in px (1100px)
8. scrolling="true" – enables the option of having a scroll in case it does not entirely fit.
CREATE A CUSTOM SECTION ON THE OBJECT
Go to the object you want to embed the Visualforce page on and create a custom section:
Give a name and configure the section with one column:
9
Tutorial
CREATE A VISUALFORCE SECTION
To display this Visualforce page in an object section, select the object and go to Edit layout and select
“Visualforce page”:
Drag and drop the Visualforce page in the created section
10
Tutorial
RESULT
On your application you can now see the Tableau view/dashboard embedded with the content filtered
depending on the record you are browsing:
Note that you can access all functionalities of tableau through this mashup such as mouse over and
other fancy Tableau functionality:
11
Tutorial
REFERENCE
https://onlinehelp.tableau.com/current/pro/desktop/en-us/examples_salesforce.html
https://onlinehelp.tableau.com/current/pro/desktop/en-us/joining_tables.html
CONTACTS
Mathieu Emanuelli
Manager, Deloitte Digital Switzerland
memanuelli@deloitte.ch
Mobile +41 (0)79 948 69 96
Linkedin
12
Tutorial
Author: Mathieu Emanuelli
Review: Caroline Ruegg

More Related Content

What's hot

Improvement Engineering Examples
Improvement Engineering ExamplesImprovement Engineering Examples
Improvement Engineering ExamplesMarrick13
 
7 Reasons to Migrate to Salesforce Lightning Before Winter 2019
7 Reasons to Migrate to Salesforce Lightning Before Winter 20197 Reasons to Migrate to Salesforce Lightning Before Winter 2019
7 Reasons to Migrate to Salesforce Lightning Before Winter 2019Data2CRM.Migration
 
Qalcwise collaboration workspace intro unit 010 v20160126
Qalcwise collaboration workspace intro unit 010 v20160126Qalcwise collaboration workspace intro unit 010 v20160126
Qalcwise collaboration workspace intro unit 010 v20160126qalcwise
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2Amit Sharma
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Amit Sharma
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utilityAmit Sharma
 
Creating Workflows Windows Share Point Services
Creating Workflows Windows Share Point ServicesCreating Workflows Windows Share Point Services
Creating Workflows Windows Share Point ServicesLiquidHub
 

What's hot (8)

Improvement Engineering Examples
Improvement Engineering ExamplesImprovement Engineering Examples
Improvement Engineering Examples
 
7 Reasons to Migrate to Salesforce Lightning Before Winter 2019
7 Reasons to Migrate to Salesforce Lightning Before Winter 20197 Reasons to Migrate to Salesforce Lightning Before Winter 2019
7 Reasons to Migrate to Salesforce Lightning Before Winter 2019
 
Qalcwise collaboration workspace intro unit 010 v20160126
Qalcwise collaboration workspace intro unit 010 v20160126Qalcwise collaboration workspace intro unit 010 v20160126
Qalcwise collaboration workspace intro unit 010 v20160126
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
 
Chapter.08
Chapter.08Chapter.08
Chapter.08
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utility
 
Creating Workflows Windows Share Point Services
Creating Workflows Windows Share Point ServicesCreating Workflows Windows Share Point Services
Creating Workflows Windows Share Point Services
 

Viewers also liked

Tableau-Salesforce_Topic4_Dynamic Link
Tableau-Salesforce_Topic4_Dynamic LinkTableau-Salesforce_Topic4_Dynamic Link
Tableau-Salesforce_Topic4_Dynamic LinkMathieu Emanuelli
 
Sustainable lighting NTU (Philip Harfield)
Sustainable lighting NTU (Philip Harfield)Sustainable lighting NTU (Philip Harfield)
Sustainable lighting NTU (Philip Harfield)Philip Harfield
 
Changing the Game of Giving with United Way of Santa Cruz County
Changing the Game of Giving with United Way of Santa Cruz County Changing the Game of Giving with United Way of Santa Cruz County
Changing the Game of Giving with United Way of Santa Cruz County Mariah Stockman
 
Applicatierationalisatie door Masterdatamanagement
Applicatierationalisatie door MasterdatamanagementApplicatierationalisatie door Masterdatamanagement
Applicatierationalisatie door MasterdatamanagementMarc Govers
 
Ash and Lacy SA Spacer Support System 12pp Email Version
Ash and Lacy SA Spacer Support System 12pp Email VersionAsh and Lacy SA Spacer Support System 12pp Email Version
Ash and Lacy SA Spacer Support System 12pp Email VersionDion Marsh
 
ESOS Assessment Presentation
ESOS Assessment PresentationESOS Assessment Presentation
ESOS Assessment PresentationSamuel Cutler
 
4.39 te-electronics-engg
4.39 te-electronics-engg4.39 te-electronics-engg
4.39 te-electronics-enggAmit Khowala
 
Bishop_SpeedofLight_Final
Bishop_SpeedofLight_FinalBishop_SpeedofLight_Final
Bishop_SpeedofLight_FinalClayton Bishop
 
7 Ways to Socialize Your Marketing Event
7 Ways to Socialize Your Marketing Event7 Ways to Socialize Your Marketing Event
7 Ways to Socialize Your Marketing EventHeidemarie Heroldt
 
Pingblue Profile 2016
Pingblue Profile 2016Pingblue Profile 2016
Pingblue Profile 2016Shruti Sharan
 

Viewers also liked (14)

Tableau-Salesforce_Topic4_Dynamic Link
Tableau-Salesforce_Topic4_Dynamic LinkTableau-Salesforce_Topic4_Dynamic Link
Tableau-Salesforce_Topic4_Dynamic Link
 
Sustainable lighting NTU (Philip Harfield)
Sustainable lighting NTU (Philip Harfield)Sustainable lighting NTU (Philip Harfield)
Sustainable lighting NTU (Philip Harfield)
 
Changing the Game of Giving with United Way of Santa Cruz County
Changing the Game of Giving with United Way of Santa Cruz County Changing the Game of Giving with United Way of Santa Cruz County
Changing the Game of Giving with United Way of Santa Cruz County
 
Applicatierationalisatie door Masterdatamanagement
Applicatierationalisatie door MasterdatamanagementApplicatierationalisatie door Masterdatamanagement
Applicatierationalisatie door Masterdatamanagement
 
Ash and Lacy SA Spacer Support System 12pp Email Version
Ash and Lacy SA Spacer Support System 12pp Email VersionAsh and Lacy SA Spacer Support System 12pp Email Version
Ash and Lacy SA Spacer Support System 12pp Email Version
 
Morse et al 2012
Morse et al 2012Morse et al 2012
Morse et al 2012
 
ESOS Assessment Presentation
ESOS Assessment PresentationESOS Assessment Presentation
ESOS Assessment Presentation
 
MMC-Karate 2
MMC-Karate 2MMC-Karate 2
MMC-Karate 2
 
4.39 te-electronics-engg
4.39 te-electronics-engg4.39 te-electronics-engg
4.39 te-electronics-engg
 
RR_Presentation
RR_PresentationRR_Presentation
RR_Presentation
 
Bishop_SpeedofLight_Final
Bishop_SpeedofLight_FinalBishop_SpeedofLight_Final
Bishop_SpeedofLight_Final
 
7 Ways to Socialize Your Marketing Event
7 Ways to Socialize Your Marketing Event7 Ways to Socialize Your Marketing Event
7 Ways to Socialize Your Marketing Event
 
Manuael Reno_PYM
Manuael Reno_PYMManuael Reno_PYM
Manuael Reno_PYM
 
Pingblue Profile 2016
Pingblue Profile 2016Pingblue Profile 2016
Pingblue Profile 2016
 

Similar to Tableau-Salesforce_Topic3_Embed in Context

Tableau-Salesforce_Topic5_Setup SSO
Tableau-Salesforce_Topic5_Setup SSOTableau-Salesforce_Topic5_Setup SSO
Tableau-Salesforce_Topic5_Setup SSOMathieu Emanuelli
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epcEPC Group
 
Informatica PowerAnalyzer 4.0 1 of 3
Informatica PowerAnalyzer 4.0 1 of 3Informatica PowerAnalyzer 4.0 1 of 3
Informatica PowerAnalyzer 4.0 1 of 3ganblues
 
Découverte d'Einstein Analytics (Tableau CRM)
Découverte d'Einstein Analytics (Tableau CRM)Découverte d'Einstein Analytics (Tableau CRM)
Découverte d'Einstein Analytics (Tableau CRM)Doria Hamelryk
 
DMM161_2015_Exercises
DMM161_2015_ExercisesDMM161_2015_Exercises
DMM161_2015_ExercisesLuc Vanrobays
 
sap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfsap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfJagadishBabuParri
 
sap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfsap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfJagadish Babu
 
Sap successfactors tutorial
Sap successfactors tutorialSap successfactors tutorial
Sap successfactors tutorialMichele Jardim
 
How to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauHow to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauEdureka!
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iAmit Sharma
 
Tableau interview questions www.bigclasses.com
Tableau interview questions www.bigclasses.comTableau interview questions www.bigclasses.com
Tableau interview questions www.bigclasses.combigclasses.com
 
Top tableau questions and answers in 2019
Top tableau questions and answers in 2019Top tableau questions and answers in 2019
Top tableau questions and answers in 2019minatibiswal1
 
Unlock your data analytics with tableau
Unlock your data analytics with tableauUnlock your data analytics with tableau
Unlock your data analytics with tableauKadharBashaJ
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentalsAmit Sharma
 
Automate end user guide with Salesforce
Automate end user guide with SalesforceAutomate end user guide with Salesforce
Automate end user guide with SalesforceMathieu Emanuelli
 
Machine learning in the enterprise
Machine learning in the enterpriseMachine learning in the enterprise
Machine learning in the enterpriseJesus Rodriguez
 
Balsamiq mockups tutorial
Balsamiq mockups tutorialBalsamiq mockups tutorial
Balsamiq mockups tutorialHarikaReddy115
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantSatyabratarath5
 

Similar to Tableau-Salesforce_Topic3_Embed in Context (20)

Tableau-Salesforce_Topic5_Setup SSO
Tableau-Salesforce_Topic5_Setup SSOTableau-Salesforce_Topic5_Setup SSO
Tableau-Salesforce_Topic5_Setup SSO
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Informatica PowerAnalyzer 4.0 1 of 3
Informatica PowerAnalyzer 4.0 1 of 3Informatica PowerAnalyzer 4.0 1 of 3
Informatica PowerAnalyzer 4.0 1 of 3
 
Découverte d'Einstein Analytics (Tableau CRM)
Découverte d'Einstein Analytics (Tableau CRM)Découverte d'Einstein Analytics (Tableau CRM)
Découverte d'Einstein Analytics (Tableau CRM)
 
ERD-Salesforce
ERD-SalesforceERD-Salesforce
ERD-Salesforce
 
DMM161_2015_Exercises
DMM161_2015_ExercisesDMM161_2015_Exercises
DMM161_2015_Exercises
 
sap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfsap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdf
 
sap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdfsap_cloud_platform_tutorial.pdf
sap_cloud_platform_tutorial.pdf
 
Sap successfactors tutorial
Sap successfactors tutorialSap successfactors tutorial
Sap successfactors tutorial
 
How to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauHow to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in Tableau
 
Sap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-iSap business-object-universe-idt-lab-i
Sap business-object-universe-idt-lab-i
 
Tableau interview questions www.bigclasses.com
Tableau interview questions www.bigclasses.comTableau interview questions www.bigclasses.com
Tableau interview questions www.bigclasses.com
 
Data Visualization with Tableau - by Knowledgebee Trainings
Data Visualization with Tableau - by Knowledgebee TrainingsData Visualization with Tableau - by Knowledgebee Trainings
Data Visualization with Tableau - by Knowledgebee Trainings
 
Top tableau questions and answers in 2019
Top tableau questions and answers in 2019Top tableau questions and answers in 2019
Top tableau questions and answers in 2019
 
Unlock your data analytics with tableau
Unlock your data analytics with tableauUnlock your data analytics with tableau
Unlock your data analytics with tableau
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentals
 
Automate end user guide with Salesforce
Automate end user guide with SalesforceAutomate end user guide with Salesforce
Automate end user guide with Salesforce
 
Machine learning in the enterprise
Machine learning in the enterpriseMachine learning in the enterprise
Machine learning in the enterprise
 
Balsamiq mockups tutorial
Balsamiq mockups tutorialBalsamiq mockups tutorial
Balsamiq mockups tutorial
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very important
 

Tableau-Salesforce_Topic3_Embed in Context

  • 1. Tutorial Integrate Tableau Software with Salesforce Topic 3: Embed tableau dashboard in Salesforce object TUTORIAL Author: Mathieu Emanuelli
  • 2. Tutorial CONTENT INTRODUCTION .................................................................................................................................3 About tableau.........................................................................................................................................3 Benefits/Value Delivered........................................................................................................................3 IN TABLEAU .......................................................................................................................................3 Pre requisites..........................................................................................................................................3 Create calculated field based on ID........................................................................................................3 Create a dashboard action .....................................................................................................................5 Publish your dashboard..........................................................................................................................6 Get the link .............................................................................................................................................7 IN SALESFORCE ..................................................................................................................................7 Create Visualforce page .........................................................................................................................7 Create a custom section on the object ...................................................................................................8 Create a Visualforce section ...................................................................................................................9 Result....................................................................................................................................................10 REFERENCE ......................................................................................................................................11 CONTACTS .......................................................................................................................................11
  • 3. 2 Tutorial Executive Summary A transaction process system (TPS) is an information processing system for business transactions involving the collection, modification and retrieval of all transaction data. Business Intelligence is a concept that usually involves the delivery and the integration of relevant and useful business information across an organization. It is therefore natural to imagine how these two concepts could live together within an organization. I used to work with several TPS with a preference for a packaged solution that genuinely – naturally provided a combination of CRM capabilities and business intelligence capabilities. This product, released on the market by Oracle came after its acquisition of Siebel. Oracle decided to propose a powerful package composed of CRM product (leveraging Siebel strong industry knowledge), an ETL and one of their business intelligence solutions already customized to provide the highest value to its customers (Oracle Business Answer). Cherry on the cake this package was and is (still) a cloud-based solution! After numerous Oracle CRM on Demand implementations, I understood how significant the value of business Intelligence combined with a TPS is to many companies. I was lucky to see Salesforce growing up and I was, from the very beginning, impressed by the positioning of this vendor on IT markets. Indeed, Salesforce may provide the most advanced – CRM traditional “modules” (Sales, Service and Marketing). On top, they are built on such a powerful platform that I do not think it exists, in all in 1 solution, an equivalent in any other vendor portfolio. Salesforce allows companies to create their own TPS without worrying about hardware or infrastructure. Because business intelligence solutions should get the ability to connect several data sources and should provide great data visualization and because I am a big fan of cloud solutions I started to look into solutions that might be integrated with Salesforce. I tried some connectors such as Qlikview for Salesforce (here) and I had the opportunity to use Tableau. I have done several configurations to see how far this integration might go and I decided to share my experience in a couple of tutorials. The tutorial you are reading aims to demonstrate capabilities that can be covered by the integration of Tableau and Salesforce.
  • 4. 3 Tutorial INTRODUCTION ABOUT TABLEAU Tableau is a business intelligence software that allows anyone to easily connect to data, then visualize and create interactive, shareable dashboards. Gartner named Tableau a leader in its Business Intelligence Magic Quadrant report for the fourth straight year. As the gold standard for business intelligence, Tableau is a leader in empowering the entire enterprise with modern analytics. BENEFITS/VALUE DELIVERED Benefits to get tableau connected to Salesforce will allow customers to leverage the power of a solution allowing to leverage a package transactional solution (Sales, service, and marketing) or our own transactional solution in the Cloud and an incredible way to visualize and play with data. Customers can deploy a cost effective Business Intelligence solution that will improve the way your organization uses information, collaborates and makes decisions. IN TABLEAU PRE REQUISITES Before you begin you need:  Access to Tableau. Download Tableau desktop  Access to Salesforce with enough rights. Then keep your username and password  Data Integration between tableau and Salesforce already done (Whitepaper – topic 1)  Get view and dashboard to embed CREATE CALCULATED FIELD BASED ON ID In order to display a dynamic link we will create a calculated field in Tableau. Select the Record ID in the available field in Tableau :
  • 5. 4 Tutorial This calculated field will be the concatenation of the Salesforce Org and the ID:
  • 6. 5 Tutorial Making the field available in the Marks section allow us to not display this value to have it available to filter the dashboard. In our example the matching ID is called “External ID” in Tableau that matching with “AIM_External_ID__c” in Salesforce. CREATE A DASHBOARD ACTION Select Dashboard, Action:
  • 7. 6 Tutorial In the Dashboard action select the filter you want to filter (in our case “External ID” and select the sheets that compose the dashboard you want to apply the filter to: PUBLISH YOUR DASHBOARD
  • 8. 7 Tutorial When you created your views and dashboard you have to publish them either on Tableau server or on Tableau on line. To publish views and dashboard from Tableau Desktop to Tableau online: Click on Server and then Publish Workbook: GET THE LINK Now the view or dashboard is publish, go on Tableau online and copy the link of your dashboard: IN SALESFORCE CREATE VISUALFORCE PAGE Go to setup, Visualforce page and copy the following code: <apex:page StandardController="AIM_Geography__c">
  • 9. 8 Tutorial <apex:iframe src="https://dub01.online.tableau.com/t/sfdctableau/views/Test_AIM/Dashboard2?:embed=y &:showShareOptions=true&:display_count=no&:showVizHome=no&External ID={!AIM_Geography__c.AIM_External_ID__c}&:toolbar=no" height="100%" width="100%" scrolling="true"/> </apex:page></apex:page> Let me explain de code above: 1. <apex:page StandardController="AIM_Geography__c"> where AIM_Geography__c" is the technical name of the custom object 2. <apex:iframe – apex code to create an iframe where the Tableau dashboard will appear. 3. http://tableauserver/views/workbook/dashboard - URL of the published dashboard in Tableau server. 4. ?:embed=yes – parameter to embed the dashboard into the iframe. 5. &External ID={! AIM_Geography__c.AIM_External_ID__c } – part of the URL to filter the view. External ID is the field we used to filter in the dashboard. !AIM_Geography__c.AIM_External_ID__c is the ID of the custom object used in Salesforce. 6. &:toolbar=no – Parameter to hide the toolbar. 7. height="100%" width="100%" – height and width of the iframe. It is advisable to be the same as the Tableau dashboard (unless using automatic size). It can also be define in px (1100px) 8. scrolling="true" – enables the option of having a scroll in case it does not entirely fit. CREATE A CUSTOM SECTION ON THE OBJECT Go to the object you want to embed the Visualforce page on and create a custom section: Give a name and configure the section with one column:
  • 10. 9 Tutorial CREATE A VISUALFORCE SECTION To display this Visualforce page in an object section, select the object and go to Edit layout and select “Visualforce page”: Drag and drop the Visualforce page in the created section
  • 11. 10 Tutorial RESULT On your application you can now see the Tableau view/dashboard embedded with the content filtered depending on the record you are browsing: Note that you can access all functionalities of tableau through this mashup such as mouse over and other fancy Tableau functionality: