SlideShare a Scribd company logo
Become a Formula Ninja

Math not your thing? Stuck in a functionality rut? Join us to learn a few key tips and
tricks for using Salesforce MVPs to write kick-butt formulas. Walk away with actual
formulas that you can immediately put to use.
Safe harbor
 Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

 This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if
 any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-
 looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of
 product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
 management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments
 and customer contracts or use of our services.

 The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
 service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
 interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated
 with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain,
 and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling
 non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the
 financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This
 documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

 Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may
 not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently
 available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Introductions & Agenda

 • Steve Molis

• Jared Miller

• Mark Passovoy

• Francis Pindar
Steve Molis
Salesforce Administrator, Epsilon
@SteveMoForce
Formula Ninjas

• The Island of Misfit Toys, Formulas, Fields, and Functions
• Using $User to create dynamic Reports and List Views
The Island of Misfit Toys, Formulas, Fields, and
 Functions

 ISNEW()


 $User


 Opportunity: IsClosed


 Opportunity: IsWon
Using a Validation Rule to prevent new Accounts
during Lead Convert
                        Business Requirement
                          •   Prevent user from creating new Accounts but allow them to
                              convert Leads to new Contacts and Opportunities


                        Solution
                          •   Use a Validation Rule to block new Account create.


                        Fields Referenced (optional)
                          •   $Profile.Name
                          •   $Role.Name
                          •   $User.Id
                        Function Used
                          •   ISNEW()
Using a Validation Rule to prevent new Accounts
during Lead Convert
 Formula: AND( ISNEW(), $Profile.Name <> “Inside Sales User")
The Island of Misfit Toys, Formulas, Fields, and
 Functions
 Field: IsClosed
 Boolean field located on the Opportunity object, automatically set by
 Opportunity Stage.
 Use: Validation Rule to ensure users update Close Date on Open
 Opportunities.
 AND(
 IsClosed = FALSE,
 CloseDate < TODAY (),
 $Profile.Name <> "System Administrator")
The Island of Misfit Toys, Formulas, Fields, and
 Functions
 Field: IsWon
 Boolean field located on the Opportunity object, automatically set by
 Opportunity Stage.
 Use: Validation Rule to ensure users update Loss Reason (custom field)
 when an opportunity is Closed/Lost.


 AND (IsClosed =TRUE, IsWon = FALSE,
 ISBLANK(TEXT( Loss_Reason__c)))
The Island of Misfit Toys, Formulas, Fields, and
 Functions
 Fields: IsWon, IsClosed
 Use: Formula(Text) field to display the “summarized” Opportunity Status in
 List Views, Reports and Dashboards.


 IF(IsWon = TRUE , "Won",
 IF(IsClosed = FALSE , "Open",
 "Lost"))
The Island of Misfit Toys, Formulas, Fields, and
 Functions
The Island of Misfit Toys, Formulas, Fields, and
 Functions
The Island of Misfit Toys, Formulas, Fields, and
 Functions
Using $User to create dynamic Reports and List
 Views
Using $User to create dynamic Reports and List
 Views
 Business Requirement
   •   Dynamically show in a list view, all activities that were created by the user logged in, not just activities that were
       owned by them
   •   Users can easily see activities that are owned by them with the ‘My Activities’ list view
 Solution
   •   Evaluate the CreatedBy User.Id field and compare it to the current User.Id to return a simple True/False result.
 Fields Referenced
   •   CreatedById
   •   $User.Id
 Function Used
   •   IF(logical_test, value_if_true, value_if_false)
Step 1: Creat custom field, ‘CreatedBy$User’
 Field Name: CreatedBy$User
 Datatype: Formula
 Return Type: Number, 0 decimals
 Formula: IF(CreatedById = $User.Id , 1, 0)
Step 2: Create the Dynamic Report or List
 Now just add a simple filter:




 When using this field, no more cloning and editing reports for each user! Just change the running user.
CreatedBy$User: Result
The Island of Misfit Toys, Formulas, Fields, and
 Functions

 Opportunity:
 TotalOpportunityQuantity
 HasOpportunityLineItem


 OpportunityProduct:
 HasRevenueSchedule
 HasQuantitySchedule
Jared Miller
Senior Project Manager, Configero
@jaredemiller
Formula Ninja

• Jared Miller
   • Configero
   • Co-Leader of the Tampa User Group
   • Known to troll the twitter and #askforce
Formula Ninja

• Use the ABS function to give your dates more flexibility
• Use the LEN function to improve data quality
• Formula Talk – My favorite formula tips
Date Flexibility: Using the ABS Function
• Business requirement
     • Due to shift scheduling, a contract end date may be within a few days (plus or minus) of the actual end
       date
     • Not all early ends, are actual early ends, however, an early end would need to be tracked differently
• Solution
     • We will give the user flexibility on “early end” by giving them a plus or minus on the end date
• Fields referenced
     • Scheduled End Date
     • Actual End Date
• Function used
     • ABS(number)
Creating the Validation Rule

• Create your 2nd Date field – in our case, it is Actual End Date
• Rule Name: Actual End Date Near Scheduled End Date
• Formula: ABS(Scheduled_End_Date__c-Actual_End_Date__c )>7
• Error Message: Actual Contract End Date is not valid.
Creating the Validation Rule
How the ABS Function works

• From Help & Training
    • Calculates the absolute value of a number. The absolute value of a number is the
      number without its positive or negative sign.
• Example
    • 9/18/2012 – 9/12/2012 = 6
    • 9/18/2012 – 9/28/2012 = -10
        • ABS(9/18/2012 – 9/28/2012) = 10
Further validate information – text fields
• Business requirement
     • Users are filling in a text field with 1 character in order to bypass an ISBLANK Validation Rule
     • Using an “other” value in a picklist
• Solution
     • This information is important so we will be using the LEN formula to count the number of characters
• Fields referenced
     • Payment Terms
     • Special Payment Terms
• Function used
     • LEN(text)
Typical “Other” scenario and validation rule

• Using our payment terms example




• Putting a “1” will not meet the validation rule criteria
How we can use LEN to get better data

• Using our payment terms example




• Putting a “1” will not meet the validation rule criteria
Creating the Validation Rule

• What you already have: 2 fields (picklist and text)
• Rule Name: Special Payment Terms must have Terms
• Formula:
  AND(
  ISPICKVAL(Payment_Terms__c, "Special Payment Terms"),
  LEN(Special_Payment_Terms__c)<5
  )
• Error Message: If Payment Terms are “Special Payment Terms”, please enter
  the terms.
Formula Talk – My favorite formula tips

• CASESAFEID (id)– Converts a 15-character ID to a case-insensitive 18-
  character ID
• ISCHANGED(field) – Checks the field to determine if the value has been
  changed. This is useful in validation rules and workflow rules.
• When thinking through your formula – or when you are working on a complex
  formula – use comment tags
   • /* comment here, Name, Date */
   • Comments will count against your character limit and byte size
Mark Passovoy
Consultant, Appirio
@markpassovoy
Formula Ninja

• Mark Passovoy
   • Appirio
   • Will respond directly to @ mentions on Twitter
   • Answers maniac (but not as much as @SteveMo)
Everyday use of Formulas
• Validation Criteria
• Workflows Criteria
• Approval Process Entry Criteria
• Formula Field

• Simple Examples:
   • Amount > 1
   • Number of Employees < 10
Real Life Examples
1.



2.


3.


4.
Concept: Dynamic formulas using only variables
• Business Requirement
   • Users must apply different logic to Opportunities from
     each of the 5 regions that the company operates in.
   • IT does not have the bandwidth to update formulas in
     Salesforce in a timely manner and is continually backed
     up with requests to update criteria or logic of formulas,
     workflow, validations, approvals, etc.
Solution
• Create an object to compare data for each region
  against
• Formulas will reference relationships between the
  Opportunity and the custom Region object without using
  any actual values
• User will select region on creation of Opportunity, or
  process can be automated with a trigger
• Benefit – Formulas can be updated easily, without
  access to Setup, if important
Solution
Validation Rule

•   Hard-coded numeric
    values




•   Completely dynamic,
    no hard-coded values
Formula Field



•    We created a formula field to determine the overall risk of an
     Opportunity

•    This field will give the Opportunity one of 5 possible values,
     depending on the information in the Opportunity and the selected
     Region
Approval Process


•    We created an Approval Process to approve Opportunities

•    It will use information from the Opportunity, as well as the
     related Region for entry criteria and step criteria
Formula Talk – My favorite formula tips

• & - Can concatenate text and merge data together to make a
  string
   • HYPERLINK( “00U/e?retURL=%2F006x0000001T8O,&what_id=“ & Id, “Create Event”)

• BR() – Will insert a line break in a text string. Make sure to
  surround this function with &
   • & BR() &

• IMAGE() – Can insert an image from Salesforce into a field,
  and even be used in Email templates
Francis Pindar
Technical Consultant
@radnip
http://uk.linkedin.com/in/francisuk
Formula Ninja

• Francis Pindar
   • Freelance technical consultant
   • Hang out on Answers (never able to keep up with
     @SteveMo!!)
   • Apex & VisualForce developer discussion boards
   • London Salesforce user group & developer user group
Business Requirements

• Reduce the risk of negative social media storms by using
  social influence
• Ability to prioritize cases based on social influence
• Use social influence to aid marketing activities to target
  influential customers
Web-To-Case Solution
IMAGE Function

Syntax:
    IMAGE(image_url, alternate_text [, height, width])
Text Formula Field:
    IMAGE(“http://socialimage.herokuapp.com/getImage.php?Ne
tworkScreenName=“+Twitter__c+”&NetworkPlatform=twitter&Klo
utAPIId=4abgffbxzyg7sufuvpjqsx9w”, “No Image”)
                                                Get API Key from:
                                       http://developer.klout.com/
Business Requirement

• Make reports more actionable.
• Allow data to be SEEN without READING
• Ability to see Account metrics from account records without
  the need to run reports.
Solution
Solution: Google Charts
Solution: Google Charts

• Formula image function
  can call any chart URL
• Google chart wizard offers
  dynamic build environment
• Easily add merge fields
  into the chart URL
Solution: Google Charts
         Search Google “Image Chart Wizard”
Solution: Google Charts
Solution: Google Charts



                 Value



                Label
Solution: Google Charts


                                          Value

                                          Label


IMAGE("http://chart.apis.google.com/chart?chxl=0:|negative|average|positive&chxt=y&chs=250
x125&cht=gm&chd=t:" +
TEXT(Overall_Satisfaction_Percentage__c) +
"&chl=" + TEXT(Overall_Satisfaction_Percentage__c) +
 "%&chma=0,0,5", "No Image Available" ,125,250)

               &chd=t:82
               &chd=t:" +
               TEXT(Overall_Satisfaction_Percentage__c) + “
Google Charts: Special Notes / Limitations

• HTTP / HTTPS Mixed Content
• Specify Height & Width on Image Function
• Google Chart Wizard is NOT SSL Encrypted
Steve Molis                Jared Miller          Mark Passovoy          Francis Pindar
Salesforce Administrator,   Senior Project Manager,   Consultant, Appirio   Technical Consultant
         Epsilon                   Configero           @markpassovoy             @radnip
    @SteveMoForce                @jaredemiller
Become a Formula Ninja

More Related Content

What's hot

Salesforce admin training 5
Salesforce admin training 5Salesforce admin training 5
Salesforce admin training 5
HungPham381
 
Coding Apps in the Cloud with Force.com - Part I
Coding Apps in the Cloud with Force.com - Part ICoding Apps in the Cloud with Force.com - Part I
Coding Apps in the Cloud with Force.com - Part I
Salesforce Developers
 
Top 18 salesforce winter 18 release feaures with Eternus Solutions
Top 18 salesforce winter 18 release feaures with Eternus SolutionsTop 18 salesforce winter 18 release feaures with Eternus Solutions
Top 18 salesforce winter 18 release feaures with Eternus Solutions
Eternus Solutions
 
Go with the Flow: Automating Business Processes with Clicks
Go with the Flow: Automating Business Processes with ClicksGo with the Flow: Automating Business Processes with Clicks
Go with the Flow: Automating Business Processes with Clicks
Salesforce Developers
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2Amit Sharma
 
Salesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin WebinarSalesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin Webinar
Salesforce Admins
 
Summer '16 Release Preview Webinar
Summer '16 Release Preview WebinarSummer '16 Release Preview Webinar
Summer '16 Release Preview Webinar
Salesforce Admins
 
How to crack Admin and Advanced Admin
How to crack Admin and Advanced AdminHow to crack Admin and Advanced Admin
How to crack Admin and Advanced Admin
KadharBashaJ
 
The Basic Understanding Of Salesforce
The Basic Understanding Of SalesforceThe Basic Understanding Of Salesforce
The Basic Understanding Of Salesforce
Intelligentia IT Systems Pvt. Ltd.
 
Implementing salesforce for B2C - Salesforce #DUG
Implementing salesforce for B2C - Salesforce #DUGImplementing salesforce for B2C - Salesforce #DUG
Implementing salesforce for B2C - Salesforce #DUG
Fabrice Cathala
 
Lightning Experience with Visualforce Best Practices
Lightning Experience with Visualforce Best PracticesLightning Experience with Visualforce Best Practices
Lightning Experience with Visualforce Best Practices
Salesforce Developers
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-labAmit Sharma
 
Managing users-doc
Managing users-docManaging users-doc
Managing users-docAmit Sharma
 
Apex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong FoundationsApex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong Foundations
Salesforce Developers
 
Salesforce Person accounts overview
Salesforce Person accounts   overviewSalesforce Person accounts   overview
Salesforce Person accounts overview
Naveen Gabrani
 
How to Solve the Biggest Problems with Salesforce Training
How to Solve the Biggest Problems with Salesforce TrainingHow to Solve the Biggest Problems with Salesforce Training
How to Solve the Biggest Problems with Salesforce Training
brainiate
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interfaceAmit Sharma
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-iiAmit Sharma
 
Salesforce Integration: Talking the Pain out of Data Loading
Salesforce Integration: Talking the Pain out of Data LoadingSalesforce Integration: Talking the Pain out of Data Loading
Salesforce Integration: Talking the Pain out of Data Loading
Darren Cunningham
 

What's hot (20)

Salesforce admin training 5
Salesforce admin training 5Salesforce admin training 5
Salesforce admin training 5
 
Coding Apps in the Cloud with Force.com - Part I
Coding Apps in the Cloud with Force.com - Part ICoding Apps in the Cloud with Force.com - Part I
Coding Apps in the Cloud with Force.com - Part I
 
Top 18 salesforce winter 18 release feaures with Eternus Solutions
Top 18 salesforce winter 18 release feaures with Eternus SolutionsTop 18 salesforce winter 18 release feaures with Eternus Solutions
Top 18 salesforce winter 18 release feaures with Eternus Solutions
 
Go with the Flow: Automating Business Processes with Clicks
Go with the Flow: Automating Business Processes with ClicksGo with the Flow: Automating Business Processes with Clicks
Go with the Flow: Automating Business Processes with Clicks
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2
 
Salesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin WebinarSalesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin Webinar
 
Summer '16 Release Preview Webinar
Summer '16 Release Preview WebinarSummer '16 Release Preview Webinar
Summer '16 Release Preview Webinar
 
How to crack Admin and Advanced Admin
How to crack Admin and Advanced AdminHow to crack Admin and Advanced Admin
How to crack Admin and Advanced Admin
 
The Basic Understanding Of Salesforce
The Basic Understanding Of SalesforceThe Basic Understanding Of Salesforce
The Basic Understanding Of Salesforce
 
Implementing salesforce for B2C - Salesforce #DUG
Implementing salesforce for B2C - Salesforce #DUGImplementing salesforce for B2C - Salesforce #DUG
Implementing salesforce for B2C - Salesforce #DUG
 
Lightning Experience with Visualforce Best Practices
Lightning Experience with Visualforce Best PracticesLightning Experience with Visualforce Best Practices
Lightning Experience with Visualforce Best Practices
 
Write bulletproof trigger code
Write bulletproof trigger codeWrite bulletproof trigger code
Write bulletproof trigger code
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-lab
 
Managing users-doc
Managing users-docManaging users-doc
Managing users-doc
 
Apex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong FoundationsApex Enterprise Patterns: Building Strong Foundations
Apex Enterprise Patterns: Building Strong Foundations
 
Salesforce Person accounts overview
Salesforce Person accounts   overviewSalesforce Person accounts   overview
Salesforce Person accounts overview
 
How to Solve the Biggest Problems with Salesforce Training
How to Solve the Biggest Problems with Salesforce TrainingHow to Solve the Biggest Problems with Salesforce Training
How to Solve the Biggest Problems with Salesforce Training
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interface
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-ii
 
Salesforce Integration: Talking the Pain out of Data Loading
Salesforce Integration: Talking the Pain out of Data LoadingSalesforce Integration: Talking the Pain out of Data Loading
Salesforce Integration: Talking the Pain out of Data Loading
 

Viewers also liked

Social Enterprise Comes to Life with Integration
Social Enterprise Comes to Life with IntegrationSocial Enterprise Comes to Life with Integration
Social Enterprise Comes to Life with IntegrationConfigero
 
Respuesta de Piedad Córdoba a Vladdo
Respuesta de Piedad Córdoba a VladdoRespuesta de Piedad Córdoba a Vladdo
Respuesta de Piedad Córdoba a Vladdo
Poder Ciudadano
 
Green Pearl Events Multifamily Investment Summit Gary Kachadurian Presentation
Green Pearl Events Multifamily Investment Summit   Gary Kachadurian PresentationGreen Pearl Events Multifamily Investment Summit   Gary Kachadurian Presentation
Green Pearl Events Multifamily Investment Summit Gary Kachadurian Presentation
Ryan Slack
 
Sistema de Liquidación Directa Cret@
Sistema de Liquidación Directa Cret@Sistema de Liquidación Directa Cret@
Sistema de Liquidación Directa Cret@
Grup Pitagora
 
Lazy desk
Lazy deskLazy desk
Lazy desk
madison hogan
 
Evans_Katherine_Chase Home for Children_2016 08 05
Evans_Katherine_Chase Home for Children_2016 08 05Evans_Katherine_Chase Home for Children_2016 08 05
Evans_Katherine_Chase Home for Children_2016 08 05Katherine Evans
 
British Galleries 2002
British Galleries 2002British Galleries 2002
British Galleries 2002
James Jensen
 
テストプラン
テストプランテストプラン
テストプラン
stucon
 
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run InfrastructureEMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
{code}
 
Wuletawu Abera Ph.D. defense
Wuletawu Abera Ph.D. defenseWuletawu Abera Ph.D. defense
Wuletawu Abera Ph.D. defense
Riccardo Rigon
 
3º básico a semana 02 al 06 mayo
3º básico a  semana 02  al 06 mayo3º básico a  semana 02  al 06 mayo
3º básico a semana 02 al 06 mayo
Colegio Camilo Henríquez
 
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...SlideTeam.net
 
How to wear a hard hat
How to wear a hard hatHow to wear a hard hat
How to wear a hard hat
Kathy Latiolais DeGlandon
 
Expert Webcast - How to Save Users 80% Time in Salesforce
Expert Webcast - How to Save Users 80% Time in Salesforce Expert Webcast - How to Save Users 80% Time in Salesforce
Expert Webcast - How to Save Users 80% Time in Salesforce
Configero
 
Evaluation question 1 - Jemima Chamberlin
Evaluation question 1 - Jemima ChamberlinEvaluation question 1 - Jemima Chamberlin
Evaluation question 1 - Jemima Chamberlinlongroadmedia14
 
Presentacion entornos
Presentacion entornosPresentacion entornos
Presentacion entornos
Milena2424
 
Mind-mapping for Developers
Mind-mapping for DevelopersMind-mapping for Developers
Mind-mapping for Developers
Rey Mayson
 

Viewers also liked (17)

Social Enterprise Comes to Life with Integration
Social Enterprise Comes to Life with IntegrationSocial Enterprise Comes to Life with Integration
Social Enterprise Comes to Life with Integration
 
Respuesta de Piedad Córdoba a Vladdo
Respuesta de Piedad Córdoba a VladdoRespuesta de Piedad Córdoba a Vladdo
Respuesta de Piedad Córdoba a Vladdo
 
Green Pearl Events Multifamily Investment Summit Gary Kachadurian Presentation
Green Pearl Events Multifamily Investment Summit   Gary Kachadurian PresentationGreen Pearl Events Multifamily Investment Summit   Gary Kachadurian Presentation
Green Pearl Events Multifamily Investment Summit Gary Kachadurian Presentation
 
Sistema de Liquidación Directa Cret@
Sistema de Liquidación Directa Cret@Sistema de Liquidación Directa Cret@
Sistema de Liquidación Directa Cret@
 
Lazy desk
Lazy deskLazy desk
Lazy desk
 
Evans_Katherine_Chase Home for Children_2016 08 05
Evans_Katherine_Chase Home for Children_2016 08 05Evans_Katherine_Chase Home for Children_2016 08 05
Evans_Katherine_Chase Home for Children_2016 08 05
 
British Galleries 2002
British Galleries 2002British Galleries 2002
British Galleries 2002
 
テストプラン
テストプランテストプラン
テストプラン
 
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run InfrastructureEMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
 
Wuletawu Abera Ph.D. defense
Wuletawu Abera Ph.D. defenseWuletawu Abera Ph.D. defense
Wuletawu Abera Ph.D. defense
 
3º básico a semana 02 al 06 mayo
3º básico a  semana 02  al 06 mayo3º básico a  semana 02  al 06 mayo
3º básico a semana 02 al 06 mayo
 
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...
3 d pie chart circular puzzle with hole in center process 9 stages style 1 po...
 
How to wear a hard hat
How to wear a hard hatHow to wear a hard hat
How to wear a hard hat
 
Expert Webcast - How to Save Users 80% Time in Salesforce
Expert Webcast - How to Save Users 80% Time in Salesforce Expert Webcast - How to Save Users 80% Time in Salesforce
Expert Webcast - How to Save Users 80% Time in Salesforce
 
Evaluation question 1 - Jemima Chamberlin
Evaluation question 1 - Jemima ChamberlinEvaluation question 1 - Jemima Chamberlin
Evaluation question 1 - Jemima Chamberlin
 
Presentacion entornos
Presentacion entornosPresentacion entornos
Presentacion entornos
 
Mind-mapping for Developers
Mind-mapping for DevelopersMind-mapping for Developers
Mind-mapping for Developers
 

Similar to Become a Formula Ninja

DF2UFL 2012: Reporting & Dashboards with Formula Success Tools
DF2UFL 2012: Reporting & Dashboards with Formula Success ToolsDF2UFL 2012: Reporting & Dashboards with Formula Success Tools
DF2UFL 2012: Reporting & Dashboards with Formula Success Tools
Jennifer Phillips
 
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Mary Scotton
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and Apex
Salesforce Developers
 
Mbf2 salesforce webinar 2
Mbf2 salesforce webinar 2Mbf2 salesforce webinar 2
Mbf2 salesforce webinar 2
BeMyApp
 
Process Automation Showdown Session 1
Process Automation Showdown Session 1Process Automation Showdown Session 1
Process Automation Showdown Session 1
Michael Gill
 
The Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow ApplicationsThe Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow Applications
Dreamforce
 
Practical Headless Flow Examples
Practical Headless Flow ExamplesPractical Headless Flow Examples
Practical Headless Flow Examples
Salesforce Admins
 
Aan009 Contreras 091907
Aan009 Contreras 091907Aan009 Contreras 091907
Aan009 Contreras 091907
Dreamforce07
 
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
Salesforce Admins
 
Solving Complex Data Load Challenges
Solving Complex Data Load ChallengesSolving Complex Data Load Challenges
Solving Complex Data Load Challenges
Sunand P
 
Follow the evidence: Troubleshooting Performance Issues
Follow the evidence:  Troubleshooting Performance IssuesFollow the evidence:  Troubleshooting Performance Issues
Follow the evidence: Troubleshooting Performance Issues
Salesforce Developers
 
Replicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API UsageReplicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API Usage
Salesforce Developers
 
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
Commission Tracking: Automate Using Process Builder, Formulas and WorkflowsCommission Tracking: Automate Using Process Builder, Formulas and Workflows
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
Summa
 
A G S006 Little 091807
A G S006  Little 091807A G S006  Little 091807
A G S006 Little 091807
Dreamforce07
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexSalesforce Developers
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Lucidworks
 
Design Patterns Every ISV Needs to Know (October 15, 2014)
Design Patterns Every ISV Needs to Know (October 15, 2014)Design Patterns Every ISV Needs to Know (October 15, 2014)
Design Patterns Every ISV Needs to Know (October 15, 2014)
Salesforce Partners
 
Data Design Tips for Developing Robust Apps on Force.com
Data Design Tips for Developing Robust Apps on Force.comData Design Tips for Developing Robust Apps on Force.com
Data Design Tips for Developing Robust Apps on Force.com
Salesforce Developers
 
Ready... Set... Action! - Susan Thayer
Ready... Set... Action! - Susan ThayerReady... Set... Action! - Susan Thayer
Ready... Set... Action! - Susan Thayer
Salesforce Admins
 
Modeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in SalesforceModeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in Salesforce
Salesforce Developers
 

Similar to Become a Formula Ninja (20)

DF2UFL 2012: Reporting & Dashboards with Formula Success Tools
DF2UFL 2012: Reporting & Dashboards with Formula Success ToolsDF2UFL 2012: Reporting & Dashboards with Formula Success Tools
DF2UFL 2012: Reporting & Dashboards with Formula Success Tools
 
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)Apex Algorithms: Tips and Tricks (Dreamforce 2014)
Apex Algorithms: Tips and Tricks (Dreamforce 2014)
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and Apex
 
Mbf2 salesforce webinar 2
Mbf2 salesforce webinar 2Mbf2 salesforce webinar 2
Mbf2 salesforce webinar 2
 
Process Automation Showdown Session 1
Process Automation Showdown Session 1Process Automation Showdown Session 1
Process Automation Showdown Session 1
 
The Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow ApplicationsThe Business of Flow - Point and Click Workflow Applications
The Business of Flow - Point and Click Workflow Applications
 
Practical Headless Flow Examples
Practical Headless Flow ExamplesPractical Headless Flow Examples
Practical Headless Flow Examples
 
Aan009 Contreras 091907
Aan009 Contreras 091907Aan009 Contreras 091907
Aan009 Contreras 091907
 
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
MVP Process Automation Showdown by Chris Edwards, Jennifer Lee, Michael Gill ...
 
Solving Complex Data Load Challenges
Solving Complex Data Load ChallengesSolving Complex Data Load Challenges
Solving Complex Data Load Challenges
 
Follow the evidence: Troubleshooting Performance Issues
Follow the evidence:  Troubleshooting Performance IssuesFollow the evidence:  Troubleshooting Performance Issues
Follow the evidence: Troubleshooting Performance Issues
 
Replicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API UsageReplicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API Usage
 
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
Commission Tracking: Automate Using Process Builder, Formulas and WorkflowsCommission Tracking: Automate Using Process Builder, Formulas and Workflows
Commission Tracking: Automate Using Process Builder, Formulas and Workflows
 
A G S006 Little 091807
A G S006  Little 091807A G S006  Little 091807
A G S006 Little 091807
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and Apex
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
 
Design Patterns Every ISV Needs to Know (October 15, 2014)
Design Patterns Every ISV Needs to Know (October 15, 2014)Design Patterns Every ISV Needs to Know (October 15, 2014)
Design Patterns Every ISV Needs to Know (October 15, 2014)
 
Data Design Tips for Developing Robust Apps on Force.com
Data Design Tips for Developing Robust Apps on Force.comData Design Tips for Developing Robust Apps on Force.com
Data Design Tips for Developing Robust Apps on Force.com
 
Ready... Set... Action! - Susan Thayer
Ready... Set... Action! - Susan ThayerReady... Set... Action! - Susan Thayer
Ready... Set... Action! - Susan Thayer
 
Modeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in SalesforceModeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in Salesforce
 

Recently uploaded

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 

Become a Formula Ninja

  • 1. Become a Formula Ninja Math not your thing? Stuck in a functionality rut? Join us to learn a few key tips and tricks for using Salesforce MVPs to write kick-butt formulas. Walk away with actual formulas that you can immediately put to use.
  • 2. Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Introductions & Agenda • Steve Molis • Jared Miller • Mark Passovoy • Francis Pindar
  • 5. Formula Ninjas • The Island of Misfit Toys, Formulas, Fields, and Functions • Using $User to create dynamic Reports and List Views
  • 6. The Island of Misfit Toys, Formulas, Fields, and Functions ISNEW() $User Opportunity: IsClosed Opportunity: IsWon
  • 7. Using a Validation Rule to prevent new Accounts during Lead Convert Business Requirement • Prevent user from creating new Accounts but allow them to convert Leads to new Contacts and Opportunities Solution • Use a Validation Rule to block new Account create. Fields Referenced (optional) • $Profile.Name • $Role.Name • $User.Id Function Used • ISNEW()
  • 8. Using a Validation Rule to prevent new Accounts during Lead Convert Formula: AND( ISNEW(), $Profile.Name <> “Inside Sales User")
  • 9. The Island of Misfit Toys, Formulas, Fields, and Functions Field: IsClosed Boolean field located on the Opportunity object, automatically set by Opportunity Stage. Use: Validation Rule to ensure users update Close Date on Open Opportunities. AND( IsClosed = FALSE, CloseDate < TODAY (), $Profile.Name <> "System Administrator")
  • 10. The Island of Misfit Toys, Formulas, Fields, and Functions Field: IsWon Boolean field located on the Opportunity object, automatically set by Opportunity Stage. Use: Validation Rule to ensure users update Loss Reason (custom field) when an opportunity is Closed/Lost. AND (IsClosed =TRUE, IsWon = FALSE, ISBLANK(TEXT( Loss_Reason__c)))
  • 11. The Island of Misfit Toys, Formulas, Fields, and Functions Fields: IsWon, IsClosed Use: Formula(Text) field to display the “summarized” Opportunity Status in List Views, Reports and Dashboards. IF(IsWon = TRUE , "Won", IF(IsClosed = FALSE , "Open", "Lost"))
  • 12. The Island of Misfit Toys, Formulas, Fields, and Functions
  • 13. The Island of Misfit Toys, Formulas, Fields, and Functions
  • 14. The Island of Misfit Toys, Formulas, Fields, and Functions
  • 15. Using $User to create dynamic Reports and List Views
  • 16. Using $User to create dynamic Reports and List Views Business Requirement • Dynamically show in a list view, all activities that were created by the user logged in, not just activities that were owned by them • Users can easily see activities that are owned by them with the ‘My Activities’ list view Solution • Evaluate the CreatedBy User.Id field and compare it to the current User.Id to return a simple True/False result. Fields Referenced • CreatedById • $User.Id Function Used • IF(logical_test, value_if_true, value_if_false)
  • 17. Step 1: Creat custom field, ‘CreatedBy$User’ Field Name: CreatedBy$User Datatype: Formula Return Type: Number, 0 decimals Formula: IF(CreatedById = $User.Id , 1, 0)
  • 18. Step 2: Create the Dynamic Report or List Now just add a simple filter: When using this field, no more cloning and editing reports for each user! Just change the running user.
  • 20. The Island of Misfit Toys, Formulas, Fields, and Functions Opportunity: TotalOpportunityQuantity HasOpportunityLineItem OpportunityProduct: HasRevenueSchedule HasQuantitySchedule
  • 21. Jared Miller Senior Project Manager, Configero @jaredemiller
  • 22. Formula Ninja • Jared Miller • Configero • Co-Leader of the Tampa User Group • Known to troll the twitter and #askforce
  • 23. Formula Ninja • Use the ABS function to give your dates more flexibility • Use the LEN function to improve data quality • Formula Talk – My favorite formula tips
  • 24. Date Flexibility: Using the ABS Function • Business requirement • Due to shift scheduling, a contract end date may be within a few days (plus or minus) of the actual end date • Not all early ends, are actual early ends, however, an early end would need to be tracked differently • Solution • We will give the user flexibility on “early end” by giving them a plus or minus on the end date • Fields referenced • Scheduled End Date • Actual End Date • Function used • ABS(number)
  • 25. Creating the Validation Rule • Create your 2nd Date field – in our case, it is Actual End Date • Rule Name: Actual End Date Near Scheduled End Date • Formula: ABS(Scheduled_End_Date__c-Actual_End_Date__c )>7 • Error Message: Actual Contract End Date is not valid.
  • 27. How the ABS Function works • From Help & Training • Calculates the absolute value of a number. The absolute value of a number is the number without its positive or negative sign. • Example • 9/18/2012 – 9/12/2012 = 6 • 9/18/2012 – 9/28/2012 = -10 • ABS(9/18/2012 – 9/28/2012) = 10
  • 28. Further validate information – text fields • Business requirement • Users are filling in a text field with 1 character in order to bypass an ISBLANK Validation Rule • Using an “other” value in a picklist • Solution • This information is important so we will be using the LEN formula to count the number of characters • Fields referenced • Payment Terms • Special Payment Terms • Function used • LEN(text)
  • 29. Typical “Other” scenario and validation rule • Using our payment terms example • Putting a “1” will not meet the validation rule criteria
  • 30. How we can use LEN to get better data • Using our payment terms example • Putting a “1” will not meet the validation rule criteria
  • 31. Creating the Validation Rule • What you already have: 2 fields (picklist and text) • Rule Name: Special Payment Terms must have Terms • Formula: AND( ISPICKVAL(Payment_Terms__c, "Special Payment Terms"), LEN(Special_Payment_Terms__c)<5 ) • Error Message: If Payment Terms are “Special Payment Terms”, please enter the terms.
  • 32. Formula Talk – My favorite formula tips • CASESAFEID (id)– Converts a 15-character ID to a case-insensitive 18- character ID • ISCHANGED(field) – Checks the field to determine if the value has been changed. This is useful in validation rules and workflow rules. • When thinking through your formula – or when you are working on a complex formula – use comment tags • /* comment here, Name, Date */ • Comments will count against your character limit and byte size
  • 34. Formula Ninja • Mark Passovoy • Appirio • Will respond directly to @ mentions on Twitter • Answers maniac (but not as much as @SteveMo)
  • 35. Everyday use of Formulas • Validation Criteria • Workflows Criteria • Approval Process Entry Criteria • Formula Field • Simple Examples: • Amount > 1 • Number of Employees < 10
  • 37. Concept: Dynamic formulas using only variables • Business Requirement • Users must apply different logic to Opportunities from each of the 5 regions that the company operates in. • IT does not have the bandwidth to update formulas in Salesforce in a timely manner and is continually backed up with requests to update criteria or logic of formulas, workflow, validations, approvals, etc.
  • 38. Solution • Create an object to compare data for each region against • Formulas will reference relationships between the Opportunity and the custom Region object without using any actual values • User will select region on creation of Opportunity, or process can be automated with a trigger • Benefit – Formulas can be updated easily, without access to Setup, if important
  • 40. Validation Rule • Hard-coded numeric values • Completely dynamic, no hard-coded values
  • 41. Formula Field • We created a formula field to determine the overall risk of an Opportunity • This field will give the Opportunity one of 5 possible values, depending on the information in the Opportunity and the selected Region
  • 42. Approval Process • We created an Approval Process to approve Opportunities • It will use information from the Opportunity, as well as the related Region for entry criteria and step criteria
  • 43. Formula Talk – My favorite formula tips • & - Can concatenate text and merge data together to make a string • HYPERLINK( “00U/e?retURL=%2F006x0000001T8O,&what_id=“ & Id, “Create Event”) • BR() – Will insert a line break in a text string. Make sure to surround this function with & • & BR() & • IMAGE() – Can insert an image from Salesforce into a field, and even be used in Email templates
  • 45. Formula Ninja • Francis Pindar • Freelance technical consultant • Hang out on Answers (never able to keep up with @SteveMo!!) • Apex & VisualForce developer discussion boards • London Salesforce user group & developer user group
  • 46. Business Requirements • Reduce the risk of negative social media storms by using social influence • Ability to prioritize cases based on social influence • Use social influence to aid marketing activities to target influential customers
  • 48. IMAGE Function Syntax: IMAGE(image_url, alternate_text [, height, width]) Text Formula Field: IMAGE(“http://socialimage.herokuapp.com/getImage.php?Ne tworkScreenName=“+Twitter__c+”&NetworkPlatform=twitter&Klo utAPIId=4abgffbxzyg7sufuvpjqsx9w”, “No Image”) Get API Key from: http://developer.klout.com/
  • 49. Business Requirement • Make reports more actionable. • Allow data to be SEEN without READING • Ability to see Account metrics from account records without the need to run reports.
  • 52. Solution: Google Charts • Formula image function can call any chart URL • Google chart wizard offers dynamic build environment • Easily add merge fields into the chart URL
  • 53. Solution: Google Charts Search Google “Image Chart Wizard”
  • 55. Solution: Google Charts Value Label
  • 56. Solution: Google Charts Value Label IMAGE("http://chart.apis.google.com/chart?chxl=0:|negative|average|positive&chxt=y&chs=250 x125&cht=gm&chd=t:" + TEXT(Overall_Satisfaction_Percentage__c) + "&chl=" + TEXT(Overall_Satisfaction_Percentage__c) + "%&chma=0,0,5", "No Image Available" ,125,250) &chd=t:82 &chd=t:" + TEXT(Overall_Satisfaction_Percentage__c) + “
  • 57. Google Charts: Special Notes / Limitations • HTTP / HTTPS Mixed Content • Specify Height & Width on Image Function • Google Chart Wizard is NOT SSL Encrypted
  • 58. Steve Molis Jared Miller Mark Passovoy Francis Pindar Salesforce Administrator, Senior Project Manager, Consultant, Appirio Technical Consultant Epsilon Configero @markpassovoy @radnip @SteveMoForce @jaredemiller