---
schema_version: "1"
id: 6d3c9d780f70ab5a6681742e136eaafe5ff2acd985d2208c8a67c1a8a2a47b3a
title: Mapping Functions in Marketing Cloud Intelligence
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/dato_data_mapping_funcs.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.dato_data_mapping_funcs.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9398b7b9cf93121cf87d7f30f5092f519f62c1b0321c9abd5d39b0ccd193fdf8
description: Functions are used when creating mapping formulas, allowing you to perform complex manipulations to your data. These functions are available in Marketing Cloud Intelligence and are divided into different groups to easily search for the function you’re looking for.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Mapping Functions in Marketing Cloud Intelligence

Functions are used when creating mapping formulas, allowing you to perform complex manipulations to your data. These functions are available in Marketing Cloud Intelligence and are divided into different groups to easily search for the function you’re looking for.

- [Number Functions](#dato_data_mapping_funcs__number)
- [Text Functions](#dato_data_mapping_funcs__text)
- [Date Functions](#dato_data_mapping_funcs__date)
- [Aggregation Functions](#dato_data_mapping_funcs__aggregation)
- [Logical Functions](#dato_data_mapping_funcs__logical)
- [Type Conversion Functions](#dato_data_mapping_funcs__type)
- [Operators](#dato_data_mapping_funcs__operators)

## Number Functions

  
| Function Name | Description | Example |
| --- | --- | --- |
| ABS(number) | Returns the absolute value of a number. | ABS(-5) = 5 |
| CEILING(number, significance) | Returns the number rounded up, away from zero, to the nearest multiple of significance. | CEILING(5.5071,4) = 8; CEILING(5.5071,2) = 6 |
| FLOOR(number, significance) | Rounds the number down, toward zero, to the nearest multiple of significance. | FLOOR(5.5071,3) = 3; FLOOR(5.5071,4) = 4 |
| RAND () | Gets a random number from 0 through 1. | RAND () = 0.7913439124018724 |
| ROUND(number) | Rounds a number to the nearest integer. | ROUND(1.7) = 2 |
| CHAR(number) | Returns the character specified by a number according to the ASCII standard. | CHAR(035) = # |

## Text Functions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e205">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e208">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e211">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">COALESCE([value1, value2, ...] )</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns the first value from the list that isn’t empty.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>Your ‘Campaign Key’ in your original file reads ‘Campaign ID’. Adding a coalesce function
                to the Campaign Key field, for example</p>
              <p>COALESCE([csv[‘Campaign Key’], csv[‘Campaign ID’]])</p>
              <p style="margin-bottom:0;">looks for the field called Campaign Key, and if it isn’t found, Campaign ID replaces
                it.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">CODE(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns a numeric code for the first character in a text string, according to the
              ASCII standard.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">CODE(‘ABC’) = 65</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">COSTTYPE(text)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Matches between the custom cost type in the source data to the custom cost type in
              Marketing Cloud Intelligence.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p style="margin-bottom:0;">COSTTYPE(csv['Custom Cost Type'])</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">COUNTRY_TO_ISO2(country)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Receives a text parameter that represents a country, and finds the best possible match
              according to ISO2, which can be displayed in the Map widget.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">COUNTRY_TO_ISO2(AFGHANISTAN) = AF</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">COUNT_CHAR(text,charToCount)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Counts how many times a specific character appears in a text.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">COUNT_CHAR(‘ABC_123_XYZ, ‘_’) = 2</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">EXTRACT(text, delimiter, position)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Extracts from the given text the substring at the given position from the given text,
              after splitting by the given delimiter.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>EXTRACT(csv['Media Buy Name'], ‘_’,1); EXTRACT('a_b_c', '_', 1) returns 'b'</p>
              <p style="margin-bottom:0;">Explanation: The function looks into the Media Buy Name and EXTRACTs the substring from
                position 1 (second position, as the index begins at 0). The positions are defined by the
                delimiter, in this example it’s ‘_’.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">FIND(findText, withinText)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns the starting position of findText in withinText. returns -1 if withinText
              doesn’t contain findText, The count starts at 0.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>FIND('fall',csv['campaign'])</p>
              <p>Explanation: the function looks for the string 'fall' and returns the position in which
                the string starts, output -</p>
              <p>'fall - cosmetics' returns 0</p>
              <p>'fashion fall' returns 8</p>
              <p style="margin-bottom:0;">'beauty - fourth quarter' returns -1</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">FUZZYMATCH(valueToMatch,array,threshold)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Searches for a string in an array of values that potentially match using
              duplicate-detection algorithms that calculate the similarity of two streams of data. Returns
              the matched string from the array for a match, or an empty string if no match is found. </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>FUZZYMATCH("ABC Compani",{"ABC Company Inc","Apple Inc","IBM Company"},0.8) returns "ABC
                Company Inc". </p>
              <p style="margin-bottom:0;">The threshold parameter must be a value from 0 through 1. Threshold of 1 means an exact
                match.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">FUZZYVLOOKUP(valueToSearch, searchDimension, returnDimension, threshold, workspaceLevel,
                {'streamfilter1', 'streamfilter2', ...}, useAutomaton)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p>The FUZZYVLOOKUP function uses the value provided as the first parameter and fuzzy match
                it in the dimension values provided as the second parameter. After it’s found, it returns
                the value of the dimension used as the third parameter.</p>
              <p>Both the lookup dimension and the output dimension must be related to the same entity.
                WorkspaceLevel gets a true value if the intention is to perform the search in the data of
                all the workspace's data. Set the value to false to search it in the current data stream
                only. The threshold parameter must be a value from 0 through 1. threshold of 1 means an
                exact match. </p>
              <p style="margin-bottom:0;">streamfilter (optional) – insert the Data Stream Names you want to apply the function to
                inside the {curly brackets}, instead of 'streamfilter#'. If 'searchDimension' contains more
                than 2,000 unique values, the function fails. useAutomaton - forces the use of Levenshtein
                automaton algorithm, which supports large dictionary sizes.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">FUZZYVLOOKUP("ABC Compani", searchDimension, returnDimension, 0.8) - returns "ABC
              Company Inc". if the list of the return dimension contains the value("ABC Company Inc",
              "Apple Inc", "IBM Company"). The threshold parameter must be a value from 0 through 1.
              threshold of 1 means an exact match.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">GET_EXCHANGE_RATE(date, fromISO, toISO)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">The function retrieves the currency rate for a specific date, and the currency rate
              can be used to convert the Measurements data</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>The function multiplies the relevant Measurement field from the original data with the
                convert rate retrieved by the GET_EXCHANGE_RATE formula. The date section is filed by the
                'day' CSV field. The other two sections relate to the conversion you want to perform. In
                the 'fromISO' section, enter the original currency, and in the 'toISO' enter the currency
                you want to convert to.</p>
              <p style="margin-bottom:0;">For example: csv['Post Click Revenue']*GET_EXCHANGE_RATE(csv['Day'],'USD','GBP')</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">INDEXOF(array,findText)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p>Searches the array for the specified item, and returns its position.</p>
              <p>Returns -1 if the item isn’t found.</p>
              <p style="margin-bottom:0;">If the item is present more than one time, the INDEXOF function returns the position of
                the first occurrence.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>INDEXOF(csv['row'], 'Campaign ID') == 0 returns true if 'Campaign ID' was found in the
                first cell.</p>
              <p style="margin-bottom:0;">The first item has position 0, the second item has position 1, and so on.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">ISEMPTY(value)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns whether the value is empty or not.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p style="margin-bottom:0;">ISEMPTY(csv['Media Buy Key']) can equal ‘true’ or ‘false’ depending on whether there’s a
                value for Media Buy Key or not.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">LEFT(text, numOfChars)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Returns the requested number of characters from the left.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">LEFT(‘ABCD_1111’,4) = ABCD</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">LEN(text)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns the number of characters in the given text.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">LEN(‘ABCD_1111’) = 9</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">LOWER(text)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Converts all uppercase letters in a text string to lowercase.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">LOWER(‘InteLliGence’) = ‘intelligence’</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">MATCH(valueToMatch, array)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Searches for a specified item in an array of values, and then returns a boolean
              result.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">MATCH(1,{1,2,3}) returns true as the value '1' exists in the array.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">PROPER(text)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Capitalizes the first letter in a text string and any other letters in text that
              follow any character other than a letter. Converts all other letters to lowercase
              letters.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">PROPER(‘‘intelligence’) = ‘Intelligence’</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">REPLACE(sourceStr, pattern, targetStr)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Replaces every match of a pattern(a regex expression) in the source string to the
              targeted strong. sourceStr to targetStr.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>REPLACE(csv['Campaign Name'],'-', ' ')</p>
              <p>Explanation: In the Campaign Name, takes every instance of “-” and replaces it with a
                space bar.</p>
              <p>Example: REPLACE(csv['media buy key'],'\\s','-')</p>
              <p style="margin-bottom:0;">Explanation: All white-space characters for example, the space bar is replaced by a
                hyphen (-), from 'media buy 1' to 'media-buy-1'. //s refers to the regular expression
                /s</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">RIGHT(text, numOfChars)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns the requested number of characters from the right.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">RIGHT(‘ABCD_1111’,4) = 1111</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">SELECT(sourceStr, pattern)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Selects the first match of the pattern (a regex expression) in the source
              string.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">SELECT('Hello B wow E Goodbye', 'B.*?E') would return 'B wow E'.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">SENTIMENT(text)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Extracts positive/neutral/negative sentiment from the given text.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>The formula can be applied in the <a href="https://help.salesforce.com/s/articleView?id=mktg.dato_data_mapping_fields.htm&amp;release=264.0.0&amp;type=5" title="Map source fields to Marketing Cloud Intelligence fields to connect the data and create a match between your source data and Marketing Cloud Intelligence.">Mapping</a> process or in a calculated dimension.</p>
              <p style="margin-bottom:0;">When applying the formula insert the relevant CSV or Marketing Cloud Intelligence field
                you want to analyze into the brackets.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">SET_VAR/GET_VAR(name,value)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Sets / gets a global variable value.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p>A common use is for data files that have a certain value that appears after and applies
                to all the rows beneath it.</p>
              <p style="margin-bottom:0;">if(!ISEMPTY(csv['relevant field'])) {SET_VAR('relevant Intelligence field',csv['relevant
                field']);return (csv['relevant field '],);} else {return (GET_VAR('relevant Intelligence
                field'));}</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">SPLIT(text,delimiter)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Split is used the same as “text to columns” in Excel to create multiple columns from
                values in a single field with a common delimiter. It splits a text string into an array, by
                using a delimiter character. It returns a zero-based, one-dimensional array holding the
                parts of the original text string.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">SPLIT('a,b,c', ',') returns an array with 3 items. Can be used for files that have
              multiple dimensions contained in one column that must be mapped individually. This formula
              can separate them into individual columns to be mapped to dimensions.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">SUBSTITUTE(text, oldText, newText)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Substitutes newText for oldText in a text string. Use SUBSTITUTE when you want to
              replace specific text in a text string.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">SUBSTITUTE(‘ABCD_1111’, ‘1111’, XYZ) = ABCD_XYZ</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">SUBSTRING(text, beginIndex, endIndex)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Returns the substring of the text beginning at beginIndex (inclusive), and ending at
              endIndex (exclusive).</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">SUBSTRING('ABCD_1111',0,4) = ABCD</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">TARGETTYPE(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Matches between the custom target type in the source data to the custom target type in
              Marketing Cloud Intelligence.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">TargetType(csv['Custom Target Type'])</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">TRIM(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Removes all spaces from the text except for single spaces between words.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">TRIM('Summer 2020 - Seasonal Sale)' = Summer 2020 - Seasonal Sale</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">UPPER(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Converts all lowercase letters in a text string to uppercase letters.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">
              <p style="margin-bottom:0;">UPPER(‘intelligence’) = ‘INTELLIGENCE’</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">URL_DECODE(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">Decodes an application/x-www-form-urlencoded string using a UTF-8 encoding
              scheme.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">URL_DECODE (https%3A%2F%2Fwww.urlencoder.org%2F) = https://www.urlencoder.org/</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">URL_ENCODE(text)</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Translates a text into application/x-www-form-urlencoded format using a UTF-8 encoding
                scheme.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">URL_ENCODE (https://www.urlencoder.org/) =https%3A%2F%2Fwww.urlencoder.org%2F</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e205 ">
              <p style="margin-bottom:0;">VLOOKUP(valueToSearch, searchDimension, returnDimension, brandLevel, concatValues,
                {'streamFilter1', 'streamFilter2',...})</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e208 ">
              <p style="margin-bottom:0;">Uses the value provided as the first parameter and searches it in the dimension provided
                as the second parameter. After it’s found, it returns the value of the dimension used as
                the third parameter.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e211 ">See more about this function <a href="https://help.salesforce.com/s/articleView?id=mktg.dato_data_mapping_formulas_vlookup.htm&amp;release=264.0.0&amp;type=5" title="Use the VLOOKUP function to retrieve specific data from a table. You can use it when you’re mapping fields from your source file to Marketing Cloud Intelligence.">here</a>.</td>

          </tr>
        </tbody>
      </table>

## Date Functions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e782">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e785">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e788">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DATE(year, month)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the first of the given month in the given year. Note: Date formulas don’t
              allow the use of a '0' prefix (like in '08'). Be sure to insert numbers without a '0'
              prefix, for example, '8' and not '08'. </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">DATE(2020,5) = 1 May 2020</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DATE(year, month, day)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">
              <p>Returns the date representing the given arguments.</p>
              <p style="margin-bottom:0;">Note: Date formulas don’t allow the use of a '0' prefix (like in '08'). Be sure to insert
                numbers without a '0' prefix, for example, '8' and not '08'.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">DATE(2020,5,24) = 24 May 2020</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DATEADD(interval, number, date)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the date after a certain time or date interval is added. The interval must be
              one of the following: 'yyyy' (year), 'q' (quarter), 'm' (month) , 'd' (day), 'ww' (week),
              'h' (hour), 'n' (minute), 's' (second).</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">FORMATDATE(DATEADD('m',-1,csv['date']),'yyyy-MM-dd') Explanations: The output is the
              given date, only a month back. So if the input is '2015-09-01' the output will be
              '2015-08-01' Note: Date formulas don’t allow the use of a '0' prefix (like in '08'). Be sure
              to insert numbers without a '0' prefix, for example, '8' and not '08'.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DATEDIFF(interval, startDate, endDate)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the number of time units specified by 'interval' between the startDate and the
              endDate. The startDate and endDate arguments must be date objects or date strings in
              standard form. The interval must be one of the following: 'yyyy' (year), 'q' (quarter), 'm'
              (month) , 'd' (day), 'ww' (week), 'h' (hour), 'n' (minute), 's' (second).</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">DATEDIFF('d', DATE(2020,5), DATE(2020,5,24)) = 23 days</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DAYPRECISION(date)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the given date with day precision. For example, hours/minutes/seconds fields
              are set to 0.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">For example: the date '12-Jun-2012 16:34' will be converted to '12-Jun-2012 00:00'
              Note: Date formulas don’t allow the use of a '0' prefix (like in '08'). Be sure to insert
              numbers without a '0' prefix, for example, '8' and not '08'.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DAYSBETWEEN(startDate,endDate)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the number of days between the given startDate and endDate. The arguments must
              be date objects or date strings in standard form.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">DAYSBETWEEN(DATE(2020,5), DATE(2020,5,24)) = 23 days</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">DAYS_IN_MONTH(date)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the number of days in a specified month.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">DAYS_IN_MONTH(DATE(2020,5)) = 31 days</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">LAST_DATA_DATE()</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the last data date of the current data stream.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">LAST_DATA_DATE() = 2020010200</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">NETWORKDAYS(startDate,endDate)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">
              <p>Returns the number of workdays between two dates, excluding weekends. </p>
              <p style="margin-bottom:0;">The arguments must be date objects or date strings in standard form.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">NETWORKDAYS(DATE(2020,5),DATE(2020,5,24)) = 16 days</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">NOW ()</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the current system date and time.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">Using NOW() returns the date and time in this format: Wed May 27 14:55:03 UTC
              2020</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">SETHOUR(date, hour)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">
              <p>Returns the given date set with the given hours. Hours are numeric values from 0 through
                23. </p>
              <p style="margin-bottom:0;">Note: Date formulas don’t allow the use of a '0' prefix, like in '08'. Insert numbers
                without a '0' prefix, such as '8' and not '08'.</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">SETHOUR(DATE(2020,5,24), 17) = Sun May 24 17:00:00 UTC 2020</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">TODAY()</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the current system date.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">TODAY() returns the system date in this format: Wed May 27 00:00:00 UTC 2020</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">TOSECONDS(duration)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns the number of seconds represented by the given duration string, with the
              format HH:mm:ss/HH:mm:ss.SSS</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">TOSECONDS('1:30:00') = 5400 seconds</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e782 ">YESTERDAY()</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e785 ">Returns yesterday's system date.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e788 ">YESTERDAY() returns the system date in this format: Tue May 26 00:00:00 UTC
              2020</td>

          </tr>
        </tbody>
      </table>

## Aggregation Functions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1006">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1009">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1012">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1006 ">COUNT(groupKey)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1009 ">Computes the row count, optionally it can be calculated for any group aggregation
              provided by the groupKey parameter.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1012 ">COUNT("csv['campaign']") results in the total count of rows per campaign.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1006 ">GROUPCONCAT_FUNCTION(groupedVal, groupKey, separator)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1009 ">Concatenates the groupedVal by the given groupKey, with the separator string between
              each two grouped values. The same value repeated won’t be concatenated twice.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1012 ">
              <p>GROUPCONCAT(csv['Ad Name'],csv['Campaign Name'],'-')</p>
              <p style="margin-bottom:0;">Explanation: This results in a Dimension value that is all the Ad Names linked to a
                certain Campaign Name concatenated without repetition</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1006 ">SUM(measurementName,measurementValue,groupKey)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1009 ">Computes the sum of the given measurement, optionally it can be calculated for any
              group aggregation provided by the groupKey parameter.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1012 ">SUM("clicks", csv['clicks']) results in the total sum for the clicks column.</td>

          </tr>
        </tbody>
      </table>

## Logical Functions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1085">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1088">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1091">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1085 ">AND(condition1, condition2)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1088 ">Logical AND, checks to see that both conditions are true.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1091 ">AND(csv['Campaign Name'] contains ‘ABC’, csv[Media Buy Name'] contains 123)</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1085 ">IF(condition, resultIfTrue, resultIfFalse)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1088 ">Returns the second argument if the first argument is true, and the third argument if
              otherwise.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1091 ">
              <p>IF(csv['Media Buy Name'] contains ‘_DIG’, ’Digital’, ’Print’)</p>
              <p style="margin-bottom:0;">Explanation: If the Media Buy Name field contains the substring ‘_DIG’, return ‘Digital’,
                else return ‘Print’.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1085 ">NOT(condition)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1088 ">Logical NOT, reverses the logic of its argument, true becomes false and vice
              versa.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1091 ">NOT(csv['Campaign Name'] contains ‘ABC’)</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1085 ">OR(condition1, condition2)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1088 ">Logical OR, checks to see if either one of the conditions is true.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1091 ">OR(csv['Campaign Name'] contains ‘ABC’, csv['Campaign Name'] contains ‘XYZ’)</td>

          </tr>
        </tbody>
      </table>

## Type Conversion Functions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1175">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1178">Description</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1181">Example</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">COMPRESS(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">
              <p>Compresses a string using gzip and returns it in base 64. The function compresses long
                strings into shorter strings. When using this function you must decompress the data after
                it’s uploaded into the platform, using the UCOMPRESS function.</p>
              <p>When applied to short strings (roughly, below 300 characters), the function produces
                longer encoded strings. If the strings you’re applying the function to aren’t stable
                length-wise, use an IF function, for example: IF(LEN(csv['section'])&gt;300,COMPRESS</p>
              <p style="margin-bottom:0;">(csv['section'],csv['section']).</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">
              <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>COMPRESS(LoremIpsumissimplydummytextoftheprintingandtypesettingindustry
LoremIpsumhasbeentheindustrysstandarddummytexteversincethe1500swhenanunknownprintertookagalleyof
typeandscrambledittomakeatypespecimenbookIthassurvivednotonlyfivecenturiesbutalsotheleapintoelectronic
typesettingremainingessentiallyunchangedItwaspopularisedinthe1960swiththereleaseofLetrasetsheetscontaining
LoremIpsumpassagesandmorerecentlywithdesktoppublishingsoftwarelikeAldusPageMakerincludingversionsofLoremIpsum)
 = H4sIAAAAAAAA/01Qy07DMBD8JXoAiSPHSkXiFzbOtlnF3rW86wb/PZMgWi7RxPY8L9a4nKv3Iu5Sah5zL2UEf4ddY+HaREP0RjrHqOwc+5/
o3D3auDzYC/nErGD83bkHSNTmhyDfubloYrw6vb68+LawknZd1TY9nLiF2Uo3ypkHAsASIp4alSnzLBFWaGU6slROUlgnMM6BAN7bXe48q4VpHlf
ghEi9CfvUg7IbnDNThZMBpGimkv4VQx0SBWB3UAU5Rte0EE7mc2zk1WrP1MSRZq97en9DEYkFuO3izna9cDSA8IXxSabxq/rcqyIuwQXtCg
7bkTSPXWhmX8Nq7VMWX8ByDLERxGXlj4x1v8D8xAxYLOWOHLdjWVO8fFr8AM3IW0rbAQAA</code></pre>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">DECODE_BASE64(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">This function is used to decode strings encoded by the ENCODE_BASE64 function.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">DECODE_BASE64(string in base64) = original string.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">ENCODE_BASE64(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">
              <p>When using this function you’ll must decode the data after it’s uploaded into the
                platform. Use the DECODE_BASE64 function.</p>
              <p>When applied to short strings (roughly, below 300 characters), the function produces
                longer encoded strings. If the strings you’re applying the function to aren’t stable
                length-wise, use an IF function, for example:
                IF(LEN(csv['section'])&gt;300,ENCODE_BASE64(csv['section']),csv['section'])</p>
              <p style="margin-bottom:0;">(csv['section'],csv['section']).</p>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">ENCODE_BASE64(string) = string in base64</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">FORMATDATE(date, pattern)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Returns the string representation of the given date according to the supplied
              pattern.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">
              <p>For example: 'yyyy-MM-dd' --&gt; 2014-02-25, 'dd MMM-yyyy' --&gt; 25 Feb-2014, and so on.</p>
              <p style="margin-bottom:0;">Date formulas don’t allow the use of a '0' prefix (like in '08'). Insert numbers without
                a '0' prefix, for example, '8' and not '08'.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">FORMATDATE_DEFAULT(date)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Returns the default (yyyy-MM-dd HH:mm:ss.S) Intelligence string representation of the
              given date.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">FORMATDATE_DEFAULT(DATE(2020,5,24)) = 2020-05-24 00:00:00.0</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">MD5(stringToHash)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Returns an MD5 hash of the given string.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">MD5(Password123) = 42f749ade7f9e195bf475f37a44cafcb</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">NUMBER(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Converts a string to a number.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">NUMBER('1000') returns the text string ‘1000’ into the number 1000</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">PARSEDATE { "dateString", "pattern" },</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Returns the date object specified by the given dateString using the given
              pattern.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">
              <p>For example: </p>
              <p style="margin-bottom:0;">'2014-02-25' ---&gt; 'yyyy-MM-dd', '25 Feb-2014' ---&gt; 'dd MMM-yyyy'</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">SHA256(stringToHash)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Returns an SHA256 hash of the given string.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">SHA256(Password123) =
              008c70392e3abfbd0fa47bbc2ed96aa99bd49e159727fcba0f2e6abeb3a9d601</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">STRIP_HTML(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">Strip's html from a string.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">STRIP_HTML(csv['Web Analytics Page Path']</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1175 ">UNCOMPRESS(value1)</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1178 ">This function is used to uncompress strings encoded by the COMPRESS function.</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1181 ">
              <p>UNCOMPRESS(value1)</p>
              <p style="margin-bottom:0;">UNCOMPRESS(shorter_string in base64) =original string</p>
            </td>

          </tr>
        </tbody>
      </table>

## Operators

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1381">Function Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41701e1384">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a != b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Not Equals Check. Checks to see if the values on both sides of the operator aren’t
              equal. For example, 'foo' != 'bar' is true.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a % b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Divides the number on the left by the number on the right and returns the
              remainder.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a &amp;&amp; b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see that the values on both sides of the operator are true.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a * b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Multiples the number on the left by the number on the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a + b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">In case the operands are numbers, adds the value on the left to the value on the
              right. In case the operands are strings, concatenates the string on the left to the string
              on the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a – b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Subtracts the value on the right from the value on the left.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a / b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Divides the number on the left by the number on the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a &lt; b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if the value on the left side of the operator is less than value on the
              right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a &lt;= b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if the value on the left-hand side is less than or equal to the value on
              the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a == b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if the values on both sides of the operator are equal. For example,
              'foo' == 'foo' is true.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a &gt; b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if the value on the left side of the operator is greater than the value
              on the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a &gt;= b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if the value on the left-hand side is greater than or equal to the value
              on the right.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">a || b</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">Checks to see if either the value on the left or the right is true.</td>

          </tr>
          <tr class="">
            <td data-label="Function Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1381 ">
              <p style="margin-bottom:0;">Java Based IF-Else</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41701e1384 ">
              <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>if(Boolean_expression){
//Executes when the Boolean expression is true
}else{
//Executes when the Boolean expression is false
}</code></pre>
              <p>Example:</p>
              <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>
if(Site Name contains ‘Twit’){
Site Group = ‘Twitter’;
}else{
Site Group = ‘Other;
}
</code></pre>
              <p style="margin-bottom:0;">Explanation: If the Site Name contains the substring ‘Twit’, assign Site Group equals
                ‘Twitter’. If the Site Name doesn’t contain the substring ‘Twit’, assign Site Group equals
                ‘Other’.</p>
            </td>

          </tr>
        </tbody>
      </table>