Open navigation

How to use advanced date settings in Salesforce

Supermetrics offers advanced date settings for Salesforce, allowing you to fetch opportunity and lead date data based on when the opportunity or lead was created, last modified, or when an opportunity was closed or a lead converted.

  • Opportunities: You have the option to base dates on the following: 
    • Created date
    • Last modified date
    • Closed date
  • Leads: You have the option to base dates on the following:
    • Created date
    • Last modified date
    • Converted date

The option selected will dictate how the results are populated on the Salesforce API by controlling the date base for standard dimensions (such as "Date" or "Year & Month"). This can help eliminate discrepancies with the data you see in Salesforce reporting, as you can set the date base to match what you want to use. The default setting is "Created date" for both leads and opportunities.


Instructions

Google Sheets
  1. Open the Supermetrics sidebar.
  2. Select a Salesforce query and click the pencil icon to edit it.
  3. Go to Options.
  4. Select Opportunities fetched by and Leads fetched by from the dropdown.
Looker Studio (formerly Data Studio)
  1. Click the Salesforce data source to open its configuration window.
  2. Click Edit connection in the top left corner.
  3. Scroll down to Opportunities fetched by and Leads fetched by and make your selection.
Excel
  1. Open the Supermetrics sidebar.
  2. Select a Salesforce query and click Modify.
  3. Go to Options.
  4. Select Opportunities fetched by and Leads fetched by from the dropdown.
Power BI
  1. On the Supermetrics Hub, go to DestinationsPower BI.
  2. Select an existing Salesforce query to modify.
  3. Select the connection to use.
  4. Go to Options.
  5. Select Opportunities fetched by and Leads fetched by from the dropdown.
The Supermetrics API
  1. On the Supermetrics Hub, go to API.
  2. Select the Salesforce data source and the query to modify.
  3. In the sidebar, go to Options.
  4. Select Opportunities fetched by and Leads fetched by from the dropdown.
  5. Click Run to run the query.
Data warehouse

When setting up your data transfer, navigate to General settings and select the settings to use.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.