ABSYZ ABSYZ

  • Home

    Home

  • About us

    Who We Are

  • Our Expertise

    What we Do

  • Our Approach

    How We Do It

  • Products

    What We Made

  • Industries

    Who We Do It For

  • Clients

    Whom We Did It For.

  • Article & Blogs

    What Experts Think

  • Careers

    Join The Team

  • Get In Touch

    Let’s Get Started

ABSYZ

Einstein Analytics: Creating Date Fields in Recipes for Toggles

Home / Article & Blogs / Salesforce / Einstein Analytics: Creating Date Fields in Recipes for Toggles
By Pushmitha Babu inSalesforce
Originally Posted on December 4, 2018; Last updated on November 5, 2020.

Einstein Analytics by Salesforce is a cloud-based AI-powered advanced analytics tool that helps in exploring data quickly and with Salesforce Analytics Query Language (SAQL) to query, manage your datasets and customize dashboards programmatically. Formerly known as Wave Analytics Cloud, it integrated very well with the Salesforce platform. We have already covered Wave Analytics in detail in our previous blog post “Introduction to Salesforce Wave Analytics Cloud”

Update: Einstein Analytics has a new name now, Tableau CRM, the tool remains the same. Read about this major update here. 

Einstein Analytics dashboard is built up of many widgets, which is similar to a component over the Salesforce dashboard; however, a date filter or list filter can also be referred to as widgets in EA. For the purpose of our tutorial, we would be using the Toggle widget, which can be used to create a filter for the viewers on Analytics dashboard results based on date or dimension. 

In the following example, we will create a filter for the Users on the date field as Quarterly and Yearly. 

To begin, we will create a Dataset. In EA, a Dataset is a specific view of a data source based on how you’ve customised it. We’ve already covered steps to create a Dataset in “How to create a Dataset, Lens and Dashboard in Wave Analytics”. After creating the dataset, create a Dataset Recipe as shown below. You can find the created recipe in the Dataflows & Recipes from the sidebar menu.

Datasets Einstein Analytics
Datasets in Einstein Analytics / Tableau

 

 

create recipe tableau einstein analytics
Create Recipe Option – Einstein Analytics / Tableau

Recipe Name einstein Analytics
Provide Recipe Name – Einstein Analytics / Tableau

List of Dataflows & Recipes
List of Data Flows & Recipes – Einstein Analytics

Create a Bucket

Click on the Recipe, you will be redirected to a table that shows all the data. We write the filter on the Close Date field in Opportunity. Create a bucket to categorise the fields.

Customising a Recipe
Recipe Editor / Customisation Pane

Selecting the row
Row for the Bucket to be Created

selecting bucket from data fields
Creating Bucket from Data fields – Recipe – Einstein Analytics

You have 2 options shown while creating a Bucket. Choose the Relative option. A drop-down list appears below with the options by Year, Quarter, Month, Week or Day. Below you have another option to choose your range provided namings for the start and end of your selected type.

Customising the Bucket
Bucket Customisation Pane – Select Relative.

analytics9analytics10

Now create two buckets: By Year and By Quarter. Select the range and name each range that you want to display. As you create each bucket, add the bucket to the Dataset and update as shown below. The Dataset Recipe will get updated and can be monitored from the Data Manager. In the left side panel click on the monitor tab, where you can check the status.

adding additional conditions buckets
Additional Conditions – Bucket

 

applying changes bucket remaining values
Select Bucket Remaining Values to Other and Apply changes to Bucket

 

Dataset reciple table preview selected columns

Find Recipe after successful creation

 

steps to update attributes for column in dataset recipe
Steps to update attributes for column in dataset recipe

 

Updating Attributes for Column in Dataset
Updating Attributes for Column in Dataset

 

Saving changes to the Dataset
Saving changes to the Dataset
Select our Derived fields from Close Date
Select our Derived fields from Close Date

 

Running the Recipe
Running the Recipe – One time or Scheduled

 

Find Recipe after succesful creation
Find Recipe after successful creation

 

Create a Dashboard

The Dashboard is where users explore and analyse widgets, So go ahead and create a blank Dashboard and rename it to a more specific and suitable description.

Create a Step

Create a step to add a toggle option. So first click on Create a step and choose the dataset you have created at the start. In the left side panel, under Bars choose Quarterly according to your naming’s saved above. Add a condition under Filters, choosing Quarterly equals to Current Quarter and Last year’s same Quarter. After following the steps as mentioned click on done. On the Dashboard, you can see the created step.

Creating step for a Toggle Einstein Analytics
Creating step for a Toggle Einstein Analytics

"<yoastmark

Add Bars to the Custom Step
Add Bars to the Custom Step

"<yoastmark

Ensure correct Bars are selected
Ensure correct Bars are selected

Select Filters from to Eliminate unnecessary Dimensions
Select Filters from to Eliminate Unnecessary Dimensions

Select the required Dimensions
Select the required Dimensions

Filters for Bar Steps
Click on Done after verifying correct selection of correct Dimensions in Step

Step is visible in the Right pane of Toggle Designer
Step is visible in the Right pane of Toggle Designer

Create Toggle

On the left side panel, select the Toggle option. Drag and drop the created step on the Toggle box. The options that are added to the filter are displayed on the Toggle.

Select Toggle from Left Pane
Select Toggle from Left Pane – Einstein Analytics

Drag toggle to the Designer pane
Drag Toggle to the designer pane and Select the Step Created earlier

Ensure both filter custom dimensions are presentCreate the same toggle for a current year and last year. Follow the same steps given above to create a step for Yearly.

Step - Current Year

"<yoastmark

Create a Step

Now we create a step to show a chart with Account Industry data. Click on create a step and select under bars AccountId.Industry. Under Bar Length add criteria to count already available choosing the option: the sum of the amount. Rename the step and drag it to the Dashboard as shown below. Save your Dashboard and click on the preview to see how the toggle helps out.

default step accountid.industry
Creating a new Step AccountId.Industry selecting our Dataset Recipe

Select Bars - AccountId.Industry
Select Bars – AccountId.Industry

Select Bar Length - Sum of Amount
Select Bar Length – Sum of Amount

Rename Step, ensure the fields are reflecting correct data
Rename Step, ensure the fields are reflecting correct data then hit “Done”

Drag Industry Step onto the Dashboard
Drag Industry Step onto the Dashboard

Save the Toggle Dashboard and Hit Preview
Save the Toggle Dashboard and Hit Preview

On Preview, you can see the output by selecting on the toggle options as shown below.

Preview - Einstein Analytics : Tableau - Current Quarter
Preview – Einstein Analytics – Tableau – Current Quarter

"<yoastmark

"<yoastmark

"<yoastmark

"<yoastmark

So That’s it! If you are still facing problems, you can touch base with us over email team@absyz.com, we ABSYZ are one of the largest Salesforce integrators and a salesforce partner company providing End to End Salesforce implementation services for not just Tableau CRM but also for Salesforce Marketing Cloud and Salesforce Health Cloud. Do reach out to us for any help with integrations.

AnalyticsAnalytics CloudCloudDashboardEinstein AnalyticsEinstein DashboardHealthImplementation ServicesMarketingReportsSalesforceSalesforce IntegratorsTableauToggle WidgetTogglesWave Analytics
163
Like this post
11 Posts
Pushmitha Babu

Search Posts

Archives

Categories

Recent posts

All About The OmniStudio FlexCards

All About The OmniStudio FlexCards

Boost Customer Experience With Repeater Widget in CRM Analytics

Boost Customer Experience With Repeater Widget in CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics

Net zero as a Service In CPG Industry

Net zero as a Service In CPG Industry

How Do We Import an External Library into Salesforce Lightning?

How Do We Import an External Library into Salesforce Lightning?

  • Previous PostSalesforce Deployment Using Ant Migration Tool
  • Next PostIntroduction to ChatBots

Related Posts

All About The OmniStudio FlexCards
OmniStudio Salesforce

All About The OmniStudio FlexCards

Boost Customer Experience With Repeater Widget in CRM Analytics
CRM Analytics Salesforce

Boost Customer Experience With Repeater Widget in CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics
CRM Analytics Salesforce

Enhance Insights Using Custom Tooltips In CRM Analytics

How Do We Import an External Library into Salesforce Lightning?
Lightning Salesforce

How Do We Import an External Library into Salesforce Lightning?

Leave a Reply (Cancel reply)

Your email address will not be published. Required fields are marked *

*
*

ABSYZ Logo

INDIA | USA | UAE

  • About us
  • Article & Blogs
  • Careers
  • Get In Touch
  • Our Expertise
  • Our Approach
  • Products
  • Industries
  • Clients
  • White Papers

Copyright ©2022 Absyz Inc. All Rights Reserved.

youngsoft
Copy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Privacy Policy
Cookie SettingsREJECT ALLACCEPT ALL
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT