Tableau RANK() Function

Show Ranking in Tableau

Tableau’s RANK() function lets you sort your data and assign positions to each row, so you can quickly answer questions like “Who are my top 10 customers?” or “Which region is performing worst?” Sorting the data was helpful, but I wanted to automatically assign ranks to each region based on its sales values. In solution, … Read more >>>

How to Create Self Relationship in Salesforce

Salesforce Self lookup Relationship

When working with Salesforce objects, we often need to show how records are related within the same object. In companies, every employee reports to a manager, who is also an employee of the same company. This means we need to connect one Employee record to another Employee record. In Salesforce, both records are stored in the same … Read more >>>

Invoke Agentforce Prompt Template From Salesforce Flows

Add Prompt Template in Salesforce Flow Action

In Agentforce, we have various types of prompt templates that can be invoked from AI Agent, Apex, Flows, or record pages in Salesforce. For example, I created a Field Generation Prompt Template on the Account object that summarizes information about a particular account and displays it in a custom field named Account Summary__c. Now this … Read more >>>

Compare two Strings in Salesforce Apex

String comparison in Salesforce Apex

While working as a Salesforce developer, I was asked to validate the email domains of contacts before saving the records. To ensure that contacts belonging to specific companies are tagged or marked, such as when their email domain matches a predefined list of email domains. I used the equality operator “==” to compare the strings. In the steps … Read more >>>

CEILING() Function in Salesforce | Syntax, Examples, & Use Cases

CEILING() Function in Salesforce

As a Salesforce Admin, I created a Formula Field for a decimal value (for example, 7.3). I used the CEILING() function to ensure the result always rounds up to the next whole number (in this case, 8). In this article, we will learn about the CEILING() function in Salesforce and how to use it to calculate the rounded-up value of … Read more >>>

What is Sales Cloud in Salesforce? Features, Benefits & Use Cases

Sales Cloud in Salesforce

If you are learning Salesforce or working as an Admin, Consultant, or Developer, you will hear the term “Sales Cloud” again and again. But what exactly is Sales Cloud? Don’t worry In this article, I will explain everything about Sales Cloud in Salesforce. It’s key features, benefits, and how it helps businesses grow faster with … Read more >>>

Contains() Method in Salesforce Apex with Real-Time Examples

Contains() Method in Salesforce Apex

When you start writing Apex code, one thing you quickly realize is that most of your logic depends on checking values. You need to check: And in all these situations, one small but powerful method helps you: the contains() method. In this article, we will learn about how to use the contains() method in Salesforce … Read more >>>