Loading
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
          Add a Date Widget to Filter Dashboard Results Based on a Date

          Add a Date Widget to Filter Dashboard Results Based on a Date

          A date filter widget allows dashboard viewers to filter the CRM Analytics dashboard results based on a selected date range. The range can use relative dates based on UTC (like 2 years ago), absolute dates (like 1/15/2016), or presets (like Current Fiscal Year To Date). For example, you can add a date widget to filter support cases, showing only cases that closed this month or last month.

          The date widget requires a query that has a single grouping based on a date field.

          Note
          Note When filtering by date, avoid mixing Standard Units (year/month/day) with Week-Based Units (weekYear/weekNumber). This is because week numbers can sometimes fall into a different calendar year, potentially leading to errors. Always use matching pairs, such as weekYear with weekNumber, or simply year, month, and day.
          1. Drag the date widget to the dashboard canvas.
          2. To open the wizard, click the button inside the widget.
            The Select a Field screen appears, showing a list of all date fields in the specified dataset.
            The modal shows all date fields in the dataset.
          3. To use a different dataset, click Change Dataset.
          4. Select the date field that you want to filter on by selecting it from the field list or typing in its API name.
          5. Click Create.
            Behind the scenes, CRM Analytics creates a query grouped by the field that you selected. CRM Analytics adds the query to the query panel, but you can’t reuse it in other widgets. CRM Analytics doesn’t apply any selections to the widget, by default.
          6. To change the widget and query properties, select the widget.

            The Widget panel groups the widget properties into sections. So that you don’t accidentally overlook any properties, expand any collapsed sections.

          7. In the widget properties, specify whether to show absolute, relative, or preset dates, select the default calendar type.
          8. Use a List of presets for a fixed interval.
          9. Specify whether users can switch calendar types while viewing the dashboard in Default Calendar Type.
            You can specify which types of dates to show in a date widget: absolute, relative, and presets.
            Note
            Note If you enable absolute and relative dates, absolute dates show by default. To show relative dates, by default, set an initial selection based on a relative date.
          10. To show and set the query properties, click Query in the right panel.
            For example, to enable this widget to filter other faceted widgets, select Broadcast selections as facets.
          11. To preview your changes to the dashboard, click the Preview button.
          12. Select applicable intervals. Use the Custom interval to switch calendar type or apply custom intervals, such as 60 days ago.
            Note
            Note By default, Custom interval converts selected presets, such as Previous Fiscal Year, to a standard calendar date range in the Absolute tab, which may not match your org’s fiscal year setting. To customize a fiscal preset, manually adjust the absolute start and end dates in the Absolute tab or use settings in the Relative tab.
          13. Save the dashboard.

          You can set an initial selection that applies when the dashboard opens. The selected range filters other faceted widgets. While viewing the dashboard, viewers can change the selection to filter the results differently. For information about setting an initial selection, see Set Initial Selections in the Dashboard.

           
          Loading
          Salesforce Help | Article