Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Salesforce Reporting and Dashboards
Salesforce Reporting and Dashboards

Salesforce Reporting and Dashboards: Master the art of building successful reports and dashboards with this comprehensive guide

By Johan Yu
$43.99 $29.99
Book Mar 2015 306 pages 1st Edition
eBook
$43.99 $29.99
Print
$54.99
Subscription
$15.99 Monthly
eBook
$43.99 $29.99
Print
$54.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Mar 26, 2015
Length 306 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781784394677
Vendor :
Salesforce
Category :
Concepts :
Table of content icon View table of contents Preview book icon Preview Book

Salesforce Reporting and Dashboards

Chapter 1. Introducing Salesforce.com

This chapter will give you a general introduction to Salesforce.com. You will learn the benefits of cloud computing technology and how to extend beyond the Salesforce CRM application using custom objects. There is also an introduction to Schema Builder. Then we will be covering the Salesforce.com architecture, setup menu, and testing environment. This guide will involve some hands-on activities for mastering reports and dashboard creation from Chapter 3, Creating Your First Report, and onwards.

This chapter contains information about reporting and dashboards that applies to both business users and system administrators. Some topics in this chapter discuss features specific for system administrators, but business users will also find it interesting to understand the Salesforce.com architecture better.

Throughout this chapter, we will provide notes and tips for you to understand the Salesforce.com technology. The following topics will be covered in this chapter:

  • Overview and benefits of Salesforce.com

  • The Salesforce object model

  • Navigating the setup menu

  • Schema Builder

Overview and benefits of Salesforce.com


Salesforce.com is a web-based enterprise platform that you can access from anywhere, anytime, and on any device as long as you are connected to the Internet. It is a cloud application, so you do not need to purchase any server/hardware, operating system, or database to use it. If you haven't used Salesforce.com before, then let me tell you that it is a web-based application like Gmail or Yahoo e-mail, but it takes this a step further because it allows you to configure and customize it to suit your business needs.

When you sign up for Salesforce, you will be provided with an "organization," which is basically a software environment. Hardware, the operating system, and the database are shared among Salesforce customers within the same "instance". Salesforce customers within the same instance run the same version of platform.

You can illustrate the Salesforce platform as an apartment building, shared by many residences. In this multitenant environment, each organization's data, configuration, and users are completely isolated and are not accessible to any other organization. So, when you configure your Salesforce organization, the metadata changes are only for your organization. A similar rule applies to your database; access to it is only for your registered users.

If you have heard about cloud computing, you will easily understand that since Salesforce.com is a Software as a Service (SaaS) model, you will only need to configure Salesforce.com to start using it. Everything from object model and business logic to page layouts, reports, and dashboards is provided by the Salesforce platform. It also has its own Java-like programming language called Apex, and an HTML-like visual markup language called Visualforce page for custom user interface design.

Since the Salesforce team takes care of the infrastructure, maintenance, software upgrades, backup, and performance, it benefits companies by lowering the IT cost and the cost of resources. As a Salesforce subscriber, you just need to maintain your users and implement the business processes you need.

When Mark Benioff started Salesforce.com from his apartment in San Francisco back in 1997, Salesforce.com was intended to act as a CRM application only. However, as the platform grew and became more robust, Salesforce opened up its platform to more customization, where you could build any kind of applications beyond CRM.

The following products are available in this platform at the time of writing this book:

  • Sales Cloud: This is used to automate your sales process

  • Service Cloud: This is used to deliver revolutionary customer service process

  • Marketing Cloud: This is used to provide digital marketing automation

  • Analytics Cloud: This is used to deliver analytics for business users and analysts

  • Force.com platform: This allows you to build your own Enterprise custom apps that connect with customers, employees, and partners

In summary, the advantages of using Salesforce.com compared to other on-premise applications are as follows:

  • Faster implementation schedule

  • Lower maintenance cost, since you don't have to buy or support in-house servers, data centers, and high-speed internet connections, or hire any IT staff for this work

  • It is scalable and robust

  • Security and high performance

  • Easily expandable functionality using prebuilt solutions from the AppExchange

  • Access from desktops, laptops, and mobile devices with Internet connectivity

  • Enjoy enterprise grade level application for small and medium businesses

Salesforce Object Model


Objects are key components in Salesforce.com. They allow you to store your data. Similar to a table in a database, an object consists of several fields to store data. You can set some fields as mandatory, while some other fields such as ID, Created Date, Created By, Last Modified Date, and Last Modified By will be automatically populated by the system.

You can illustrate an object as a table, a field as a column in the table, and a record as a row in the table. In the following table, field 1 will store the values for all first names, field 2 will store the values for all birth dates, and so on:

 

field 1

field 2

field 3

record 1

John

29 Jun

record 2

May

10 Dec

record 3

Steve

24 Feb

There are two type of objects in Salesforce:

  • Standard object

  • Custom object

Standard objects

Standard objects are provided by Salesforce.com by default. Each standard object has its own uniqueness, and the objects are named by their common uses. Some of the main Salesforce.com objects when you subscribe for Sales or Service Cloud are as follows:

  • Account: This is used to store information about the businesses and organizations your company interacts with.

  • Contact: This is used to store information about the people associated with your customers.

  • Opportunity: This is used to store information about sales interactions with your customers. It is often known as the sales cycle.

  • Lead: This is used to store information about people who may become customers or partners of your company.

  • Case: This is used to store information about interactions with your customers related to the products or services you provide.

  • Campaign: This is used to store information about your company's marketing activities and responses.

Some other standard objects are Activity, Asset, Contract, Quote, Order, Products, and Price Book.

Each standard object comes with default fields based on the purpose of the object, for example, Stage in Opportunity and Mobile Phone in Contact. You can create your own fields in a standard object called custom field. The maximum number of fields you can create depends on the Salesforce edition purchased.

Note

You can upgrade Salesforce.com to a higher edition simply by paying the increased subscription fee, and continue using the same organization with the existing database and customization. But if you plan to "downgrade" to a lower edition (it is actually not possible to downgrade), Salesforce.com will give you a brand new organization where you will need to reconfigure and transfer all your data.

Custom objects

Custom objects are specific objects created in your organization to store data for your business that does not fit into standard objects. Only a user with admin access is allowed to create custom objects. Most AppExchange packages create and use custom objects, since they provide specific business processes.

The maximum number of custom objects that can be created depends on the Salesforce edition. If you have admin permission, you can create objects and fields in Salesforce with just point-and-click rather than using complex SQL scripts as in traditional databases.

For a standard object, the number of standard fields depends on the object itself, but a custom object comes with a few standard fields that are the same for all custom objects:

  • Id

  • Name

  • Created By and Created Date

  • Last Modified By and Last Modified Date

  • Owner (if the object is not a child of another object in a master-detail relationship)

Just as with a standard object, you can create custom fields in a custom object.

Object relationships

You can relate an object to other objects in Salesforce.com, for example, relating the Expense custom object to the Project custom object. With this relation, you can know for which project the specific expense is used. In this example, Project will be considered as the parent and Expense as the child object. Remember that one parent can have many children, while the child can have only one parent. To build this relationship from the child object, create a lookup or master-detail relationship field for the parent object.

There are two types of object relationships in Salesforce.com:

  • Master-detail relationship

  • Lookup relationship

Here is the comparison between master-detail relationships and lookup relationships:

Master-detail relationship

Lookup relationship

You can define master-detail relationships between custom objects or between a custom object and a standard object (standard object must be the parent).

You can define a relationship between any two objects, standard or custom.

When a record in a master object (parent) is deleted, all the records in the detail object (child) that are related to that master record will be deleted.

When a parent object is being deleted, you can configure a child object to either clear the parent record value in the child record or prevent deletion of the parent record.

All child records must have a related parent record.

The parent record may not require a related parent record.

The ownership of the child record is determined by the related parent record. Child records do not have an owner.

Each child record has an owner and is not related to the parent record.

The detail record inherits sharing and security from the master record.

There is no security or inheritance between related parent and child records.

To relate an object to another object, no records should exist in the child object.

To relate an object to other objects, there is no condition on the number of records.

If you have the Roll-Up Summary field in the parent object, any create, edit, or delete action in the child record will trigger an edit action in the parent object. If you have a validation rule and other rules in parent object, the validation rules will trigger for the parent object.

You cannot create the Roll-Up Summary field in the lookup relationship using out-of-the-box Salesforce functionality.

Supports cross-object workflow. You can configure a field update action to update a field in the parent record using a value from the child record.

Does not support cross-object workflow.

Tip

To create a master-detail relationship for an existing object with records as the child object, you can initially define it as a lookup relationship, populate all parent fields for all records, and then change the relationship to a master-detail relationship.

You can build a many-to-many object relationship using two master-detail relationships in a single custom object, which is known as a junction object in that case.

Field types

Salesforce.com comes with field data types that fit your business model. Some of them are built with business logic, such as e-mails and URLs, these need to follow valid e-mail and URL formats respectively. Invalid values will be automatically rejected by the system. When you define custom fields, the data type you select determines which additional options you can specify Required, Unique, Case sensitive, External ID, and Default Value.

Here is the list of Salesforce's data types:

  • Auto Number

  • Formula

  • Roll-Up Summary, if the object is a parent in a master-detail relationship

  • Hierarchical Relationship (only for the User object)

  • Lookup relationship

  • Master-detail relationship

  • Checkbox

  • Currency

  • Date

  • Date/Time

  • E-mail

  • Geolocation

  • Number

  • Percent

  • Picklist

  • Picklist (multi-select)

  • Text

  • Text Area

  • Text Area (long)

  • Text Area (rich)

  • Text (encrypted)

  • URL

Sandbox or Developer Edition?

It is advised that you get your hands on all exercises in this book in a Sandbox org or Developer Edition, not in the production environment, as you might change something without knowing.

If you do not have Sandbox org for testing, you can sign up and get Developer Edition for free by clicking on Sign Up at https://developer.salesforce.com/page/Developer_Edition.

Sandbox has an exact copy of your production configuration on the date of Sandbox creation or Sandbox refreshes. Depending on the Sandbox type, you can have a complete copy of production data, partial data, or no data in a Sandbox, but all of them will have a configuration copy from the production environment. We will discuss more on Sandbox in Chapter 2, Managing Data in Salesforce.com.

While Developer Edition is an environment without any relation to your production environment, it is good enough for you to try anything explained in this book.

Navigating the Setup menu


Depending on your user details and by navigating to Setup | User Interface, here are a few ways to find the Setup menu:

  • If the Salesforce instance organization has Enable Improved Setup User Interface enabled, the Setup link will be visible next to Help, as shown in this screenshot:

  • For a Salesforce instance without Enable Improved Setup User Interface enabled, click on your name, and the Setup link will appear in the drop-down window shown in the following screenshot:

  • A Salesforce instance with Enable Improved Setup User Interface and Accessibility Mode enabled in your user details will look like the following screenshot:

  • A Salesforce instance with Enable Improved Setup User Interface disabled and Accessibility Mode enabled in your user details will look like the following screenshot:

Tip

To find the Enable Improved Setup User Interface option, navigate to Setup | Customize | User Interface.

Schema Builder


Schema Builder is a tool within Salesforce.com that is used to view and manage objects, fields, and relations between objects in a graphical interface. It is available in all Salesforce.com editions. Schema Builder is not the only option to view and manage objects, fields, and relations between objects.

The following screenshot shows four custom objects that have been created: Object1, Object2, Object3, and Object4. Object2 and Object3 have a master-detail relationship with Object1, while Object4 has a lookup relationship with Object1.

Some users prefer to create the field manually rather than use Schema Builder. Manual field creation offers more options such as field-level security and adding fields to the page layout. To create or access a field, navigate to Setup | Customize for standard objects or Setup | Create | Objects for custom objects, and then you can configure the object and the field.

Schema Builder in action

Schema Builder will be available only if you have the Customize Application permission. Here are a few actions you can perform with Schema Builder:

  • Create and delete custom objects

  • Edit custom object properties

  • Create and delete custom fields

  • Edit custom field properties

  • Manage custom field permissions

In addition to the preceding actions, with Schema Builder, you can easily:

  • Understand fields in an object:

    • Required field and auto-populate field by system mark with red bar before field name

    • Field type, field length, external ID, and unique fields displayed in the right column

  • Understand relationships between objects:

    • The one end with circle and arrow is the child object. Remember that one parent can have multiple children.

    • The master-detail relationship is displayed by a red line, while the lookup relationship is displayed by a blue line.

Hands-on – navigating Schema Builder

Once you log in to Salesforce.com, there are three options you can use to open Schema Builder:

  1. Navigate to Setup | Schema Builder.

  2. Go to Setup | Create | Objects and click on Schema Builder in the panel to the right.

  3. Go to Setup | Home, and in the Quick Links box, click on the Schema Builder link.

If you don't see the Schema Builder link, it means that your user does not have the permission to customize the application.

Tip

When you are in the Setup page, you can type in the Search All Setup… textbox to search for a menu. The system will automatically filter the menu as you type.

Once you are in Schema Builder, you will see the following main tabs in the left menu:

  • Elements

  • Objects

Elements will show all field types (except Geolocation). You can drag and drop a field onto an object to add new custom fields for that object.

Objects will have an option to show all objects, standard objects, custom objects, system objects, and selected objects.

Hands-on – working in Schema Builder

Select objects that you would like to analyze or work on in the left panel. Selected objects will show up in the main canvas area. Here are a few actions you can perform with Schema Builder:

  • To create a new custom object, drag the Object icon from the Elements tab onto the canvas area. It will prompt you to enter an object label and other required information.

  • To create a new custom field, drag a field-type icon from the Elements tab onto an object selected in the canvas area. It will prompt you to enter a field label and other required information.

  • To move the object in the canvas, click on the object name and drag it.

  • Click on the gear icon at the top-right corner of the object. For standard objects, you can:

    • Hide the object.

    • View the object and page layout. It will open the details in a new window.

    For custom objects, click on the icon to:

    • Hide the object.

    • View the object and page layout. It will open the details in a new window.

    • Edit the object properties.

    • Delete the object.

  • In the case of standard fields, you can right-click on the field to view it in a new window. For custom fields, you can right-click on the field to:

    • View the field in a new window

    • Edit the field properties

    • Manage field permissions

    • Delete the field

Summary


In this chapter, we started with a discussion on Salesforce.com's architecture, the benefits of using the Salesforce.com technology, and multiple products from Salesforce.com.

We continued to discuss the Salesforce object model, how data is stored, types of objects, and the difference between standard and custom objects. You understood how to relate objects, relationships between objects (master-detail relationships and lookup relationships), and a comparison of both the relationship models. You also learned about multiple field types for objects.

Next, you learned how to find the Setup menu, and we covered the testing environment with the Sandbox or Developer Edition to get a hands-on of this book's activities. At the end of this chapter, we went into a little depth about getting a hands-on of Schema Builder. Then you learned how to navigate it to analyze and configure object models.

In the next chapter, we will go through various data management activities including data backup, data import, the Sandbox environment, and data accessibility. This chapter is intended more for system administrators, but business users will nevertheless get more knowledge on how to manage data in Salesforce.

Left arrow icon Right arrow icon

Key benefits

What you will learn

Understand and create multiple types of reports and dashboards from scratch Assign permissions related to reports and dashboards Get to grips with the Salesforce data architecture and its relation to reports Get to know what a report folder is and how to use it Understand and create custom report types from scratch Use various components related to basic and advanced report configuration Discover best practices to build and share reports and dashboards Interface your dashboard to your mobile device app on the go

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Mar 26, 2015
Length 306 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781784394677
Vendor :
Salesforce
Category :
Concepts :

Table of Contents

18 Chapters
Salesforce Reporting and Dashboards Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
Foreword Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
Acknowledgments Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Introducing Salesforce.com Chevron down icon Chevron up icon
Managing Data in Salesforce.com Chevron down icon Chevron up icon
Creating Your First Report Chevron down icon Chevron up icon
Working with Reports Chevron down icon Chevron up icon
Learning Advanced Report Configuration Chevron down icon Chevron up icon
Creating Your First Dashboard Chevron down icon Chevron up icon
Learning Advanced Dashboard Configuration Chevron down icon Chevron up icon
Accessing Historical Data Chevron down icon Chevron up icon
Dashboards and Reports in Salesforce1 Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.