Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
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
          Group Your Data into Categories

          Group Your Data into Categories

          Group data to organize it so that the data is displayed in useful categories. You can group your data by up to ten dimensions or date fields in charts and tables, except in blended queries.

          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 view visualizations: Use CRM Analytics

          For example, to look for seasonal patterns in your sales cycle, group opportunity data by the month when deals close.

          1. Explore a dataset containing opportunity stages, pipeline amounts, and dates, setting the measure to pipeline amount.
          2. Click the Vertical Axis plus button, click the opportunity stage date, and then select month as the dimension that you want to group by.
            The dimensions in your data determine which categories you can group by.
            explorer bar chart showing pipeline amount grouped by month
          3. To find the second dimension that you want to group by, click the Vertical Axis plus button, then enter stage in the search field.
            explorer group-by selection dialog stage
          4. Click Stage, the second dimension you want to group by.

            Pipeline amounts are shown grouped by stages, and stages are shown grouped by month. In this dataset, closed amounts are shown as negative numbers because those amounts fall out of the pipeline.

            explorer bar chart showing pipeline amount grouped by month and stage
          5. Click the filters plus button, then click the stage dimension.
          6. Set the filter to equal the closed stages only.
            explorer filter set to show closed won and closed lost stages only

            The resulting bar chart shows the information you’re after, but it's not easy to interpret.

            explorer bar chart showing closed won and closed lost stages by month
          7. Open the chart menu and select stacked waterfall.
            The bar chart changes from a single bar to a waterfall chart that show the data grouped separately by month. It also provides an overall total for the year. You can now easily see how much each month has contributed in both lost and won closed deals.
            explorer waterfall chart showing closed won and closed lost stages by month

          Considerations When Grouping Data in CRM Analytics

          Keep these things in mind when you group data into categories.

          When a dimension is grouped, that dimension's null records are excluded from results, which affects the count of rows in a lens. To prevent the exclusion of null dimension records, assign a default value to those records.

          A null dimension group can’t be renamed.

          Grouping is supported on these Salesforce object field types:

          • Checkbox (Boolean)
          • Date (Date)
          • Direct cross-object references to groupable fields, up to 5 levels from the root object (SOQL limit). Both custom and standard references are groupable.
          • Email (String)
          • Formulas of type Checkbox and Date, including cross-object formulas across standard and custom relationships
          • ID (ID)
          • Lookup (ID)
          • Master Detail (ID)
          • Picklist (String)
          • Phone (String)
          • Standard number fields with SOAP type int
          • Text (String)
          • Text Area (String)
          • URL (String)
           
          Loading
          Salesforce Help | Article