<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sunil Bhardwaj on Medium]]></title>
        <description><![CDATA[Stories by Sunil Bhardwaj on Medium]]></description>
        <link>https://medium.com/@sunilbhardwaj1?source=rss-10a5ada959b3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*L6h95d_OTKyuqpmNF1DslQ.jpeg</url>
            <title>Stories by Sunil Bhardwaj on Medium</title>
            <link>https://medium.com/@sunilbhardwaj1?source=rss-10a5ada959b3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 09:18:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sunilbhardwaj1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Salesforce Security: Event Monitoring in Salesforce CRM Analytics  ]]></title>
            <link>https://sunilbhardwaj1.medium.com/salesforce-security-event-monitoring-in-salesforce-crm-analytics-2987f797588e?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2987f797588e</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[tableau-crm]]></category>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Wed, 19 Jun 2024 21:57:02 GMT</pubDate>
            <atom:updated>2024-06-19T21:57:02.098Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Salesforce Security: Event Monitoring in Salesforce CRM Analytics </strong>📊 📈</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*W4qtlI7nNtTpNyWnbBf-qw.jpeg" /></figure><h3><strong>Securing Data with Salesforce Shield</strong></h3><p><strong>Salesforce Shield</strong>​ is a set of security tools that helps to protect data at rest, monitor usage, and prevent malicious activity — is fully supported. ​</p><p><strong>Shield includes 3 key premium services:</strong>​</p><p>1. Platform Encryption ​</p><p>2. Event Monitoring ​</p><p>3. Field Audit Trail ​</p><h3><strong>Event Monitoring</strong></h3><p>It gives access to detailed performance, security, and usage data on all your Salesforce apps in order to monitor critical business data, understand user adoption across your apps, and troubleshoot and optimize custom application performance.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*TLj_eu07PvmW35N46HLmYw.jpeg" /><figcaption><strong>Key Components of Event Monitoring</strong></figcaption></figure><h4><strong>Event Monitoring in Shield help in answering the below questions.​​</strong></h4><p><strong>Adoption</strong>​</p><ul><li>How can I find out what my users are doing on Salesforce?​</li><li>How do they use mobile devices to access Salesforce apps?​</li><li>What pages and sites are used most?​</li></ul><p><strong>Performance</strong>​</p><ul><li>How can I ensure that we are getting the best use out of the platform?​</li><li>What actions are automated?​</li><li>How long do my custom applications take to load?​</li></ul><p><strong>Security</strong> ​</p><ul><li>How do I know our users are compliant with our security policies?​</li><li>What devices and platforms are being used?​</li><li>When do our users log in and where do our users log in from?​</li><li>Who is viewing sensitive data? ​</li></ul><h4><strong>Event log files​</strong></h4><ul><li>Access to Event Monitoring grants access to <strong>event log files</strong>. Depending on organisation type and any further subscriptions, it will provide access to more log types and longer retention of log files. These files can be accessed via the API and be processed via other means.​</li><li>As part of Event Monitoring, we also get the <strong>Event Monitoring Analytics app</strong>. Use this app to upload and access only the data provided to us as part of your subscription. ​</li><li>Once this app has been created in our CRM Analytics environment, amongst other things, it creates a dataflow that will import the event log datasets, augment them with Salesforce user information, and then register these in the CRM Analytics environment as new datasets. ​</li><li>It is during the configuration of this app when we can choose the retention period for the created datasets — for example, 30 days, which is the maximum, for login data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*voSSysz3OPiO1PiKIbFktw.jpeg" /><figcaption><strong>User Logins</strong></figcaption></figure><h4><strong>How does it work?​</strong></h4><ul><li>Event Monitoring includes over 40 different event types, describing each of your users’ activities in Salesforce, plus Einstein Event Monitoring Analytics, which offers 16 pre-built dashboards to quickly begin working with event log files and identify anomalous user behavior. ​</li><li>API-based access to event log files allows to analyze and visualize events in the tool of your choice, and powerful AppExchange apps can help to extend functionality and unlock new insights.​</li><li>Event Monitoring data can be easily imported into data visualization and application monitoring tools like Einstein Analytics, Splunk, FairWarning, or New Relic. ​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J3GmBoBVFUCdP-Otf_A5qg.jpeg" /></figure><h4><strong>How to Get Started ​</strong></h4><ol><li>Capture read-only event log files: ​</li></ol><ul><li>40+ event types captured — View Current List (on Next Slide)​</li><li>30 days of events retained ​</li><li>Log files exposed via API ​</li></ul><p>2. Visualize the data to identify critical insights: ​</p><ul><li>Use included license for Einstein Event Monitoring Analytics, with 16 included dashboards ​</li><li>Build your own Data Loss Prevention or Adoption &amp; Performance dashboards with Einstein Analytics ​</li><li>Import into any Business Intelligence tool ​</li><li>Use pre-built AppExchange apps for added functionality.​</li><li>Export to CSV file ​</li></ul><p>3. Take action: ​</p><ul><li>Identify gaps in security policies and use access controls and Transaction Security for stronger enforcement ​</li><li>Modify governance policies ​</li><li>Drive initiatives to increase adoption ​</li><li>Automate outcomes with workflow ​</li><li>Improve app performance​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TdQ-4xLdj_EAtQoKiPsMkg.jpeg" /></figure><h4><strong>Supported Event Types​</strong></h4><p>The EventType field supports the following events.​</p><p><a href="https://developer.salesforce.com/docs/atlas.en-us.208.0.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm#event-types">https://developer.salesforce.com/docs/atlas.en-us.208.0.object_reference.meta/object_reference/sforce_api_objects_eventlogfile.htm#event-types</a>​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*hPUOhZ6udEsFAdFRipRO9Q.jpeg" /></figure><h4><strong>“Insight on User Activities” using The most important Event Types</strong>​</h4><ul><li><strong>Wave Download Event Type</strong>​</li></ul><p>Wave Download events represent downloads made from lens explorations and dashboard widgets in the CRM Analytics user interface. A Wave Download event type is captured when a user downloads images ( .png ), Microsoft® Excel® data ( .xls ), or comma-separated values ( .csv ) files.​</p><ul><li><strong>Login Event Type</strong>​</li></ul><p>Login events contain details about your org’s user login history. ​</p><ul><li><strong>API Event</strong></li></ul><p>It monitors bulk, SOAP, REST, and metadata API access​</p><ul><li><strong>Report Export Event Type</strong>​</li></ul><p>Report Export events contain details about reports that a user exported.</p><ul><li><strong>Login As Event Type</strong>​</li></ul><p>Login As events contain details about what a Salesforce admin did while logged in as another user. ​</p><ul><li><strong>List View </strong>​</li></ul><p>It represents a list view. A list view specifies a set of records for an object, based on specific criteria.​</p><ul><li><strong>Report Event Type</strong>​</li></ul><p>Report events contain information about what happened when a user ran a report. This event type includes all activity that’s in the Report Export event type. For example, it has user activity for reports exported as both Formatted Report and Details Only output.​</p><ul><li><strong>Insecure External Assets Event Type</strong>​</li></ul><p>Insecure External Assets events contain information about external assets. External assets include images or videos accessed by users over an insecure HTTP protocol. The event lists all your Salesforce pages that contain assets hosted insecurely on third-party sites that users loaded with a Chrome, Firefox, Microsoft Edge, or Safari browser. The INSECURE_URI field contains the URI being used to load the asset insecurely. ​</p><ul><li><strong>Lightning Error Event Type</strong>​</li></ul><p>Lightning Error events represent errors that occurred during user interactions with Lightning Experience and the Salesforce mobile app. ​</p><ul><li><strong>Lightning Interaction Event Type</strong>​</li></ul><p>Lightning Interaction events track user actions in Lightning Experience and the Salesforce mobile app, such as the user clicking, tapping, or scrolling on a page. ​</p><ul><li><strong>Lightning Page View Event Type</strong>​</li></ul><p>Lightning Page View events represent information about the page on which the event occurred in Lightning Experience and the Salesforce mobile app. A Lightning Page View event tracks the page a user visited, how long the user spent on the page, and the load time for the page. ​</p><ul><li><strong>Logout Event Type</strong>​</li></ul><p>Logout events contain details of user logouts. ​</p><ul><li><strong>URI Event Type</strong>​</li></ul><p>URI events contain details about user interaction with the web browser UI.​</p><h4><strong>4 Ways To Transform Event Monitoring Application​</strong></h4><p>Tip#1: Setting Up Alerts​</p><p>Tip#2: Summary Dashboard​</p><p>Tip#3: Benchmarks​</p><p>Tip#4: Normalizing the Data</p><p><strong>Tip#1: Setting Up Alerts</strong></p><ul><li>Event Monitoring app has built-in functionality that will notify you when something is wrong or when maintenance is required. Alerts will notify the user when a data threshold has been reached. Users will want to take advantage of this feature so that they know when there is a hiccup in their system — for example, if a page is taking longer to load or total user clicks to reach an API endpoint is higher than average.​</li><li>To set up a notification, hover over the number widget → select “Set Notification” → fill in the information to set the conditions. ​</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*Q-dz4DcOZ95YW_Ap8_eG9A.jpeg" /><figcaption><strong>Setting up Alerts</strong></figcaption></figure><p><strong>Tip#2 Summary Dashboard​</strong></p><p>The purpose of creating and utilizing a Summary Dashboard is to consolidate critical KPI’s to provide a bird’s eye view of what is occurring across your event logs. This high-level approach will allow to efficiently monitor our events and drill down and dissect the problem when needed.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*2Sio_c6_iihBrQtOjAKanQ.jpeg" /><figcaption><strong>Summary Dashboard</strong></figcaption></figure><p><strong>Tip#3 Benchmarks​</strong></p><p>The out-of-the-box dashboards reflect arithmetic functions, such as min, max, and avg. What is extremely beneficial in the implementation with customers is having a benchmark that uses conditional highlighting to show when KPI’s are in the green or red. ​​</p><p>An example of this is taking the average number of clicks and comparing it to the overall action that occurred within the last 2 weeks, drillable by user. With this added feature you will get the extra power and insight needed to quickly identify any underlying issues.​</p><p><strong>Tip#4 Normalizing the Data​</strong></p><p>Currently, some event log data are not normalized. You will see ID’s instead of actual strings. One way around this is to map each prefix to both standard and custom object. Secondly, depending on your needs, it may be possible to bring in external datasets from your target dataset to map to actual account names.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-REPynesUxAzqsiDbWt4A.jpeg" /><figcaption><strong>Normalizing the data</strong></figcaption></figure><h4><strong>“Business Value” using Event Monitoring Analytics App Prebuilt Dashboards​</strong></h4><ul><li><strong>Analytics Adoption</strong>​</li></ul><p>Corresponds to the Wave Change, Wave Interaction, and Wave Performance event types. This dashboard shows CRM Analytics usage and performance information.​</p><ul><li><strong>Apex Executions</strong>​</li></ul><p>Corresponds to the Apex Execution event type. This dashboard lets you track trends in Apex code executions and performance.​</p><ul><li><strong>API</strong>​</li></ul><p>Corresponds to the API Event event type. This dashboard gives you information about both your users’ API usage and API performance in your org. You can see how often each object is being used, how fast each object is being processed, and what methods are being invoked on that object.​</p><ul><li><strong>Dashboards</strong>​</li></ul><p>Corresponds to the Dashboard event type. This dashboard helps you track dashboard adoption and performance.</p><ul><li><strong>Files</strong>​</li></ul><p>Corresponds to the Content Transfer event type. When users in your org perform content transfers (downloads, uploads, or previews), they show up on this dashboard. You can also track file adoption.​</p><ul><li><strong>Lightning Adoption</strong>​</li></ul><p>Corresponds to the Lightning Interaction and Lightning Page View event types. Use this dashboard to see how users interact with Lightning Experience on the desktop and mobile devices.​</p><ul><li><strong>Lightning Performance</strong>​</li></ul><p>Corresponds to the Lightning Error, Lightning Interaction, Lightning Page View, and Lightning Performance event types. Use this dashboard to optimize performance and user interactions with Lightning Experience and the Salesforce mobile app.​</p><ul><li><strong>Login-As</strong>​</li></ul><p>Corresponds to the Login As event type. This dashboard lets you see which admins are using the login-as feature and on which user accounts.​</p><ul><li><strong>My Trust</strong>​</li></ul><p>The My Trust dashboard gives you an overall idea of what kind of events are taking place in your org over time. It also shows the average speed of these transactions. The dashboard corresponds to the following event types: Apex Execution, API, Content Transfer, Dashboard, Lightning Page View, Login As, Login, Report, Report Export, REST API, and Visualforce, all correlated by User IDs. For the My Trust dashboard to work, add all datasets to your app in the Configuration Wizard. This could impact your row utilization, depending on the number of events in your org.​</p><ul><li><strong>Page Views (URIs)</strong>​</li></ul><p>Corresponds to the URI event type. This dashboard lets you see which pages users are accessing in the Salesforce desktop app.​</p><ul><li><strong>Report Downloads</strong>​</li></ul><p>Corresponds to the Report Export event type. This dashboard lets you see which users are downloading your reports and where they’re downloading them from.​</p><ul><li><strong>Reports</strong>​</li></ul><p>Corresponds to the Report event type. This dashboard shows you trends in reporting as well as which users are running specific reports. You can also find out which reports are having performance issues.​</p><ul><li><strong>RestAPI</strong>​</li></ul><p>Corresponds to REST API event type. This dashboard shows you trends in REST API usage and which endpoints are seeing the most traffic. You can also view information about the IP ranges issuing the requests and which methods are being called.​</p><ul><li><strong>Setup Audit Trail</strong>​</li></ul><p>Corresponds to the Setup Audit Trail page in Setup. Use this dashboard to see the changes your users are making in the Setup area.​</p><ul><li><strong>User Logins</strong>​</li></ul><p>Corresponds to the Login event type. This dashboard shows login trends by user and information about where and how users are accessing your org.​</p><ul><li><strong>Visualforce Requests</strong>​</li></ul><p>Corresponds to the Visualforce Request event type. Here you can see trends in Visualforce adoption and page performance.​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EiN0W4NQCmM1vqjhOjRyFQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_eOa0Y9ui96EJSCkhP9zQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1NLDYycm1AJ8M-HLJkYcSg.jpeg" /><figcaption><strong>Real-Time Event Coverage</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITmnU7akzkfOyDb7sTheHQ.jpeg" /></figure><h4><strong>Reasons to use Event Monitoring​</strong></h4><p>1. Monitor user activity and boost adoption​</p><p>Examine Salesforce use with metrics like page views and click paths to help improve adoption.​</p><p>2. Prevent and mitigate threats​</p><p>Define Transaction Security policies using the declarative condition builder or code to prevent and mitigate threats.​</p><p>3. Drive application performance ​</p><p>Analyze performance issues with production apps so you can fix them quickly and improve user experience.</p><p>**********************************************************************</p><h4>Happy Learning! ✍️</h4><p><strong>Please follow me at Twitter :</strong> <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p><strong>LinkedIn :</strong> <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><p><strong>Trailblazer ID: </strong><a href="https://trailblazer.me/id/sunilbhardwaj">https://trailblazer.me/id/sunilbhardwaj</a></p><h4><strong>References</strong>​</h4><ul><li>For further details about event monitoring, see this Trailhead module; <a href="https://trailhead.salesforce.com/en/content/learn/modules/event_monitoring/event_monitoring_intro">https://trailhead.salesforce.com/en/content/learn/modules/event_monitoring/event_monitoring_intro</a>​</li><li>For further details about the Event Monitoring Analytics App, please see this document; <a href="https://help.salesforce.com/articleView?id=bi_app_admin_wave.htm&amp;type=5">https://help.salesforce.com/articleView?id=bi_app_admin_wave.htm&amp;type=5</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2987f797588e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparatory Notes for The Einstein AI Next Best Action Accredited Professional exam]]></title>
            <link>https://sunilbhardwaj1.medium.com/preparatory-notes-for-the-einstein-ai-next-best-action-accredited-professional-exam-d6ae60c7ccd3?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6ae60c7ccd3</guid>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[predictions]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Tue, 27 Jun 2023 14:02:15 GMT</pubDate>
            <atom:updated>2023-06-27T14:02:15.148Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Einstein AI Fundamentals — </strong>Please refer to the related section on the following story — <a href="https://rb.gy/ix8ad">https://rb.gy/ix8ad</a></p><h4><strong>Einstein AI Next Best Action: Advanced Topics</strong></h4><h4>Recommendation Automation with Einstein Next Best Action</h4><ol><li><strong>Harness the Power of Generate, Enhance, and Map</strong></li></ol><p>There are a couple of things in particular you should probably have under your belt before you begin.</p><ul><li>First, you should probably have at least some Apex coding background.</li><li>Second, you should be familiar with Einstein Prediction Builder and Next Best Action.</li><li>Third, we describe using Flow Builder.</li></ul><p>In brief, theprocess is:</p><ol><li>You <em>define</em> and Einstein <em>builds</em> a prediction (for example, how likely a customer is to pay a bill).</li><li>You create <em>recommendations</em> (for example, “Send payment reminder”).</li><li>You create a <em>strategy</em> that automatically sorts and filters the recommendations and assigns them to objects (such as Contacts), based on predictions.</li></ol><p><strong>Generate, Enhance, and Map to the Rescue</strong></p><ul><li>Use Next Best Action’s <strong>Generate element </strong>to create recommendations on the fly, either from a Salesforce object (an Account, for example) or an external source, such as a SQL database or a company product catalog.</li><li><strong>The Enhance element</strong> can dynamically modify a recommendation. For example, if a given product is no longer available, recommendations are automatically updated.</li><li>You might discount the price of a bike with the Enhance element, but that discount won’t show up on a Contact page unless you can connect the price in the recommendation to your existing flow. Here, you’ll also see how to use the <strong>Map element</strong> to modify or create fields in recommendations and then map them to variables in flows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*veKCT2HQTtPVHpwilReXtQ.png" /><figcaption><strong>Generalized view of using Generate, Enhance, and Map together</strong></figcaption></figure><p><strong>2. Automatically Create Recommendations with Generate</strong></p><p>Sign up for a free <a href="https://developer.salesforce.com/promotions/orgs/put-predictions-into-action-with-next-best-action">Developer Edition org with Einstein Next Best Action and Einstein Prediction Builder</a>.</p><p><strong>Apex Classes for Generate</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sWKlaP9lzOInmmYwb_tgsA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SjV36NTDgjWer2SJcjeMoQ.png" /></figure><p>Now, you <em>could</em> create a set of recommendations by hand . . . for example, a recommendation for each bicycle (“Buy the ElectroMateo 3000”) with an associated action and purchase price, and have Einstein Prediction Builder assign a recommendation to each user in your Contacts list. However, it’s a lot easier to let the Generate element of Einstein Next Best Action create the recommendations for you.</p><p>The code below shows an example of how to generate recommendations. In this case, it takes input from a bike catalog and assigns suggested bicycles to customers. To do so, it has two global Apex classes, BikeRecommendationGenerator and BikeRecommendationGenerateRequest.</p><ul><li>BikeRecommendationGenerateRequest sets a global invocable variable, contactID, which corresponds to the Contact ID label passed to it by the Generate element (as you’ll see below).</li><li>BikeRecommendationGenerator includes an invocable method called getBikes. getBikes takes input passed to it by the Generate element and returns a list of lists of recommendations. For each contact, BikeRecommedationGenerator either assigns bikes based on the customer’s preferences, or, if the customer has no preference, displays all the available bikes. It also populates custom fields you’ve added to the Recommendation object: Name, Description, and Price of the bike.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*8XGO42NyCCM9btB70IIjdw.png" /></figure><p><strong>Class: BikeRecommendationGenerator</strong></p><p><em>global class BikeRecommendationGenerator {<br> </em><a href="http://twitter.com/InvocableMethod"><em>@InvocableMethod</em></a><em>(<br> label=’Bike Recommendation Generator’<br> description=’This function returns recommendations for the bikes in our catalog.’)<br> global static List&lt;List&lt;Recommendation&gt;&gt; getBikes(List&lt;BikeRecommendationGenerateRequest&gt; inputRequests){<br> List&lt;List&lt;Recommendation&gt;&gt; outputs = new List&lt;List&lt;Recommendation&gt;&gt;();<br> for (BikeRecommendationGenerateRequest inputRequest : inputRequests)<br> {<br> Contact currentContact = [SELECT Bike_Type_Interest__c FROM Contact WHERE Id=:inputRequest.contactId];<br> List&lt;Product2&gt; products;<br> if (currentContact!=null &amp;&amp; currentContact.Bike_Type_Interest__c!=’’) <br> {<br> //If we know the type of bike this customer likes, let’s recommend one of those<br> products = [SELECT Name, Description,Price__c FROM Product2 WHERE Family=:currentContact.Bike_Type_Interest__c];<br> } else {<br> //Otherwise grab all the bikes we have in stock<br> products = [SELECT Name, Description,Price__c FROM Product2];<br> }<br> List&lt;Recommendation&gt; recs = new List&lt;Recommendation&gt;(); <br> for (Product2 prod:products) {<br> Recommendation rec = new Recommendation(<br> Name = prod.Name,<br> Description = prod.Description,<br> Price__c = prod.Price__c, <br> ActionReference = ‘Purchase_A_Bike’,<br> AcceptanceLabel = ‘Buy’<br> );<br> recs.add(rec);<br> }<br> outputs.add(recs);<br> }<br> return outputs; <br> }<br> global class BikeRecommendationGenerateRequest {<br> </em><a href="http://twitter.com/InvocableVariable"><em>@InvocableVariable</em></a><em>(label=’Contact ID’)<br> global String contactId;<br> }<br>}</em></p><p>The following requirements are true for both the Generate and the Enhance elements.</p><ul><li>They require an Apex action marked as an invocable method.</li></ul><p><a href="http://twitter.com/InvocableMethod"><em>@InvocableMethod</em></a><em>(<br> label=’Bike Recommendation Generator’<br> description=’This function returns recommendations for the bikes in our catalog.’)</em></p><ul><li>They can pass any number of inputs to the Apex action, either as lists or as a list of lists of primitives, sObjects, and user-defined Apex objects. To provide more than one input, the input parameter must be a list or a list of lists of a user-defined Apex object (in this case, a custom class called BikeRecommendationGenerateRequest).</li></ul><p><em>global static List&lt;List&lt;Recommendation&gt;&gt; getBikes(List&lt;BikeRecommendationGenerateRequest&gt; inputRequests)<br>…<br>…<br>global class BikeRecommendationGenerateRequest {<br> </em><a href="http://twitter.com/InvocableVariable"><em>@InvocableVariable</em></a><em>(label=’Contact ID’)<br> global String contactId;<br> }</em></p><ul><li>They return a list of recommendations. Invocable methods support returning either a list of an sObject type or a list of lists of an sObject type. As both Generate and Enhance operate on a list of recommendations and not a single recommendation, the method must return a List&lt;List&lt;Recommendation&gt;&gt;.</li></ul><p><em>global static List&lt;List&lt;Recommendation&gt;&gt; getBikes(List&lt;BikeRecommendationGenerateRequest&gt; inputRequests){</em></p><p><strong>Add Generate to Your Strategy</strong></p><p>Once you create the Apex classes, you create a strategy with a Generate element.</p><p><strong>Steps: Setup &gt;&gt; </strong>Type Next Best Action in the Quick Find Box &gt;&gt; <strong>Next Best Action &gt;&gt; </strong>Click <strong>New Strategy</strong> to bring up Strategy Builder &gt;&gt; Name your strategy NBA &gt;&gt; In the <strong>Objects Where Recommendations Display</strong> field, enter Contact &gt;&gt; <strong>Done</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*MvRFM3tRtZDbt033ZZXOAQ.png" /></figure><ol><li>Name the Generate element.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*9DHS2manLvNd1LtcB2XKxA.png" /></figure><p>2. Connect the Generate element to the Apex class you created (BikeRecommendationGenerator) by entering Bike Recommendation Generator as the Apex Action.</p><p>3. As mentioned, this action expects input with a label Contact ID, which you set to the ID of the Contact ($Record.Id).</p><p>4. Click <strong>Done</strong> and <strong>Save</strong>.</p><p>Now getBikes will, for each contact that Generate sends to it, look up bikes in a catalog and produce a recommendation for that contact. That recommendation includes one or more bikes and its name, description, and price.</p><p>Let’s test the strategy by clicking <strong>Test</strong>. In the Contact field, search for and select Abagail Minci.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*E14p24RkfLpIdBsxF6QOJQ.png" /></figure><p>Sure enough, you’ve got some recommendations.</p><p><strong>3. Automatically Modify Recommendations with Enhance</strong></p><p><strong>Apex Classes for Enhance</strong></p><p>The code below shows an example of how to enhance recommendations. In this case, it looks at contacts passed to it and applies a discount when applicable. To do so, it has two Apex classes.</p><ol><li>The Enhance element IsVeloStarsMember passes a value which indicates whether or not each contact is a member of the VeloStars program. BikeRecommendationEnhanceRequest uses this information to set one global invocable variable, IsVeloStarsMember, and create another, recommendation.</li><li><em>BikeRecommendationEnhance</em> includes an invocable method called applyDiscounts.</li></ol><ul><li>applyDiscounts looks at the value of the global variable IsVeloStarsMember, set by BikeRecommendationEnhanceRequest.</li><li>If IsVeloStarsMember is true, applyDiscounts adjusts the value of the Price field in the associated recommendation.</li><li>applyDiscounts returns the updated recommendation.</li></ul><p><em>global class BikeRecommendationEnhance {<br> </em><a href="http://twitter.com/InvocableMethod"><em>@InvocableMethod</em></a><em>(label=’Apply bike discounts for members’<br> description=’This function is meant to be used in an Enhance node in Einstein Next Best Action’)<br> global static List&lt;List&lt;Recommendation&gt;&gt; applyDiscounts(List&lt;BikeRecommendationEnhanceRequest&gt; inputRequests) {<br> List&lt;List&lt;Recommendation&gt;&gt; outputs = new List&lt;List&lt;Recommendation&gt;&gt;();<br> for (BikeRecommendationEnhanceRequest inputRequest : inputRequests)<br> {<br> List&lt;Recommendation&gt; singleRequestOutputs = new List&lt;Recommendation&gt;();<br> for (Recommendation inputRecommendation : inputRequest.recommendations)<br> {<br> if (inputRequest.isVelostarsMember)<br> {<br> //Apply a 10% discount for members<br> inputRecommendation.Price__c = inputRecommendation.Price__c * 0.9;<br> }<br> Integer price = inputRecommendation.Price__c.intValue();<br> //Adjust the description to include the price<br> inputRecommendation.Description = inputRecommendation.Description + ‘ $’ + price;<br> singleRequestOutputs.add(inputRecommendation);<br> } <br> outputs.add(singleRequestOutputs);<br> }<br> return outputs;<br> }<br> global class BikeRecommendationEnhanceRequest {<br> </em><a href="http://twitter.com/InvocableVariable"><em>@InvocableVariable</em></a><em>(label=’Is VeloStars Member?’)<br> global Boolean isVelostarsMember;<br> </em><a href="http://twitter.com/InvocableVariable"><em>@InvocableVariable</em></a><em><br> global List&lt;Recommendation&gt; recommendations;<br> }<br>}</em></p><p>The Enhance element has the following requirements.</p><ul><li>It requires an Apex action marked as an invocable method.</li><li>It can pass any number of inputs to the Apex action, either as lists or as a list of lists of primitives, sObjects, and user-defined Apex objects. To provide more than one input, the input parameter must be a list or a list of lists of a user-defined Apex object (in this case, a custom class called BikeRecommendationEnhance).</li><li>It returns a list of recommendations. Invocable methods support returning either a list of an sObject type or a list of lists of an sObject type. As both Generate and Enhance operate on a list of recommendations and not a single recommendation, the method must return a List&lt;List&lt;Recommendation&gt;&gt;.</li></ul><p><strong>Add Enhance to Your Strategy</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*Jh9Oo-4Gb95YazibmfRLxA.png" /></figure><p>In Strategy Builder, add an <strong>Enhance</strong> element to create the world’s <em>second</em>-simplest strategy.</p><p><strong>Steps:</strong> <strong>Setup &gt;&gt;</strong> Type Next Best Action in the Quick Find box and select <strong>Next Best Action &gt;&gt; </strong>Select the NBA for Bike Purchase strategy that you created earlier &gt;&gt; Drag an <strong>Enhance</strong> element onto the Strategy Builder window. &gt;&gt; For Label, enter Apply Membership Discount &gt;&gt;For Apex Action, select <strong>Apply bike discounts for members &gt;&gt; </strong>For the Is VeloStars Member? field, enter $Record.VeloStars_Member__c</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*7a14MBxOELwtjDHxwCOdsw.png" /></figure><p>Click <strong>Done &gt;&gt; </strong>Rearrange the elements to that the strategy flows from <strong>Generate</strong> to <strong>Enhance</strong> to <strong>Output</strong>, and click <strong>Save</strong>. &gt;&gt; Then click <strong>Test &gt;&gt; </strong>Select the Contact <strong>Abagail Minci</strong>.</p><p>Enhance provides the value of the VeloStars Member field for each Contact; that is, whether this customer is a VeloStars member or not. If so, the applyDiscounts method adjusts the price field in the appropriate recommendation.</p><p>When you test your strategy, you see that a 10% discount on bike prices has indeed been applied to Abagail Minci, a VeloStars member. Before using Enhance, the price of the StreetMateo 2000 (a favorite of cyclists who prefer bikes with two — and only two — wheels) was $1000 for Abagail, and after Enhance, it’s ($900).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*0vgeJrW7eVjd2v_D2M4qKA.png" /></figure><p><strong>4. Map Data from Recommendations to Flows with Map</strong></p><p><strong>Add a Variable to a Flow</strong></p><p>Fortunately, you can create a price variable in a flow, and then use Map to map the Price field in our recommendations to that variable. That flow’s price is what is ultimately displayed when you click Buy.</p><p>Let’s display the discounted price for VeloStarts members. You already have a custom Price field in the Recommendation object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*mGJ5Mnh9oi65-9WQ_vPTpA.png" /></figure><p>That’s the field you want to update. To do so, you’ll need to create a flow with a global variable that will be functionally parallel to the Price field in the recommendation, and then map that variable to the Price field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*aQudASWUuUiyGi22f4xSuA.png" /></figure><p>Start by going to Flow Builder.</p><p><strong>Steps:</strong> From Setup, type Flow into the Quick Find box and click <strong>Flows &gt;&gt; New Flow</strong> and <strong>Create &gt;&gt; C</strong>lick the <strong>Manager</strong> tab &gt;&gt; Click <strong>New Resource</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*krc7dof2mDAKSbTnB3O-wA.png" /></figure><p>For Resource Types, create a <strong>Variable</strong> called PurchasePrice with a <strong>Currency</strong> data type &gt;&gt; Select the <strong>Available for input</strong> and <strong>Available for output</strong> checkboxes &gt;&gt; Click <strong>Done &gt;&gt; </strong>Now that you’ve created a global variable, hover over o in the flow and click + to open the Add Element panel. Click <strong>Screen</strong> to bring up the New Screen dialogue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*g3i169Tl3R4Hf1keiEBAKg.png" /></figure><p>In the Label box of the Screen Properties panel, name the screen Purchase a Bike. &gt;&gt; Click <strong>Currency</strong> to add a Currency component and name it Purchase Price. &gt;&gt; From the Default Value drop-down menu, set the value of Purchase Price to <strong>PurchasePrice</strong> (the variable that you created). Check the <strong>Required</strong> checkbox, and set the Decimal Places to <strong>2</strong>. &gt;&gt; Click <strong>Done &gt;&gt; </strong>Save the flow as Purchase Bike.</p><p>Here’s your Purchase Bike flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*i6ys3xCHqplnnSh2vPqgBg.png" /></figure><p><strong>Map That Price!</strong></p><p>Now your flow is set, and you have a global price variable to go with it. It’s time to map the variable to the Price field in the recommendation. To do so, set up your Map element in Strategy Builder.</p><ol><li>Return to the Next Best Action — Strategy Builder screen. If you closed that view, you can get back to it by entering Next Best Action in the Setup screen’s Quick Find box and clicking <strong>Next Best Action</strong>.</li><li>Select your NBA strategy under the <strong>My Strategy</strong> list.</li><li>Drag a <strong>Map</strong> element onto the Strategy Builder main window to open up the Map editing window.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*NvW89l9bUC7sMLk-ElhaNw.png" /></figure><p>4. Name the map Purchase Price.</p><p>5. Under Map Values to Fields, enter:</p><ul><li>Name: PurchasePrice</li><li>Value: Price__c</li><li>Type: <strong>Currency</strong></li></ul><p>6. Save it by clicking <strong>Done</strong>.</p><p>7. Make sure the strategy flows from Generate to Enhance to Map to Output, moving the elements if necessary. Here’s what your full strategy looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*24tditszcBWheljqyDZB4w.png" /></figure><p>Now it’s time to check your work. Back on a Contact page, find the Next Best Action pane and click <strong>Buy</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*pxerVf6ECvGLv3B5Q6VXVg.png" /></figure><p>The discounted price produced by the Enhance element now shows up when you click the Buy button. Einstein is offering lucky VeloStars Club member Abagail Minci the amazing StreetMateo 3000 for $2250 — a 10% discount on the normal price of $2500.</p><p>*************************************************************************</p><p>Happy Learning! ✍️</p><p>Please follow me at Twitter : <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><h4>References:</h4><ul><li>For <strong>Einstein AI Use Case</strong>, Please refer to the URL: <a href="https://rb.gy/r0vhgj">https://rb.gy/r0vhgj</a></li><li>For <strong>Einstein Cheat Sheet</strong> to review complete list of Einstein products, description and pricing, Please refer to <a href="https://rb.gy/gvylbb">https://rb.gy/gvylbb</a></li><li>For Video on Einstein AI Industry Positioning : <a href="https://rb.gy/3pffil">https://rb.gy/3pffil</a></li><li>For Einstein AI Use Case : <a href="https://rb.gy/r0vhgj">https://rb.gy/r0vhgj</a></li><li>Einstein AI Academy — <a href="https://einstein-ai-academy.herokuapp.com/">https://einstein-ai-academy.herokuapp.com/</a></li><li>Trailhead Module: <a href="https://trailhead.salesforce.com/content/learn/modules/recommendation-automation-next-best-action">https://trailhead.salesforce.com/content/learn/modules/recommendation-automation-next-best-action</a></li><li>Trailhead Project:<a href="https://trailhead.salesforce.com/content/learn/projects/put-predictions-into-action-with-next-best-action"> https://trailhead.salesforce.com/content/learn/projects/put-predictions-into-action-with-next-best-action</a></li><li>Next Best Action Help Documentation:<a href="https://help.salesforce.com/s/articleView?id=sf.einstein_next_best_action.htm&amp;type=5"> https://help.salesforce.com/s/articleView?id=sf.einstein_next_best_action.htm&amp;type=5</a></li><li>Overview and Demonstration of Einstein Next Best Action — <a href="https://share.vidyard.com/watch/K3f71syrzMD4mFHXNgUGBa?">https://share.vidyard.com/watch/K3f71syrzMD4mFHXNgUGBa?</a></li><li>Combine rule-based logic with powerful sources of insight — <a href="https://www.youtube.com/watch?v=-XU32ASXTjE&amp;feature=emb_title">https://www.youtube.com/watch?v=-XU32ASXTjE&amp;feature=emb_title</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6ae60c7ccd3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : Part 3]]></title>
            <link>https://sunilbhardwaj1.medium.com/preparatory-notes-for-the-einstein-prediction-builder-accredited-professional-exam-part-3-addc40aeb16b?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/addc40aeb16b</guid>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[predictions]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 11:24:39 GMT</pubDate>
            <atom:updated>2023-06-25T11:24:39.269Z</atom:updated>
            <content:encoded><![CDATA[<h4>Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : Part 3</h4><h4><strong>Quick Start: Einstein Prediction Builder</strong></h4><p>— To build an app to predict which restaurant reservations will be no-shows.</p><h4>Sign up for a special Trailhead Playground with Einstein Prediction Builder.</h4><h4>Create a Formula Field to Predict</h4><p>Add a Checkbox Field</p><p>In Object Manager, you can see that it has a:</p><ul><li>Reservation, a custom object. Each Reservation record represents a customer’s reservation at one of Pizzaiolo Marco’s restaurants.</li><li>Status, a picklist field on the Reservation object with options that include:</li><li>Completed</li><li>No Show</li><li>Upcoming</li></ul><p>You want to predict the likelihood that customers will be a no-show. In a nutshell, you want to know which reservations are likely to eventually have: Status = “No Show.” Einstein Prediction Builder can answer your questions in a yes/no format: “Is this customer’s reservation likely to result in a No Show? Yes or no?” That means you need to provide your historical data in the same yes/no format. In Salesforce, that’s a checkbox field. So let’s create a custom formula checkbox field for No Show.</p><p>Object Manager &gt;&gt; In the Quick Find box, select for <strong>Reservation o</strong>bject &gt;&gt; <strong>Fields &amp; Relationships &gt;&gt; New &gt;&gt; Formula</strong> data type &gt;&gt; click <strong>Next</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZNuXlDrTp4G3D0kyrA7kA.png" /></figure><p>In the Field Label, enter No Show . Then choose the <strong>Checkbox </strong>formula return type and click <strong>Next</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUvAR4Qn0JA5Zix1O55wpw.png" /></figure><p>On the Simple Formula tab, in the No Show (Checkbox) field, enter this formula and click <strong>Next</strong>.</p><p>ISPICKVAL(Status__c,”No Show”)</p><p>This formula will return a True value if the reservation resulted in a no-show, and a False value otherwise. That’s just what we’re looking for in our prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bC7Jd2NyUXyN3xq80jVuFA.png" /></figure><p>Leave the default options for field-level security and click <strong>Next</strong>.</p><p>Leave the default options for page layout. Then<strong> </strong>click <strong>Save</strong>.</p><h4>Enrich Your Prediction</h4><p><strong>Give Your Prediction More Data</strong></p><p>Your online reservation app is already collecting some customer data that might be useful for predicting no-shows. For example:</p><ul><li>Where they live</li><li>Marital status</li><li>Occupation</li><li>Date and time of reservation</li><li>Whether they’re a rewards member</li><li>Total number of reservations they’ve booked</li></ul><p>You want to enrich your prediction with this previous no-show data.</p><p>Since you are building a prediction on the Reservation object, you need to add the previous no-show data onto that object for Einstein Prediction Builder to consider it. Before you create your prediction, make sure to complete all fields.</p><p>First you create a custom Roll-Up Summary field called “Previous No Shows” on the Contact object.</p><p>Object Manager<strong> &gt;&gt; </strong>In the Quick Find box, search for <strong>Contact </strong>and select the object &gt;&gt; <strong>Fields &amp; Relationships &gt;&gt; New &gt;&gt; Roll-Up Summary</strong> data type &gt;&gt; Click <strong>Next</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcXgE9QFZQRKoSDikaa9gg.png" /></figure><p>In the Field Label, enter Previous No Shows, and click <strong>Next &gt;&gt; </strong>For Summarized Object, select <strong>Reservations &gt;&gt; </strong>Select the <strong>COUNT </strong>roll-up type &gt;&gt; In Filter Criteria, select <strong>Only records meeting certain criteria should be included in the calculation &gt;&gt; </strong>Select the <strong>No Show </strong>field and <strong>Equals</strong> operator. For Value, enter True</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KrxYXn8qRYxoN9ZTw4E9Aw.png" /></figure><p>Leave the default option for field-level security, and click <strong>Next.</strong></p><p>Leave the default option for page layouts. Then click <strong>Save</strong>.</p><p><strong>Add Previous No Shows to Your Prediction</strong></p><p>Next, you create a custom Previous No Shows field on the Reservation object so that Einstein Prediction Builder can see this information when making its prediction about Reservations.</p><p><strong>Object Manager &gt;&gt; </strong>In the Quick Find box, search for and click <strong>Reservation &gt;&gt; Fields &amp; Relationships &gt;&gt; New &gt;&gt; </strong>Select the <strong>Formula</strong> data type, then click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W1L26jbdKvWECewmIksGIQ.png" /></figure><p>For Field Label, enter Previous No Shows. Select <strong>Number</strong> for the formula return type, and select <strong>0</strong> for decimal places. Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJv3FfMr5AuCekbo9ZYhTQ.png" /></figure><p>Click the <strong>Advanced Formula</strong> tab and click <strong>Insert Field</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FBRNpd2T54znSUGHQAXNkw.png" /></figure><p>With the Reservation object selected, click <strong>Contact &gt;</strong>.</p><p>Select <strong>Previous No Shows</strong> and click <strong>Insert</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xrUzebCANsLMWEhm3BZkWQ.png" /></figure><p>Leave the default options for field-level security and click <strong>Next</strong>.</p><p>Leave the default options for page layouts. Then click <strong>Save</strong>.</p><p><strong>Add an Upcoming Reservation to Your Prediction</strong></p><p>Next, on the Reservation object, create a future reservation so that Einstein can start scoring your prediction data. For this to happen, Einstein Prediction Builder needs at least one record to predict so you can build the prediction.</p><p>In the Quick Find box, enter Reservations and select the object &gt;&gt; On the Reservations tab, click New to create a reservation &gt;&gt; Enter a reservation date and time in the future. For example, on New Year’s Eve at 7:00 pm &gt;&gt; In the Contact field, enter Ab Spellman as your reservation contact &gt;&gt; In the Status field, select Upcoming to schedule a future booking &gt;&gt; Leave the party size of 2, and click <strong>Save</strong>.</p><h4>Build a Prediction</h4><p><strong>Time to Create Your Prediction</strong></p><p><strong>Steps: </strong>In the Quick Find box, enter Einstein Prediction Builder and select <strong>Einstein Prediction Builder</strong>. Or, click <strong>Get Started</strong> on the Einstein Prediction Builder tile &gt;&gt; If this is the first time you’re using Einstein Prediction Builder in this special new org, click <strong>Review Terms</strong> and read all the terms to try Einstein Prediction Builder. Then select <strong>I’m authorized by my company to accept these terms</strong>, and click <strong>Try Einstein</strong>. &gt;&gt; On the splash page, click <strong>Get Started </strong>to set up and launch Einstein Prediction Builder. If you’re still waiting after a few minutes, refresh your browser to see if you can start building your prediction. &gt;&gt; Click <strong>New Prediction</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QoK5nfHp1B4iawdP5k9jVA.png" /></figure><p>On the Name &amp; Type page, enter No Show Prediction for your prediction name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*97SeyreaH5YZtp6o3Q5kWw.png" /></figure><p>To define your prediction type, select the <strong>Yes/No </strong>prediction because we’re predicting whether or not a customer is likely to be a no-show. Then click <strong>Save &amp; Next</strong>.</p><p>On the Object page, enter <strong>Reservation</strong> and select the object. Then click <strong>Save &amp; Next</strong>. Data Checker automatically checks if you have enough records in your dataset for Einstein to build a prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gwcNT-KvefNPAXWh_965xQ.png" /></figure><p>On the Segment page, specify which reservation records you want Einstein to consider. In this case, leave the default All Reservations option selected. Then click <strong>Next</strong>.</p><p>On the Example Records page, define your example or training set. You want to use past reservations to find out whether customers are likely to be no-shows or not.<br>First, specify the Yes Example. Leave the default <strong>Meet All Conditions</strong> selection for your filter. Select the <strong>Status</strong> field, the <strong>Equals</strong> operator, the <strong>Picklist</strong> type, and the <strong>No Show</strong> value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5hF73KJQECqyHrAqtVpjzw.png" /></figure><p>Now define the No Example. Leave the default <strong>Meet All Conditions</strong> selection for your filter. Select the <strong>Status</strong> field, <strong>Equals</strong> operator, <strong>Picklist</strong> type, and <strong>Completed</strong> value. Then click <strong>Save &amp; Next</strong>. If Data Checker shows “0 Records to predict” don’t worry! That’s just because you’re working in a simulated environment. After you build your prediction and verify this step, lots of records will have predicted values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3Gvi6Fvn_mN68aTif2Big.png" /></figure><p>On the Included Fields page, review the fields for Einstein to analyze to make a prediction. In this case, leave all the fields selected, and click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ao8-Go0pBk7MQfosw1py3Q.png" /></figure><p>On the Records to Predict page, select <strong>Predict on all records that aren’t example records</strong>. Then click <strong>Next</strong>.</p><p>On the Score Field page, name the field where Einstein saves your prediction results (scores). Enter Predicted No Show for the Field Label and tab to populate the field name. Then click <strong>Save &amp; Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMxAOrWapBfDgfuklLYeYg.png" /></figure><p>On the Review &amp; Build page, review your prediction settings. To make a change, go to the relevant page to adjust your selections. Data Checker runs one final time to make sure Einstein can build a prediction based on the way you’ve set up your data. Once you’re satisfied, click <strong>Build</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SvlSXh_CyzT755w-UEBWwQ.png" /></figure><p>It can take a few hours for Einstein to analyze your data and build predictions. Although the process seems a lot faster in this project, it may still take at least 30 mins to score your prediction.</p><p>Once building has finished, you’ll find your prediction in the List View in Einstein Prediction Builder. On the No Show Prediction, navigate to the bottom right icon and click V<strong>iew Scorecard.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wzR-xvLhkc18b-bc947KhQ.png" /></figure><p>The scorecard lets you understand the prediction quality so you can decide whether or not to enable the prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RtCXtIm009lrX3yh0JfsWA.png" /></figure><p>On your prediction, navigate to the bottom right icon once again. Then click <strong>Enable </strong>so Einstein can start scoring your prediction data.</p><p>Click <strong>Verify Step</strong> and proceed to the next step in the project.</p><h4>Create a List View for Your Predictions</h4><p><strong>See Your Predictions in One Place</strong></p><p>The list view makes it easy to prioritize your confirmation calls.</p><p><strong>Steps: </strong>Click App Launcher Icon and select <strong>Reservations &gt;&gt; </strong>Click <strong>Reservations</strong> in the navigation bar. Now you’re looking at a list of all your reservations. Let’s make a list of only those you need to call to confirm. &gt;&gt; Click Gear Icon and select <strong>New</strong> to create a list view. &gt;&gt; For List Name, enter Call to Confirm. &gt;&gt; Select <strong>All users can see this list view</strong> and click <strong>Save &gt;&gt; </strong>Click Gear Icon again and choose <strong>Select Fields to Display</strong>. In the Available Fields list, select these fields and use the right arrow to move them to the Visible Fields list.</p><ul><li>Contact</li><li>Predicted No Show</li><li>Status</li></ul><p>Click <strong>Save</strong>. &gt;&gt; If you don’t see a Filters panel, click the filter icon to display it. Click <strong>Add Filter</strong>. &gt;&gt; For Field, select <strong>Status</strong>. For Operator, select <strong>equals</strong>, and for Value, select <strong>Upcoming</strong>. Click <strong>Done</strong> and <strong>Save</strong>. Now you see a list of all your upcoming reservations. &gt;&gt; Let’s narrow it further to see only those we want to call to confirm. Click <strong>Add Filter</strong> again. &gt;&gt; For Field, select <strong>Predicted No Show</strong>. For Operator, select <strong>greater or equal</strong>. Enter 20 for the Value. Click <strong>Done</strong>. &gt;&gt; In the Filters panel, click <strong>Save</strong>. Now you have a list of your riskiest reservations.</p><p>** To recap, in just a few steps, you let Einstein evaluate your reservations data and predict the likelihood that a reservation will be a no-show. Then you used those predictions to power a workflow that ultimately helps you fill more seats, increase efficiency, and work smarter.</p><p>Happy Learning! ✍️</p><p>Please follow me at Twitter : <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><h4>References:</h4><ul><li>Einstein AI Academy — <a href="https://einstein-ai-academy.herokuapp.com/">https://einstein-ai-academy.herokuapp.com/</a></li><li><a href="https://trailhead.salesforce.com/content/learn/projects/prediction_builder?trail_id=get_smart_einstein">https://trailhead.salesforce.com/content/learn/projects/prediction_builder?trail_id=get_smart_einstein</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=addc40aeb16b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : Part 2]]></title>
            <link>https://sunilbhardwaj1.medium.com/preparatory-notes-for-the-einstein-prediction-builder-accredited-professional-exam-part-2-d3ff98cd178d?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3ff98cd178d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[predictions]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 02:49:11 GMT</pubDate>
            <atom:updated>2023-06-25T03:03:32.746Z</atom:updated>
            <content:encoded><![CDATA[<h3>Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : Part 2</h3><ol><li><strong>Filter-Based Predictions with Einstein Prediction Builder</strong></li></ol><p><strong>Get Started with Einstein Prediction Builder</strong></p><ul><li><strong>Work Smarter with Einstein</strong> — Customers paying their Wi-Fi bills late lead to limited cash flow for the company, which in turn means you can’t pay your suppliers on time. This lack of predictability makes it tough to know which customers to prioritize in your communications. As an innovator, you are determined to find a way to minimize late invoice payments.</li><li><strong>Make Predictions with Einstein — </strong>Einstein Prediction Builder lets you make predictions about any custom object and most standard objects with just a few clicks. <br>If the Salesforce object that contains your prediction data already has a field that answers your prediction question, you can build a <strong>field-based prediction</strong>. If the predicted object doesn’t already have a correctly formatted field that answers your prediction question, no problem! <strong>Use filters to set up your prediction. </strong><br>Einstein Prediction Builder predicts the answers to <strong>yes/no questions and numerical questions</strong>.</li><li><strong>Understand the Lingo </strong>— The Avocado Framework can help you visualize the relationships between the sets of data. The “avocado” lays out the structure of the data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*t2BdZHxly4DEDBLvxcZIIg.png" /></figure><p><strong>Einstein Prediction Builder Terminology</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*-SVpTHuk71E5THi6vqU84A.png" /></figure><p><strong>Build the Foundation of Your Prediction</strong></p><p><strong>Filter-based prediction with Einstein Prediction Builder</strong></p><p><strong>Setup</strong> &gt;&gt; Locate the Einstein Prediction Builder tile and click <strong>Get Started</strong> &gt;&gt; <strong>Review Terms</strong> &gt;&gt; Check <strong>I’m authorized by my company to accept these terms</strong> &gt;&gt; Click <strong>Try Einstein</strong> &gt;&gt; Click <strong>Get Started</strong>. &gt;&gt; Click <strong>New Prediction</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*1fMHvzWi-5mHHSLY7GAA-Q.png" /></figure><p>On the Name &amp; Type page, name your prediction Late Invoice Payment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*pRMhBURQ9VsXYK0dYDh6_g.png" /></figure><p>Select the <strong>Yes/No</strong> prediction outcome. Then click <strong>Save &amp; Next</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*Qpf-hgpr5ncsEvIx1bncGA.png" /></figure><p>On the Object page, search for and select the first <strong>Invoice </strong>object. Then click <strong>Save &amp; Next</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*i1duO3gHLMJtyArg7F8FbQ.png" /></figure><p>On the Segment page, click <strong>Segment of Invoices</strong> to define your segment and include customers that <em>do not</em> have automatic payments &gt;&gt; Here, you&#39;ll select which records to include in your segment. In the Include Records That box, leave it as <strong>Meet All Conditions</strong>. In the Field box, search for and select <strong>Autopay</strong>. In the Operator box, click the down arrow and select <strong>Does not equal</strong>. In the Type box, leave it <strong>Boolean</strong>. In the Value box, click the down arrow, and select <strong>True</strong>. Then click <strong>Save &amp; Next.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*YY7NnndRskJ0v9KgH4JEgA.png" /></figure><p>Click <strong>Switch to Segment</strong>.</p><p><em>Einstein builds predictions on historical data</em>, so checking to make sure that your dataset is sufficient helps make a valid prediction. <em>Einstein requires a minimum of 400 existing records to build a prediction. For a binary (yes/no) prediction, we recommend a minimum of 100 records for each outcome.</em> It’s always a good idea to check the data before you go to the next step because it helps confirm that you have enough records in your dataset for Einstein to build a prediction.</p><p><strong>Build Your Prediction</strong></p><p><strong>Understand the Example Set</strong></p><p><em>To predict the answer to a yes/no question, Einstein needs example records where the answer is definitely yes (positive examples), and example records where the answer is definitely no (negative examples).</em> The <strong>example set</strong> is a set of data (usually from the past) you give Einstein to help it learn. Einstein can then predict results for records where we don’t know the answer to the question yet.</p><p><strong>Include and Exclude Fields</strong></p><p>When setting up your prediction, one of the steps involved is choosing which fields from your dataset to include. Since all of the predictive power comes from what data we choose for Einstein to analyze, selecting the right fields is important for getting accurate predictions.</p><p><strong>Fields to Include</strong></p><p>In short, include as much as you can. Use your knowledge of the business to choose which data is relevant. But remember, the more data you use in Einstein Prediction Builder, the better prediction it can be.</p><p><strong>Fields to Exclude</strong></p><p>In general, more data is better, but there are exceptions. <em>For example, exclude fields that can introduce hindsight bias. Hindsight bias happens when a field is used as a predictor whose value can only be known after the predicted event occurs.</em> Einstein automatically detects those but can miss some, so it’s always good to look through the fields yourself. <em>There are other reasons to exclude fields, such as ethical and legal concerns.</em></p><p>Let’s create the example set using yes/no examples.</p><ol><li>For the Yes Example, leave the default <strong>Meet All Conditions</strong> selection for your filter.</li><li>Select the <strong>Invoice Status </strong>field, the <strong>Equals</strong> operator, the <strong>Picklist</strong> type, and the <strong>Late</strong> value.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HU9MhnKQ5__sAs0bP_vEcQ.png" /></figure><p>3. For the No Example, leave the default <strong>Meet All Conditions</strong> selection for your filter.</p><p>4. Select the <strong>Invoice Status</strong> field, the <strong>Equals</strong> operator, the <strong>Picklist</strong> type, and the<strong> Paid on Time </strong>value. Click <strong>Save &amp; Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pbGsoDEFBIFShn73b6rTsA.png" /></figure><p>5. On the Included Fields page, review the fields for Einstein to analyze for the prediction. In this case, leave all the fields selected. Then click <strong>Next.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EkmUeW9HYNRyvgotS41xkg.png" /></figure><p>6. On the Records to Predict page, select <strong>Predict on all records that aren’t example records</strong>. Then click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7joieLreonpo5gEsdmhoOQ.png" /></figure><p>7. On the Score Field page, name the custom field that stores your prediction results. Name your Score Field Invoice Status Prediction.</p><p>8. Press <strong>Tab</strong> to auto-populate the API Name field. Click <strong>Save &amp; Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L3NUoKRAGIsNNZ_J87aEqQ.png" /></figure><p>9. Review your settings. To make a change, click <strong>Back</strong>.</p><p>10. When you’re satisfied with your settings, click <strong>Build</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mxONNaXyp0f1cbaNd0qh4g.png" /></figure><p>It can take anywhere between 30 minutes to 24 hours to evaluate your prediction, depending on the size of your dataset.</p><h4>Analyze Your Scorecard and Troubleshoot Errors</h4><h4>Understand Your Scorecard Results</h4><p>After your prediction is finished building, view the results on the Einstein Prediction Builder scorecard. The scorecard reveals the big-picture metrics, like prediction quality and top predictors.</p><p>Since it takes anywhere from 30 minutes to 24 hours for Einstein to return results, let’s review a scorecard that’s already complete.</p><p>From the Setup page of Einstein Prediction Builder, click the dropdown arrow and select <strong>View Scorecard</strong>.</p><p>This takes you to the <strong>Overview</strong> <strong>tab of the scorecard</strong>, where you get a high-level summary of your prediction. The first thing to notice is the <strong>Prediction Quality graph</strong>, which gives an estimate of how accurate your prediction is expected to be. The <strong>Top Predictors</strong> are the top-five field values with the strongest impact on your prediction. Remember, each predictor is made up of a field and a value. Each predictor has an impact score, which is a number between 0 to 1 that represents the strength of the relationship between the predictor and the predicted outcome. So the higher the impact, the bigger the influence of the field on the predicted outcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nuZtxJtmIh36f7NkR22Bxg.png" /></figure><p>Click the <strong>Predictors</strong> tab to look at other fields that influence your score. You can view all the fields included in your prediction: their value, impact, and correlation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rz99ae57bVoUgGKJ0MFKrw.png" /></figure><p>Correlation is a number from -1 to 1 that represents the direction of the relationship between the predictor and the predicted outcome. A positive value means that the predictor and predicted outcome tend to increase together, and a negative value means that one increases while the other one decreases. So if you see a negative value, remain calm and know that it’s the direction of the relationship, not necessarily a bad outcome. Just remember, a positive correlation means that the predicted outcome is more likely to happen, and negative means it’s less likely to happen.</p><p>When you’re done reviewing your prediction, go back to the <strong>Overview</strong> tab. If you’re satisfied with your prediction quality, click <strong>Enable</strong>. This activates the initial scoring of your data, and all the records in your prediction set will get a score stored in the custom field you created within the setup flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERaBtkKbD1Ye6A2E6IX7cw.png" /></figure><p>The scorecard is the first stop to learn about the quality you can expect from your predictions. Furthermore, it gives an overview of the data used in the prediction and which predictors were most useful in making this prediction.</p><p><strong>Monitor and Utilize Your Prediction</strong></p><p>Actionable ways to monitor your prediction can be found here: <a href="https://admin.salesforce.com/blog/2020/einstein-prediction-builder-how-do-i-know-if-my-prediction-is-working?_ga=2.160557309.1169089140.1687609355-1078340558.1683863603">Einstein Prediction Builder: How Do I Know If My Prediction Is Working?</a></p><p>After monitoring your prediction, you can begin using it. Here are some ways to use the prediction you created in Salesforce.</p><ul><li>Add the Invoice Status Prediction field to a list view and sort the scores descending so higher scores appear at the top. Invoices that are more likely to be paid late are listed at the top for everyone’s attention.</li><li>Add the <a href="https://help.salesforce.com/articleView?id=custom_ai_prediction_builder_top_predictors_setup.htm&amp;type=5">Einstein Predictions component</a> to the Invoice record page layout, so you and your users can see the top predictors that influence the score. The Top Predictors component gives you helpful information when you reach out to each customer.</li><li>Use your prediction along with business rules in an Einstein Next Best Action strategy or with Flow Builder.</li></ul><h3>Common Errors and Troubleshooting</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*BG4tF8G39DSVAwJ2k0-bLA.png" /></figure><p>Here’s the high-level recap of the Einstein Prediction Builder process.</p><ul><li>Step 1 — Define Your Use Case.</li><li>Step 2 — Identify the Data That Supports Your Use Case.</li><li>Step 3 — Create Your Prediction.</li><li>Step 4 — Review, Iterate, Enable, and Monitor Your Prediction.</li><li>Step 5 — Build the Prediction into Your Business Workflow.</li><li>Step 6 — Measure Success and Iterate.</li></ul><p>Happy Learning! ✍️</p><p>Please follow me at Twitter : <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><h4>References:</h4><ul><li><a href="https://medium.com/salesforce-einstein-platform/outline-74a8a5eb83a"><em>Blog Post</em>: New in the Spring ’20 Release: Filter-Based Predictions!</a></li><li><a href="https://medium.com/salesforce-einstein-platform/einstein-prediction-builder-which-fields-should-i-include-or-exclude-from-my-model-eae37f231dac"><em>Blog Post</em>: Einstein Prediction Builder: Which Fields should I include or exclude from my model?</a></li><li><a href="https://medium.com/salesforce-einstein-platform/einstein-prediction-builder-understanding-your-scorecard-metrics-7e1ef4bba65b"><em>Blog Post</em>: Understanding Your Scorecard Metrics</a></li><li><a href="https://medium.com/salesforce-einstein-platform/einstein-prediction-builder-how-to-turn-your-idea-into-a-prediction-8393c1319205"><em>Blog Post</em>: Einstein Prediction Builder: How to Turn Your Idea Into a Prediction</a></li><li>Actionable ways to monitor your prediction : <a href="https://admin.salesforce.com/blog/2020/einstein-prediction-builder-how-do-i-know-if-my-prediction-is-working?_ga=2.160557309.1169089140.1687609355-1078340558.1683863603">Einstein Prediction Builder: How Do I Know If My Prediction Is Working?</a></li><li>How to Build an AI Prediction — <a href="https://c1.sfdcstatic.com/content/dam/web/en_us/www/documents/guides/e-050-einstein-prediction-builder-guide-final.pdf">AI Predictions Guide</a></li><li>Einstein AI Academy — <a href="https://einstein-ai-academy.herokuapp.com/">https://einstein-ai-academy.herokuapp.com/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3ff98cd178d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[If You Like To Achieve the ‘Tableau Desktop Specialist Certification’ Read This Book]]></title>
            <link>https://sunilbhardwaj1.medium.com/if-you-like-to-achieve-the-tableau-desktop-specialist-certification-read-this-book-6e3584c99991?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e3584c99991</guid>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Tue, 14 Feb 2023 08:28:43 GMT</pubDate>
            <atom:updated>2023-02-14T08:28:43.527Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A prep guide with multiple learning styles to help you gain Tableau Desktop Specialist certification</blockquote><p>Data Visualization uses maps, graphs, charts, and other visual elements to depict a dataset or information. Data visualization aids in the comprehension of a dataset’s trend, insights, patterns, and other relationships.</p><p>Tableau is a data visualization tool for businesses that allows users to create interactive data visualizations in minutes using its user-friendly drag-and-drop interface. Tableau enables easy movement between overall data sets and in-depth analytical data sets to draw smart conclusions.</p><p>Tableau also allows users to add colors, widths, depths, pictures, animations, and more to their tables. As a result, once complex data sets can now be easily understood and presented to external stakeholders.</p><p>The software is primarily used to extract business intelligence from massive amounts of data, including social media interaction, sales figures, or any other metric that could assist an organization or corporation make decisions.</p><p>Adam Mico in his new book for the <strong>Tableau Desktop Specialist Certification</strong> focus on the new format, which has new and more complex challenges compared to the prior version. (A<strong>vailable on Amazon — </strong><a href="http://packt.link/ckXQ3"><strong>http://packt.link/ckXQ3</strong></a>)</p><p>Adam Mico is the principal, data visualization and enablement at Moderna. Before that, he worked as a Tableau evangelist for Keyrus US. He is a two-time Michael W. Cristiani Community Leadership Award winner (Tableau Conference). He is also a Tableau visionary, mentor, Tableau Speaker Bureau member, and a Tableau ambassador.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*qkMe0wP4p9UH4hrgoQXlKw.jpeg" /><figcaption><strong>Tableau Desktop Specialist Certification By Adam Mico</strong> <strong>available on Amazon — </strong><a href="http://packt.link/ckXQ3"><strong>http://packt.link/ckXQ3</strong></a></figcaption></figure><p>In this article, I will give a quick review of this book and discuss what it covers and why you should read and how to get the most out of it.</p><h4><strong>Table of content:</strong></h4><ol><li>What does this book cover</li><li>Why you should read this book</li><li>How to get the most out of this book</li></ol><h4>1. What does this book cover</h4><ol><li>Tableau Desktop Specialist Certification Overview</li><li>Data Ingestion</li><li>How to Interpret the Data in a Data Visualization</li><li>Working with Dimensions, Measures, and Marks</li><li>Calculations and Functions Syntax</li><li>Connecting to and Preparing Data</li><li>Understanding and Creating Fundamental Charts in Tableau</li><li>Data Organization and Worksheet Analytics</li><li>Sharing insights</li><li>Exam Preparation</li><li>Mock Tests</li></ol><h4>2. Why you should read this book</h4><ol><li>This book gets you started by covering the exam format, Tableau basics, and best practices for preparing data for analysis and visualization. It also builds on your knowledge of advanced Tableau topics to get you up to speed with the essential domains and domain objectives. Although the guide provides an outline and starting point to key in on what needs to be understood before the examination, it also delivers in context to give you a strong understanding of each piece before taking the exam. Instructions on how to get hands on with examples, a common data source, and suggested elements are also included. Understanding the concepts will not only assist you in passing the examination, but will also help you work effectively with the tool in your workspace.</li><li>By the end of this book, you will have the knowledge to not only pass the examination but also begin working in the field of data visualization. You will be able to build charts and dashboards, understand the terminology, create calculations, provide analytics, and learn formatting in Tableau. This book is also helpful for those that are required to upskill quickly for data analytics or consulting roles. Besides that, if questioned in an interview for a job requiring fundamental knowledge of Tableau, you will have the tools to confidently respond to those questions.</li></ol><h4><strong>3. How to get the most out of this book</strong></h4><p>This book is aimed at those who are new to Tableau or have never opened the application. It assumes no knowledge of Tableau. Although all exercises come with step-by-step instructions and prior knowledge is not required, having a background in Excel formulas, SQL, and/or using data visualizations in another tool will reduce the learning curve and help you pick things up quicker. You will need to set aside 25–40 hours over 2 weeks to read, practice, take the mock exam, and review the additional study materials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*PAdP828szn_bl5groGN7pA.png" /></figure><p><em>Throughout the book, you will be working with examples utilizing Tableau Desktop. To get the most from the book, please download the Tableau Desktop application, which offers a free trial for 2 weeks every time a new version is released. However, downloading the free Tableau Public application will give you most of the features and a playground to publish exercises for absolutely no cost.</em></p><p>In conclusion, this book is extremely recommended if you would like to learn and master Tableau fundamentals and get the one and only Tableau certification that never expires, while expediting your journey from zero to certification in a very practical way with a lot of hands-on examples and exercises.</p><p><em>Thanks for reading! If you like the article make sure to clap (up to 50!) and connect with me on </em><a href="https://www.linkedin.com/in/sunilbhardwaj10"><em>LinkedIn</em></a><em> and follow me on </em><a href="https://sunilbhardwaj1.medium.com/"><em>Medium</em></a><em> to stay updated with my new articles.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e3584c99991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : Part 1]]></title>
            <link>https://sunilbhardwaj1.medium.com/preparatory-notes-for-the-einstein-prediction-builder-accredited-professional-exam-part-1-726e49c86de4?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/726e49c86de4</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 12:46:33 GMT</pubDate>
            <atom:updated>2022-12-13T12:46:33.295Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Preparatory Notes for The Einstein Prediction Builder Accredited Professional exam : </strong>Part 1</h4><h4><strong>Einstein AI Fundamentals</strong></h4><p><strong>Artificial Intelligence for Business — </strong>To use artificial intelligence to meet our business needs.</p><ol><li><strong>Technologies that comprise artificial intelligence solutions</strong> — The four main ingredients are : yes-and-no predictions, numeric predictions, classifications &amp; recommendations.</li></ol><p><strong>Yes-and-No Predictions — </strong>Examples: Is this a good lead for my business?” or “Will this prospect open my email?</p><p>Yes-and-no predictions generally come in the form of a <strong><em>probability</em></strong> (for example, “Mary Smith has a 67% chance of opening this type of email). But sometimes probabilities are converted into scores. <strong><em>Scores</em></strong> are just a different representation of the likelihood of “yes”; they can be represented as numbers on a numeric scale (for example, 0 to 100) or even as the number of stars on a five-star rating survey. Keep in mind that these scores are just showing the same probability in a different way.</p><p><strong>Numeric Predictions — </strong>Examples: “How much revenue will this new customer bring in?” or “How many days will it take us to resolve this customer’s issue?”</p><p><strong>Classifications — </strong>Classifications frequently use “deep learning” capabilities to operate on unstructured data like free text or images. The idea behind classification is to extract useful information from unstructured data &amp; answer questions like, “How many soda cans are in this picture?” It can even take a statement like, “I’d like to buy another pair of the same shoes I bought last time,” &amp; use that to kick off a workflow that can look up the last shoe order &amp; place the same pair of shoes in their online shopping cart.</p><p><strong>Recommendations — </strong>Recommendations are key when we have a large set of items that we’d like to recommend to users. Many ecommerce websites apply recommendation strategies to products; they can detect that people who bought a specific pair of shoes also often order a certain pair of socks. When a user puts those shoes in their cart, AI automatically recommends the same socks.</p><p><strong>Role of workflow and rules in using AI predictions</strong></p><p>Workflow and rules aren’t technically part of AI, but they’re an essential part of how AI is used. Take the following example. Let’s say that AI predicts a given customer has a 25% likelihood of not renewing their contract. Just knowing this is not enough — we need to do something about it. That’s where workflow and rules come into play. In this example, our workflow might mean kicking off a retention campaign when the AI predicts that a customer is unlikely to renew.</p><p><strong>2. Take the First Steps in Using Artificial Intelligence for the Business</strong></p><p>The <strong>first step</strong> in using AI effectively is to figure out just how to tell it what we really want to achieve. We do this by clearly defining, in measurable terms, what we are trying to predict.</p><p>The <strong>second step</strong> in using AI effectively is getting our historical data in order. As the saying goes, “The best predictor of future behavior is past behavior” and this also holds true for artificial intelligence.</p><p>The <strong>last step</strong> is to turn prediction into action. To make the most out of AI we must have a concrete definition of what outcomes we want to optimize, historic data to train on, and a plan of action for how to use predictions.</p><p><strong>3. Use Artificial Intelligence to Meet Our Business Needs</strong></p><p>Different parts of a business can use AI to improve their business outcomes.</p><p><strong>a) Marketing</strong> — Marketing is a great place for AI because companies usually have lots of data that can be used to target communications and send relevant messages.</p><p>If you’re marketing through email, there are a few questions that can have a huge impact on your <strong><em>campaigns</em></strong>. Will your customers open the email? Will they click through it? Will they act on it? Will they unsubscribe? These are yes or no questions that AI can use to make predictions about future recipients. This means you can send emails to prospects who are likely to open them without unsubscribing. It also means you can know the right channel to use for every customer, such as using push notifications instead of emails.</p><p>AI can also help send messages at the right time using <strong><em>Send Time Optimization</em></strong>. Send Time Optimization helps predicts the best time to send a communication for the highest response rate, specific to each person. You also want to send the right number of messages so you don’t accidentally annoy the customer to the point that they unsubscribe. With tools like <strong><em>Einstein Engagement Frequency</em></strong>, AI predicts the right number of communications to send without going overboard.</p><p>AI also uncovers why questions are answered the way they are. <strong><em>Market insights </em></strong>that might be overlooked by us humans are identified by AI and can be used to craft better communications that resonate with your customers.</p><p><strong>b) Sales Productivity </strong>— AI can elevate your sales game by using historical sales data to predict the best possible sales opportunities. Imagine an inside sales rep who has a list of leads, organized by how likely they’ll convert. That rep is going to spend his time connecting with customers at the top of the list and avoiding cold leads.</p><p><strong>c) Customer Service</strong> — AI could help by reading through emails, doing the case classification based on past inquiries, and then automatically routing the emails to the right person. Cases will get into the hands of the right agent faster Or AI could scan those notes in real time and recommend relevant articles that are known to solve similar problems. This new agent provides highly informed support even on their first day on the job.<br>Finally, instead of tying up an agent, customers can start a conversation with a chatbot.</p><p><strong>d) Retail and Commerce</strong> — When shoppers browse online stores, they want an experience that caters directly to them. AI can meet this expectation by producing personalized recommendations for your customers. Historic data tells AI which products are frequently bought together. So if a customer chooses a product, your site can automatically show an offer for a discounted bundle, right on the product page.</p><p><strong>Salesforce Einstein Basics</strong></p><p>Einstein is Your Smart CRM Assistant, and it can be viewed as two categories.</p><ol><li>Einstein Out-of-the-Box Applications</li><li>Einstein Platform</li></ol><p><strong>Einstein Out-of-the-Box Applications</strong></p><p>Einstein infuses AI into all of the Salesforce apps (Sales Cloud, Service Cloud, and so on) — a built-in smart assistant — so that every business user in every role, function, and industry can be assisted right inside of the Salesforce product that they use every day.</p><p><strong>Einstein Platform</strong></p><p>The Einstein Platform includes powerful tools that allow admins and developers to build a customized smart assistant for their business. You can build an assistant that uses voice input, natural language understanding, voice output, intelligent interpretation, and agency components to better help your business interact with and understand its customers. You can also build capabilities that allow your customers to interact with smart assistants, giving quick answers to questions they have, and solving routine cases for them.</p><p>With as little friction as possible, Einstein allows all Salesforce users to:</p><ul><li><strong>Discover</strong> insights that bring new clarity about your company’s customers.</li><li><strong>Predict</strong> outcomes so your users can make decisions with confidence.</li><li><strong>Recommend</strong> the best actions to make the most out of every engagement.</li><li><strong>Automate</strong> routine tasks so your users can focus on customer success.</li></ul><p><strong>Einstein can Specifically Benefit My Business</strong></p><p>In <strong><em>IT</em></strong>, Einstein helps build intelligent apps, business processes, and workflows for every function and industry.<br>In <strong><em>Sales</em></strong>, Einstein helps guide reps to the best leads and opportunities so they increase conversion rates, and close more deals.<br>In <strong><em>Service</em></strong>, Einstein helps customers find answers instantly on their channels of choice and helps agents resolve cases faster by triaging cases and recommending the right articles.<br>In <strong><em>Marketing</em></strong>, Einstein helps marketers send the right content, to the right customer, at the right time, on the right channel, thus increasing customer engagement.<br>And for <strong><em>Commerce</em></strong>, Einstein helps retailers recommend the best product to each customer, at the right time, boosting revenue.</p><h4>Einstein Out-Of-The-Box Applications</h4><h4><strong>1. Sales Cloud Einstein — For Sales rep.</strong></h4><ul><li>Boost win rates by prioritizing leads and opportunities most likely to convert.</li><li>Discover pipeline trends and take action by analyzing sales cycles with prepackaged best practices.</li><li>Maximize time spent selling by automating data capture.</li></ul><h4><strong>2. Service Cloud Einstein — For Service agents.</strong></h4><ul><li>Accelerate case resolution by automatically predicting and populating fields on incoming cases to save time and reduce repetitive tasks.</li><li>Increase call deflection by resolving routine customer requests on real-time digital channels like web and mobile chat or mobile messaging.</li><li>Reduce handle time by collecting and qualifying customer info for seamless agent handoff.</li><li>Solve issues faster by giving your agents intelligent, in-context conversation suggestions and knowledge recommendations.</li></ul><h4><strong>3. Marketing Cloud Einstein — for </strong>marketing team</h4><ul><li>Know your audience more deeply by uncovering consumer insights and making predictions.</li><li>Engage more effectively by suggesting when and on which channels to reach out to customers.</li><li>Create personalized 1:1 messages and content based on consumer preferences and intent.</li><li>Be more productive by streamlining marketing operations.</li></ul><h4>4. Commerce Cloud Einstein</h4><ul><li>Increase revenue by showing shoppers the best products for them, and eliminate the time-consuming activity of manually merchandising each individual page.</li><li>Create highly visual dashboards to get a snapshot of your customer’s buying patterns and use these dashboards to power up your merchandising.</li><li>Personalize the explicit search (search via the search box), implicit search (browsing in the storefront catalog), and category pages for every shopper, saving your customers time and bringing your business more revenue.</li></ul><h4>Einstein Platform Products</h4><ol><li>Einstein Bots — Einstein Bots allow you to build a smart assistant into your “customers” favorite channels like chat, messaging or voice. Einstein Bots use Natural Language Processing (NLP) to provide instant help for customers by answering common questions or gathering the right information to handoff the conversation seamlessly to the right agent for more complex questions or cases.</li></ol><p>2. Einstein Voice — Einstein Voice enables all users to talk to Salesforce from any device. Einstein Voice is broken down into two buckets: enabling your organization (Einstein Voice Assistant), and enabling your customers (Einstein Voice Bots), with a smart assistant they can talk to.</p><p>a) Einstein Voice Assistant — Using Einstein Voice Assistant, you can enable anyone in your organization to talk to Salesforce.</p><p>b) Einstein Voice Bots — With Einstein Voice Bots, your customers can interact with your brand with their voice.</p><p>3. Einstein Prediction Builder — Einstein Prediction Builder is a simple point-click wizard that allows you to make custom predictions on your non-encrypted Salesforce data, fast. You can create predictions for any part of your business — across sales, service, marketing, commerce, IT, finance, and even HR — with clicks, not code.</p><p>4. Einstein Next Best Action — Einstein Next Best Action (NBA) allows you to use rules-based and predictive models to provide anyone in your business with intelligent, contextual recommendations and offers. Actions are delivered at the moment of maximum impact — surfacing insights directly within Salesforce.</p><p>5. Einstein Discovery — Like Einstein Prediction Builder, Einstein Discovery also predicts outcomes without requiring your own data scientist.</p><p>6. Einstein Vision and Language — Einstein Vision and Language are a set of APIs and services for Salesforce developers to use to add deep-learning capabilities to any application, ultimately allowing end users to classify images and extract meaning from text.</p><p><strong>Einstein Vision</strong> consists of Einstein Object Detection and Einstein Image Classification. Together, these APIs harness and make sense out of unstructured data from images to help employees classify them at scale.</p><p>Reps at your business can take photos of the equipment, and with the help of <em>Einstein Image Classification</em>, they’d be able to understand whether the piece of equipment is damaged, where the damages are, and be given an estimate on how much it will cost to repair. This will take the guesswork out of inspecting all pieces of equipment, and it will save your reps a ton of time.</p><p><em>Einstein Object Detection</em> extracts and contextualizes objects in images.</p><p><strong>Einstein Language</strong> consists of Einstein Sentiment and Einstein Intent. Together, these APIs harness and make sense out of unstructured data from text to help better understand your customers.</p><p>Using positive and negative sentiment filters from <em>Einstein Sentiment</em>, your marketers understand who likes or dislikes the sweatshirts, and why they do, so that they can adjust their marketing tactics accordingly. Using <em>Einstein Intent </em>to categorize different text, your marketers can categorize what customers are saying about the product, whether they’re talking about the color, texture, durability, and more. This knowledge inherently your team become better marketers and better sellers.</p><h3>Responsible Creation of Artificial Intelligence</h3><ul><li>To remove bias from our data and algorithms to create ethical AI systems at our company.</li></ul><p><strong>Bias — </strong>In the context of statistics, bias is systematic deviation from the truth or error.</p><p><strong>Fairness — </strong>It is defined as a decision made free of self-interest, prejudice, or favoritism. In reality, it’s nearly impossible for a decision to be perfectly fair.</p><h3>Create an Ethical Culture</h3><ol><li>Build Diverse Teams.</li><li>Translate values into processes. — This can be put into practice by Incentive structures, Resources and Documentation and Communication.</li><li>Understand your customers.</li></ol><h4>Basics of Artificial Intelligence</h4><p><strong>Artificial intelligence — </strong>It is an umbrella term that refers to efforts to teach computers to perform complex tasks and behave in ways that give the appearance of human agency. Often they do this work by taking cues from the environment they’re embedded in. AI includes everything from robots who play chess to chatbots that can respond to customer support questions to self-driving cars that can intelligently navigate real-world traffic.</p><p><strong>Machine Learning (ML) — </strong>A<strong> </strong>specific technique that allows a computer to “learn” from examples without having been explicitly programmed with step-by-step instructions. Currently, machine learning algorithms are geared toward answering a single type of question well. For that reason, machine learning algorithms are at the forefront of efforts to diagnose diseases, predict stock market trends, and recommend music.</p><h4><strong>Types of bias that can enter an AI system</strong></h4><ol><li><strong>Measurement or Dataset Bias<br></strong>When data are incorrectly labeled or categorized or oversimplified, it results in measurement bias. Measurement bias can be introduced when a person makes a mistake labeling data, or through machine error. A characteristic, factor, or group can be over- or underrepresented in your dataset.</li></ol><p><strong>2. Type 1 vs. Type 2 Error<br></strong>Think of a bank using AI to predict whether an applicant will repay a loan. If the system predicts that the applicant will be able to repay the loan but they don’t, it’s a false positive, or type 1 error. If the system predicts the applicant won’t be able to repay the loan but they do, that’s a false negative, or type 2 error. Banks want to grant loans to people they are confident can repay them. To minimize risk, their model is inclined toward type 2 errors. Even so, false negatives harm applicants the system incorrectly judges as unable to repay.</p><p><strong>3. Association Bias<br></strong>When data are labeled according to stereotypes, it results in association bias.</p><p><strong>4. Confirmation Bias <br></strong>Confirmation bias labels data based on preconceived ideas.</p><p><strong>5. Automation Bias <br></strong>Automation bias imposes a system’s values on others.</p><p><strong>6. Societal Bias <br></strong>Societal bias reproduces the results of past prejudice toward historically marginalized groups.</p><p><strong>7. Survival or Survivorship Bias<br></strong>Sometimes, an algorithm focuses on the results of those were selected, or who survived a certain process, at the expense of those who were excluded.</p><p><strong>8. Interaction Bias<br></strong>Humans create interaction bias when they interact with or intentionally try to influence AI systems and create biased results.</p><h4><strong>Entry points for bias to enter an AI system</strong></h4><ol><li>Assumptions</li><li>Training Data</li><li>Model</li><li>Human Intervention (or Lack Thereof)</li></ol><h4><strong>Remove Bias from Your Data and Algorithms</strong></h4><h4>Manage Risks of Bias</h4><ol><li>Conduct Premortems</li><li>Identify Excluded or Overrepresented Factors in Your Dataset</li></ol><p>Below are a couple ways that we can address bias in our data.</p><p><strong>What: </strong>Statistical patterns that apply to the majority may be invalid within a minority group.</p><p><strong>How:</strong> Consider creating different algorithms for different groups rather than one size fits all.</p><p><strong>What: </strong>People are excluded from your dataset, and that exclusion has an impact on your users. Context and culture matter, but it may be impossible to see the effects in the data.<br><strong>How: </strong>Look for what researchers call unknown unknowns, errors that happen when a model is highly confident about a prediction that is actually wrong. Unknown unknowns are in contrast to known unknowns, incorrect predictions that the model makes with low confidence.</p><p>3. Regularly Evaluate Your Training Data</p><p>Happy Learning! ✍️</p><p>Please follow me at Twitter : <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><h4><strong>References:</strong></h4><ul><li>For <strong>Einstein AI Use Case</strong>, Please refer to the URL: <a href="https://rb.gy/r0vhgj">https://rb.gy/r0vhgj</a></li><li>For <strong>Einstein Cheat Sheet</strong> to review complete list of Einstein products, description and pricing, Please refer to <a href="https://rb.gy/gvylbb">https://rb.gy/gvylbb</a></li><li>For Video on Einstein AI Industry Positioning : <a href="https://rb.gy/3pffil">https://rb.gy/3pffil</a></li><li>For Einstein AI Use Case : <a href="https://rb.gy/r0vhgj">https://rb.gy/r0vhgj</a></li><li>For Einstein Cheat Sheet to review complete list of Einstein products, description and pricing: <a href="https://rb.gy/gvylbb">https://rb.gy/gvylbb</a></li><li><a href="https://trailhead.salesforce.com/content/learn/modules/artificial-intelligence-for-business">https://trailhead.salesforce.com/content/learn/modules/artificial-intelligence-for-business</a></li><li><a href="https://trailhead.salesforce.com/content/learn/modules/get_smart_einstein_feat">https://trailhead.salesforce.com/content/learn/modules/get_smart_einstein_feat</a></li><li><a href="https://trailhead.salesforce.com/content/learn/modules/responsible-creation-of-artificial-intelligence">https://trailhead.salesforce.com/content/learn/modules/responsible-creation-of-artificial-intelligence</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=726e49c86de4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Summary on My Accomplishments in 2021  ]]></title>
            <link>https://sunilbhardwaj1.medium.com/a-summary-on-my-accomplishments-in-2021-d933716a90ca?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d933716a90ca</guid>
            <category><![CDATA[trailhead]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[crm]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[trailblazercommunity]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Thu, 30 Dec 2021 12:10:32 GMT</pubDate>
            <atom:updated>2021-12-30T12:10:32.892Z</atom:updated>
            <content:encoded><![CDATA[<h4>1. Cleared Below Certifications &amp; became <strong>Salesforce Application Architect </strong>🤠</h4><p>✅ Salesforce Advanced Administrator — After 1 failed attempt</p><p>✅ Salesforce Sharing and Visibility Designer — After 2 failed attempts</p><p>✅ Salesforce Data Architecture and Management Designer — Cleared in First attempt</p><p>✅ Salesforce Development Lifecycle and Deployment Designer — Cleared in First attempt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gGuEuVYOkeuHwI4LqCyWLQ.jpeg" /><figcaption><strong>Salesforce Certifications Cleared in 2021</strong></figcaption></figure><h4><strong>2. Completed &gt; 200 badges &amp; achieved 5X </strong>Trailhead <strong>Ranger </strong>🐻</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*1pmxvDWKfP-GOmBDmDqwIw.jpeg" /><figcaption><strong>Trailhead Badges and Ranger Status as on 30-Dec-2021</strong></figcaption></figure><h4>3. Completed <strong>2 Super badges</strong></h4><p>✅ Tableau CRM and Einstein Discovery Insights Specialist 🏅</p><p>✅ Process Automation Specialist 🏅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WXfkrrNn47Lufb-hSKE4lw.jpeg" /><figcaption><strong>Trailhead Super badges</strong></figcaption></figure><h4>4. Recognized by my organization with <strong>Star Award</strong> for the data migration related deliverables on Salesforce Veeva application ⭐</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*Wi-i0qdn4GdCKNW0fvbp6w.jpeg" /><figcaption><strong>Star Award</strong></figcaption></figure><h4>5. Made a <strong>Job Change</strong> in my professional Career ‍💼</h4><h4>6. <strong>Cross skilled in Tableau</strong> by completing e-learning courses on Coursera and Udemy. 📈 📉</h4><h4>7. Got the opportunities for being a part of <strong>Trailhead Trailblazer Mentorship Program</strong> &amp; coached several mentees. 👨‍🏫</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BzYjRv-BZS1-MJwtFOKAHA.jpeg" /><figcaption><strong>Trailhead Trailblazer Mentorship Program</strong></figcaption></figure><h4>8. Also got opportunity from my organization to <strong>review resumes, conduct interviews and help trailblazers</strong> to land their dream jobs in Salesforce ecosystem. ☁️🌩</h4><p>📝<a href="https://emojipedia.org/writing-hand/">✍️</a> <em>Happy Learning!</em> 📝<a href="https://emojipedia.org/writing-hand/">✍️</a></p><p><strong>Please feel free to follow and connect me at:</strong></p><p>✔️<strong>Trailhead:</strong> <a href="https://trailblazer.me/id/sunilbhardwaj">https://trailblazer.me/id/sunilbhardwaj</a></p><p>✔️<strong>Twitter:</strong> <a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p>✔️<strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><p>🎉🎉 <strong>Wish You a Happy New Year 2022. All the Best!</strong> 🎯🎯</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d933716a90ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 6: Tableau CRM Dashboard Building Basics   ]]></title>
            <link>https://blog.devgenius.io/chapter-6-tableau-crm-dashboard-building-basics-29e9c739aa6?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/29e9c739aa6</guid>
            <category><![CDATA[einstein]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[tableau-crm]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Tue, 28 Dec 2021 11:44:00 GMT</pubDate>
            <atom:updated>2021-12-29T11:12:59.115Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The benefit of using a template to create a dashboard</strong></p><p>When we create a dashboard, we can start from scratch or use a template. Templates do the heavy lifting for us— they come with an industry-proven design &amp; suggested widgets.</p><p><strong>Create a Dashboard: </strong>App Launcher &gt;&gt; Analytics Studio &gt;&gt; Create | Dashboard &gt;&gt; Create Blank Dashboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*bv2AgCyxLSfJoeAYaHES5Q.png" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_dsjnev6R_VgBwCsO5reTg.jpeg" /><figcaption><strong>Figure 2 (To add a title to the dashboard, drag a </strong><em>text widget</em><strong> from the widget toolbar to the top left corner of the dashboard canvas.)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-GTjdiIPncqgHuBmD5o-Wg.jpeg" /><figcaption><strong>Figure 3 (To change the default text, enter “Sales Performance” in the Text widget property)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*ArZF5JX3ogNPmDx-15B9Hw.jpeg" /><figcaption><strong>Figure 4 (Drag a </strong>container widget<strong> to the top right corner, below the text widget)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*CklTcvlLOXKZZEuqarMbHg.jpeg" /><figcaption><strong>Figure 5 (Drag a new </strong>text widget<strong> inside the top left corner of the container widget &amp; change the text to “Key Metrics. Add three </strong>number widgets<strong> under the Key Metrics text widget.)</strong></figcaption></figure><h4>Calculate Key Metrics to Measure the Success of Business</h4><p>One of the key purposes of a dashboard is to give us quick insights into our business. That usually means providing key measurements of business, such as the following:</p><ul><li>Total number of deals</li><li>Average deal size</li><li>Average case resolution time</li><li>CSAT score</li><li>Total opportunity value generated by a marketing campaign</li></ul><p>To know the value of opportunities currently in the pipeline, &amp; how much was won as well as lost — The best way to represent those metrics is with <strong>number widgets</strong>.</p><h4>How Much Open Opportunity Is in the Pipeline?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*sG4UFiDc0jPLiHHnepcp9A.jpeg" /><figcaption><strong>Figure 1 (While Sales Performance dashboard is in edit mode, hover over the center of the top number widget &amp; click 123 Number)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*At8ujPa951KaexkrHGcY4A.png" /><figcaption><strong>Figure 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*ul9rGv-REhynobI8dR7j9g.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*Q6malc2TyIrIIve5cDADBQ.png" /><figcaption><strong>Figure 4 (Select all values, except 08 — Won &amp; 09 — Los)</strong></figcaption></figure><p>To apply the filter, click <strong>Add</strong>. &gt;&gt; To label the query, click the Edit button next to Untitled Query &amp; then enter Open Opp Amount. &gt;&gt; Done</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/0*3L_E5mycd3qGd8jb.png" /></figure><p><strong>Note: </strong>Query labels are important because they help us identify the query when we want to apply it to a widget. Specify the label while we create the query because Analytics generates the ID based on the label. After creating the query, we can’t change the ID, unless we edit the JSON. (Analytics uses IDs to identify queries behind the scenes — in the dashboard JSON.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/1*1sxE1Yy3vPwQ_GL_htuolA.png" /><figcaption><strong>Figure 5</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*_nwO5IAM_DVylVOYyOLeVA.jpeg" /><figcaption><strong>Figure 6</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*qXUUXmgMGrEOzTN6Z7_6Kw.png" /><figcaption><strong>Figure 7</strong></figcaption></figure><h4>How Much Business Has Already Closed?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3yd457p2TJX5psUNLqNejg.jpeg" /><figcaption><strong>Figure 1 (To clone the query, click Step Actions button &amp; then Clone Step button. Notice that the explorer retains the query)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*PCAHHK3Bc_D4Nuk8Ap6XQw.png" /><figcaption><strong>Figure 2 (Let’s change the filter to show won opportunities instead of open opportunities in this cloned query)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*GAkYhB-cG1KgU--VkGQLyw.jpeg" /><figcaption><strong>Figure 3 (Remove all selections in the Stage filter, &amp; then select only 08 — Won.)</strong></figcaption></figure><p>Click <strong>Update &gt;&gt; </strong>Set the label to Won Opp Amount &gt;&gt; Click <strong>Done</strong>.</p><p>To view the query panel, click an empty space at the bottom of the dashboard canvas. The query panel shows all queries defined in the dashboard, even if they aren’t used by any widgets. The panel shows the IDs &amp; labels.</p><p>Drag the new Won Opp Amount query on top of the second number widget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*IPqGc7SVmXyTGN6mBiRQLw.jpeg" /><figcaption><strong>Figure 4 (This widget now shows the total value of all won opportunities.)</strong></figcaption></figure><p>Build the third number widget to show the lost opportunities. Select <strong>09 — Lost</strong> as the stage filter, enter Lost Opp Amount as the label, change the widget title to Lost Opportunities, select <strong>Shorten number</strong>, &amp; increase the number size to 20.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*yj5vpXxsyhjPv3Bfcs_z4w.jpeg" /><figcaption><strong>Figure 5 (Key Metrics with Three Number Widgets)</strong></figcaption></figure><h4>Charts and Tables Work Together to Give the Entire Picture</h4><p>Charts visualize our data so we can quickly get summaries, make comparisons, &amp; identify trends. When we need a close-up view, tables provide us with record-level details. For example, a chart shows the total value of each sales rep’s opportunities, &amp; the table shows details about each opportunity record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oShI8VKXX67zEJIfXYpDDA.gif" /><figcaption><strong>Figure 1</strong></figcaption></figure><h4>Rank Sales Reps and See Who Hit Quota</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0lJAjhq1mb3_QxWC7yRk6w.jpeg" /><figcaption><strong>Figure 1 (While in edit mode, drag a chart widget (1) to the dashboard canvas, then click Chart (2))</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hxznpLXgRgjZTv1CZ7IaVw.jpeg" /><figcaption><strong>Figure 2 (Set the label to Opp Amount by Owner &amp; Type)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*FSM9DjAA0WnW0L77HTZdSQ.png" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*enOY5pcCb1Lweq8z1umA-w.png" /><figcaption><strong>Figure 4</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*kjqmIW920XUnApdvRRQzRg.png" /><figcaption><strong>Figure 5</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*Xvk4oxwKEMqLg24GXiAIfw.jpeg" /><figcaption><strong>Figure 6</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QwByTNp6gLlOEMiDfZWmMg.jpeg" /><figcaption><strong>Figure 7</strong></figcaption></figure><h4>Which Opportunities Are We Talking About?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*CYNdMuuvgDLCTo66FJm44A.jpeg" /><figcaption><strong>Figure 1 (Drag a table widget from the toolbar to the canvas then click Table)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*1L-k7G1LjIK_2BW21XuKgQ.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/1*3aYlWI2gpqWeF7TRBmvG5Q.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*Xbgh6kF2JgEMvHzlNaFY8A.jpeg" /><figcaption><strong>Figure 4</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*3alSbP3pSa5J4bHfns-s8A.jpeg" /><figcaption><strong>Figure 5</strong></figcaption></figure><h4>Add Selectors That Allow Users to Filter the Dashboard Results</h4><p>There are two types of filter widgets:</p><ol><li><strong>Global filter panel widgets — </strong>Use a global filter to apply the same filter to multiple queries in the dashboard. We can specify which queries to apply the global filters to &amp; enable the users to change the filters while viewing the dashboard.</li><li><strong>Selection-based widgets — </strong>Like global filters, filters in selection-based widgets can be changed by users viewing the dashboard. Unlike global filter widgets, selections in these widgets can also trigger selection bindings, which can dynamically change other query parameters (like measures &amp; groupings) or widget properties (like reference lines).</li></ol><p>The dashboard designer provides four types of selection-based widgets: date, list, range, &amp; toggle. Use a <em>date widget</em> to filter on a date. Use a <em>list or toggle widget</em> to filter on a dimension. Use a <em>range widget</em> to filter on a measure.</p><h4>How Well Is Each Sales Rep Performing?</h4><p>To see the value of open &amp; won opportunities of each rep &amp; see his opportunity records.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5onkXjpkl6TInzrFgoiwhg.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*U1Hz-8Crgd5S5k-Y7qkHwA.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><p>To enable users to filter on the sales rep, click the panel widget, select the <strong>DTC Opportunity</strong> dataset &amp; the <strong>Opportunity Owner</strong> field. &gt;&gt; Click <strong>Create</strong> to create a filter based on this dataset field &gt;&gt; Save the changes to the dashboard. Those viewing the dashboard can now use this filter to focus on a particular rep.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/1*Dyh4vWyIka7QJ46Z50MG2Q.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><h4>What Does the Pipeline Look Like?</h4><p>To verify whether there’s enough opportunity at each stage so that the pipe doesn’t dry up. This help reps move their leads to closed deals &amp; find out who already made quota based on the Closed Won stage.</p><p>In the global filter panel widget, select <strong>All Global Filters &gt;&gt; </strong>Click <strong>Manage Global Filters &gt;&gt; </strong>Click <strong>Add Global Filter</strong>, select the <strong>DTC Opportunity</strong> dataset, select <strong>Stage</strong>, &amp; then click <strong>Create</strong>. &gt;&gt; Save the dashboard.</p><h4>How Is Each Product Line Doing?</h4><p>To filter by product family can help the sales team focus on the sales for each product line.</p><p>Add another global filter based on the <strong>Product Family</strong> field. &gt;&gt; To create a filter, click <strong>Add Global Filter</strong> | <strong>Create</strong>.</p><h4>How Much Are These Opportunities Worth?</h4><p>Let’s build a filter based on the Amount measure so reps can focus on the deals that can help them meet quota the fastest — the million-dollar-plus ones.</p><p>Add another global filter based on the <strong>Amount</strong> field. &gt;&gt; To create the filter, click <strong>Add Global Filter</strong> | <strong>Create</strong>. &gt;&gt; To get rid of the extra space to the right of the global filters in the panel widget, set Filters per Row widget property to <strong>4 &gt;&gt; </strong>Save the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KxbWM7Xh4eSi6b5BZnWcgQ.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zyl13gm-cp2JtezBLOovyw.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><h4>Make Analytics Dashboard Widgets Interactive</h4><p><strong>Filter Dashboard Results with Faceting — </strong>Faceting makes dashboards interactive. For example, select a sales region in a list widget &amp; see accounts from that region in a table widget. When we enable faceting, selections made on chart, date, list, range, &amp; toggle widgets automatically filter other widgets in the dashboard. We can also use targeted faceting to include or exclude specific queries from our faceting selections.</p><p>By default, queries from the same dataset are faceted. To facet queries between different data sources such as different datasets or custom queries, first connect them. Queries with a mix of datasets facet widgets based on the first dataset specified in the datasets field in the dashboard JSON only.</p><ol><li>To edit the dashboard, click</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/20/1*wfvV9VmxmsDxCCGhzMSVGg.png" /><figcaption><strong>Figure 1</strong></figcaption></figure><p>2. Select the widget that uses the query. The panel shows the widget properties.</p><p>3. Click <strong>Query</strong>.</p><p>4. In the Faceting section, select <strong>All</strong>, <strong>Include</strong>, <strong>Exclude</strong>, or <strong>None</strong>. For <strong>Include</strong> or <strong>Exclude</strong>, click <strong>Choose Queries</strong> &amp; then select from the list of queries in our dashboard.</p><p><strong>NOTE: </strong>To apply external filters when we open an embedded dashboard, set faceting to <strong>All</strong>.</p><p><strong>5. Broadcast selections as facets</strong> is enabled by default. — Controls whether the query’s selections are broadcast as facets.</p><p><strong>NOTE: </strong>Keep the following considerations in mind when configuring faceting for queries.</p><ul><li>Set query faceting on the receiving query. For example, to prevent faceting in query A when data from query B is selected, open query A, set faceting to <strong>Exclude</strong>, &amp; then choose query B. Alternately, to facet specific queries, use <strong>Include</strong>.</li><li>The <strong>Broadcast selections as facets</strong> appears as read only for the apex &amp; soql query types because they don’t support faceting.</li><li><strong>Broadcast selections as facets</strong> appears as read only for the aggregate, grain, &amp; static query types because they don’t support these options. To change the faceting behavior for these query types, edit the isFacet property in the dashboard JSON. For a list of the supported faceting JSON properties for each query type, see the <em>Tableau CRM Dashboard JSON Reference</em>.</li></ul><p>6. Save the dashboard.</p><ul><li><strong>Configure Cross-Dataset Faceting with Connected Data Sources</strong><br> By default, queries from the same dataset are faceted — automatically filtering each other. To facet queries from different datasets or even custom queries in the dashboard designer, connect them using common fields between them.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*G6AO2RMpwqBezNyTLDeczA.png" /></figure><p><strong>NOTE: </strong>Faceting only works on the fields used to define the connection. For example, the connection in the following screenshot is based on the StageName field. As a result, the StageName list widget is faceted to the bar chart. If a selection is made in the Account.Type list widget, faceting doesn’t happen — the results are not filtered. To enable faceting on the Account.Type field, define another connection based on this field using the same data sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oh1kURurI_5DZEY-E_AMAA.png" /></figure><ul><li><strong>Faceting Queries with Multiple Datasets</strong><br>We can use a query with multiple datasets in a widget &amp; then facet the query. The query receives filters from all of its datasets, but broadcasts selections from its first loaded dataset.</li></ul><p>For example, suppose that the Opportunities dataset has the fields Account_Owner, Region, &amp; Amount. The Quota dataset has the fields Name &amp; Quota.</p><pre><em>quo = load &quot;Quota&quot;;<br>opt = load &quot;Opportunities&quot;;<br>att = cogroup opt by &#39;Account_Owner&#39;, quo by &#39;Employee&#39;;<br>att = foreach att generate opt.&#39;Account_Owner&#39; as &#39;Owner&#39;, sum(opt.&#39;Amount&#39;)/sum(quo.&#39;Quota&#39;) as &#39;percent attained&#39;, opt.Region as &#39;Region&#39;.</em></pre><p>A widget that uses this query receives filters for the following selections:</p><ul><li>Opportunities.Name</li><li>Opportunities.Amount</li><li>Opportunities.Region</li><li>Quota.Name</li><li>Quota.Quota</li></ul><p>A widget that uses this query broadcasts selections for Quota.Name &amp; Quota.Quota.</p><h4>Compare Reps Based on More Sales Performance Metrics</h4><p><strong>Bindings </strong>let us dynamically modify any part of a query — including the measures, filters, groupings, &amp; sort order — &amp; change the display of a widget based on a selection or the result of another query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*TrwaJkPOfv0mPFns12gSRA.jpeg" /><figcaption><strong>Figure 1 (Using bindings, we can pick one of the following metrics: no of opportunities, avg opportunity amount, or total opportunity amount)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*2S-55GORrny3ZvyZslLvRw.jpeg" /><figcaption><strong>Figure 2 (Looking at the total amount to see who’s meeting quota, we can show the Total Amount measure by default when the dashboard first opens. To do that, use the </strong><em>Pick Initial Filters</em><strong> option to set the initial selection for the toggle widget.)</strong></figcaption></figure><p><em>Compared to facets</em>, bindings are more programmatic, &amp; provide more ways to specify interactions. Bindings can dynamically modify a query, set an initial filter selection, or change a widget’s appearance. For example, we can change the measure in a query based on a selection in a custom query. We can initially filter a region-based dashboard based on the country of the logged-in user. Or, we can change the color of the metric in a number widget based on whether its value is high, medium, or low. Each binding is unidirectional, meaning it affects other queries, but other queries don’t affect it.</p><p>For more information about bindings, see <a href="https://resources.docs.salesforce.com/234/latest/en-us/sfdc/pdf/bi_dev_guide_bindings.pdf">Tableau CRM Interactions Developer Guide</a></p><h3>Take Analytics On the Go With Mobile Dashboards</h3><h4>Create a Mobile Layout</h4><p>Sales Performance dashboard &amp; click to enter edit mode &gt;&gt; <strong>Manage Layouts</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X08CKHTxxPUd15ebUFCizA.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*p1qMQ5z7S3EwQHFKnl_qDg.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><h4>Customize Mobile Layout</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*rWuihrrKzxq8OpHA5UAJ6g.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*60UFkeodzgBlTnI35YkzEQ.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*_9Cx4rquSoojlk_nBreIhw.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*3KEHIW-vXxc27cHirza4lA.jpeg" /><figcaption><strong>Figure 4</strong></figcaption></figure><h4>Set Layout Properties for Devices</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*83R_6vivbYwI9J36uH5pDA.png" /><figcaption><strong>Figure 1 (To remove the space between the widgets to increase real estate)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*jET5yJJqO7pWf1gjo91wqw.jpeg" /><figcaption><strong>Figure 2 (While in edit mode, open the Sales Performance Mobile layout for the Sales Performance dashboard)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d-rgTsq4kN7Nt-TtmAFweA.jpeg" /><figcaption><strong>Figure 3 (Click gear icon &gt;&gt; Under General, set horizontal &amp; vertical cell spacing to 0 &gt;&gt; Save the dashboard)</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*20garcxByE3h9oCUsBs2lg.jpeg" /><figcaption><strong>Figure 4 (In the Layout sidebar, under the Device menu - we can set the device properties)</strong></figcaption></figure><p>Happy Learning! ✍️</p><p><strong>Reference:</strong> <a href="https://trailhead.salesforce.com/en/content/learn/modules/wave_dashboard_designer_basics">https://trailhead.salesforce.com/en/content/learn/modules/wave_dashboard_designer_basics</a></p><p>Please follow me at <strong>Twitter : </strong><a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p><strong>LinkedIn </strong>: <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29e9c739aa6" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/chapter-6-tableau-crm-dashboard-building-basics-29e9c739aa6">Chapter 6: Tableau CRM Dashboard Building Basics 📊 📈 📉</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lesson 5: Tableau CRM Dashboard Navigation   ]]></title>
            <link>https://sunilbhardwaj1.medium.com/tableau-crm-dashboard-navigation-7ed4a0b138e7?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ed4a0b138e7</guid>
            <category><![CDATA[tableau-crm]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[trailhead]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[einstein]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 16:24:20 GMT</pubDate>
            <atom:updated>2021-12-28T15:53:35.803Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Meet Tableau CRM Dashboards</strong></p><p>A dashboard is an interactive collection of widgets that show query results from our data, whether that data comes from inside or outside Salesforce.</p><figure><img alt="Dashboards tell a multifaceted story about your business from different angles." src="https://cdn-images-1.medium.com/max/1024/1*o-ufb7lOjRMkVqtRoQWAmQ.jpeg" /><figcaption><strong>Dashboards tell a multifaceted story about our business from different angles.</strong></figcaption></figure><p><strong>Get Down to Details</strong></p><ol><li>Open the navigation list and select <strong>Opportunity Details</strong>.<br>Right away you note the Open Pipeline KPI — this is something you want to keep an eye on. The <strong><em>funnel chart</em></strong> is an easy-to-read indication of which percentage of our business is in which stage. The <strong><em>line chart</em></strong> shows you the business over time. The <strong><em>stacked bar chart</em></strong> gives you an overview of each rep’s opportunities, and how they’re doing against quota. The table below the charts shows details.</li><li>Click <strong>Won</strong> in the Stage toggle, and then click <strong>Open</strong>. Notice the dashboard comes alive as all the widgets change, thanks to faceting.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDMT8fjy8b7Mg_9hAkKUdA.jpeg" /></figure><h3>Sort and Drill In</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NUkHnjCOgXxQT-85Zt0h1w.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3lEHQ4CV3nXH0p_Bovkq6w.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxTili9xVjYxEwYcEikcGQ.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GzHCXTHOxUYhzq4-nLJevw.jpeg" /><figcaption><strong>Figure 4</strong></figcaption></figure><h3>Personalize Your Tableau CRM</h3><h3>Stay on Top of Your Business with Tableau CRM Notifications</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQBncaf7hEzIzWltcb7eXQ.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*S2P-23FDZuSubUkch8jVQA.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><h3>Put the Tableau CRM Home Page to Work for You</h3><ol><li>Click the small, blue <strong>Analytics</strong> link above the dashboard title.</li><li>Click <strong>Notifications</strong> in the left panel.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*dbxWTflb1gk3Cx3X.png" /><figcaption><strong>Figure 1</strong></figcaption></figure><p>Because you’ve set a notification, you have a notification tile on your home page! The tile shows the current value of the KPI and your progress toward the set conditions.</p><p>3. From the tile, you can go directly to the dashboard. Click <strong>Open Pipeline Test</strong>. The dashboard opens showing the notification in the panel on the right, and the notification’s widget is identified with a number in a blue square.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/0*q1AY4aUTCv2iCE_S.png" /><figcaption><strong>Figure 2</strong></figcaption></figure><p>4. You can also access the notifications panel from the icon controls. Go ahead and click</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/27/0*6jrdBigUs4e8bx5P.png" /></figure><p>to close the notification panel. Then click again to reopen it.<br>In this view, you see each notification summarized on a tile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/0*YQ8b2U5dkmvluwqC.png" /><figcaption><strong>Figure 3</strong></figcaption></figure><p>5. From the notifications panel, you can edit or delete notifications. Hover at the upper-right corner of the Open Pipeline Test notification tile, and click the arrow to drop down the menu. Select <strong>Edit</strong>.<br>When the panel is in edit mode, you can access additional options. <strong>Track on Analytics home page</strong> lets you set whether the notification appears on your Tableau CRM home page. <strong>Active</strong> lets you control whether Tableau CRM runs your query and sends notifications. You don’t have to delete a notification in order to stop it from running; you can save it for another time when you want to activate it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/0*STH7vm3ZVs6Z5d1i.png" /><figcaption><strong>Figure 4</strong></figcaption></figure><p>When it comes to your test notification, you don’t need to get email about it every day, so you want to deactivate the notification.</p><p>6. Click to remove the check from the <strong>Active</strong> checkbox. Note that inactive notifications are not tracked on the Tableau CRM home page.</p><p>7. Click <strong>Save</strong>.</p><h3>Follow That Dashboard</h3><ol><li>Click below icon to open the annotations panel.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/50/0*JrBc_znKuI5XfRP-.png" /></figure><p>2. Click</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/0*Pir2Tu4Wm6lBaZQK.png" /></figure><h3>Collaborate with Tableau CRM</h3><h3>Use Annotations to Highlight Results</h3><p><strong>Note: </strong>Annotations must be set up by your Salesforce admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*21XeAFWEfQ_tTZ_XOOjisg.jpeg" /><figcaption><strong>Figure 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*Jp48I_76kl48tzICmwgp3g.jpeg" /><figcaption><strong>Figure 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OrvnjLIWrT1D1FXt7IOr-w.jpeg" /><figcaption><strong>Figure 3</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*hiy2W2HFLkIdvel6ScgS9w.jpeg" /><figcaption><strong>Figure 4</strong></figcaption></figure><p><strong>Note: </strong>For future reference, if you ever see a blue circle at the bottom of the dashboard, you can click it to see detached annotations. Annotations become detached when the widget they were attached to is deleted from the dashboard. The annotations remain, in case you need them.</p><h3>Share Dashboards with Others in Your Org</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MbYZ9GJJMKcEvu4iXwQi9A.jpeg" /></figure><h3>Take the Conversation to Chatter</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2gPdqH6sQEjBcyhUGZpBw.jpeg" /></figure><h3>Download Data from a Dashboard Widget</h3><p><strong>Note:</strong> Data downloading must be set up by your Salesforce admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vB3DYBz_9jBLPIqFFbJaWg.jpeg" /></figure><h3><strong>You’re a Dashboard Navigator Now !! 🥳 😎 🤠</strong></h3><p><strong>Reference: </strong><a href="https://trailhead.salesforce.com/en/content/learn/modules/wave_exploration_dashboard_navigation?trail_id=wave_analytics_explorer&amp;trailmix_creator_id=auser797&amp;trailmix_slug=implement-and-manage-tableau-crm-prework">https://trailhead.salesforce.com/en/content/learn/modules/wave_exploration_dashboard_navigation?trail_id=wave_analytics_explorer&amp;trailmix_creator_id=auser797&amp;trailmix_slug=implement-and-manage-tableau-crm-prework</a></p><p>Happy Learning! ✍️</p><p>Please follow me at <strong>Twitter : </strong><a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p><strong>LinkedIn </strong>: <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ed4a0b138e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lesson 4: Tableau CRM Data Integration Basics   ]]></title>
            <link>https://sunilbhardwaj1.medium.com/lesson-4-tableau-crm-data-integration-basics-ead6a8106c44?source=rss-10a5ada959b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ead6a8106c44</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[tableau-crm]]></category>
            <category><![CDATA[einstein-analytics]]></category>
            <category><![CDATA[trailblazercommunity]]></category>
            <category><![CDATA[dataset]]></category>
            <dc:creator><![CDATA[Sunil Bhardwaj]]></dc:creator>
            <pubDate>Tue, 30 Nov 2021 16:04:55 GMT</pubDate>
            <atom:updated>2021-12-28T15:52:12.917Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Lesson 4: Tableau CRM Data Integration Basics </strong>📊 📈 📉</p><p><strong>Kick Off the Data Journey<br>How Do You Create a Dataset?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*1BUouYcojIKkhhjfkT9ceA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*EOcJbt-sYtqeKeIeupI58Q.png" /></figure><p><strong>Plan the Data Journey</strong></p><p><strong>Step 1: Identify Your Data Requirements</strong></p><p>When you identify data requirements, think about what data you need, where it’s located, and if it needs to be combined with other data.</p><p><strong>Step 2: Map the Data Journey</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-SUNt1RteRtOUGgu1c-VcA.png" /></figure><p><strong>Extract External Data into Tableau CRM</strong></p><p>We can upload external data in a .csv format through the user interface. When we upload a .csv file, Tableau CRM infers the metadata about each column in the .csv file. Metadata describes the structure of the data in the file, like the data type, precision, and scale. If we upload a .csv from the user interface, Tableau CRM automatically generates the metadata, which we can preview and change.</p><p><strong>Note: </strong>You can also use the External Data API to programmatically upload .csv files. Use the API to take advantage of more features, like performing incremental extracts and performing append, delete, and upsert operations.</p><p><strong>Extract Salesforce Data into Tableau CRM</strong></p><p><strong>What is a dataflow<br></strong>You use the dataflow to extract data from Salesforce objects. The dataflow is a set of instructions in JavaScript Object Notation (JSON) that runs to extract data and create datasets. These instructions specify which objects and fields you want to extract data from and the names of the datasets you want to create. The dataflow also has other uses, such as joining data together.</p><p>Since there’s a chance the dataflow is already in use, it’s a good idea to make a backup before you add new instructions. The dataflow in the Developer Edition org isn’t already in use, but let’s back it up anyway to see how it’s done.</p><p>Gear icon &gt;&gt; Data Manager &gt;&gt; Dataflows &amp; Recipes &gt;&gt; On the right of the Default Salesforce Dataflow, click Drop Down &gt;&gt; Run Now &gt;&gt; Monitor &gt;&gt; After the dataflow run completes, click the Dataflows &amp; Recipes tab &gt;&gt; On the right of the Default Salesforce Dataflow, click Drop Down &gt;&gt; Download &gt;&gt; Save the JSON file locally and keep it as a backup of your existing dataflow.</p><p><strong>Create a Dataset with the Dataset Builder</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*kwBZgkg0Yw25xquS-xw2dg.jpeg" /></figure><p>Data geeks refer to the root as the grain of a dataset — the unit of data in each row. In our dataset, each row is an opportunity, so the opportunity record is the grain. It’s an important concept when you’re joining data together from different sources, as you discover later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*V6KEWWIZNHhjIaTKwabOXQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*9iGRnwsz3Ubm77XAOdL-dQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*fYNaV0Y59rKFHkQx3aDagw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*E-oE045wl7Zb9xH3hGTXcQ.png" /></figure><p><strong>Monitor the Dataflow and Verify the New Dataset</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEOjJMesD1lczGeaVFYNoA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*V0qYMgcS3UkrmGQ6NPKQXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*ZT7SZGCBPlcyx52MlUMmHw.png" /></figure><p><strong>Schedule the Dataflow</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZcEiqKHyV0x9reqYXzM0w.jpeg" /></figure><p><strong>Prepare Data in a Dataflow</strong></p><p>In addition to extracting, the dataflow is also a great data preparation tool. We can use it to filter data, add and remove fields, add or update rows from another dataset, and add calculations to your data.</p><p><strong>Prepare Data in a Dataset Recipe</strong></p><p>Use Data Prep, a user interface tool, to create dataset recipes that take data from existing datasets, prepare it, and output the results to a new dataset. Use a recipe to combine data from multiple datasets, bucket the data, add formula fields, and cleanse the data by transforming field values. We can remove fields and filter rows that we don’t need before you create the target dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*MKyORikBus9Qv6KPo1cTwg.png" /></figure><p><strong>Create a Dataset Recipe</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wAu-KXfJEQIEBTmMWAbMMw.jpeg" /></figure><p>Happy Learning! ✍️</p><p>Please follow me at <strong>Twitter : </strong><a href="https://www.twitter.com/sunilbhardwaj1">https://www.twitter.com/sunilbhardwaj1</a></p><p><strong>LinkedIn </strong>: <a href="https://www.linkedin.com/in/sunilbhardwaj10">https://www.linkedin.com/in/sunilbhardwaj10</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ead6a8106c44" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>