Loading
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Bucket a Measure Field in a Recipe

          Bucket a Measure Field in a Recipe

          Add a field to a recipe to bucket values in a specified measure field.

          Required Editions

          Available in Salesforce Classic and Lightning Experience.
          Available with CRM Analytics, which is available for an extra cost in Enterprise, Performance, and Unlimited Editions. Also available in Developer Edition.
          User Permissions Needed
          To create a recipe: Edit CRM Analytics Dataflows OR Edit Dataset Recipes
          Note
          Note To bucket numeric values in a Data Prep recipe, see Categorize Measure Column Values into Buckets.

          A bucket field lets you create new values based on existing values in another field. For example, use a bucket field to categorize households as small, medium, or large, based on the number of people in the household.

          No. of People in HouseholdSize Category
          1–2 Small
          3–5 Medium
          6 or more Large
          1. On the column header of the measure field you want to bucket, click Column menu button, and then select Bucket.
            Bucket settings appear in the Add Transformation panel below the preview data.
            Measure bucket dialog
          2. For Range1, enter a value and name for the first bucket. Rows with values below the Range1 value are assigned this bucket name. In this example, rows with values less than 3 are assigned a value of Small in the new bucket field.
            Measure bucket range 1
            The Range2 value populates with the value you enter for Range1.
          3. If your bucket field has more than two buckets, click Add>> to add another range.
          4. For each additional range you add, enter the range of values and the bucket name. Rows with values greater than or equal to the first value, and less than the second value are assigned the bucket name. In this example, rows with values 3, 4, or 5 are assigned a value of Medium in the new bucket field.
            Measure bucket range 2
          5. Repeat steps 4–5 to add any additional buckets that you need.
          6. For the final range, enter a value and bucket name. Rows with values greater than or equal to this value are assigned this bucket name. In this example, rows with values greater than or equal to 6 are assigned a value of Large in the new bucket field.
            Measure bucket range 3
          7. When you have completed all the ranges, click Add.
            The new bucket field appears next to the source field in the recipe preview.
            Measure bucket field
          Tip
          Tip You can use a bucket field to filter rows in a recipe.
           
          Loading
          Salesforce Help | Article