Metrica
Metrica
✕
  • Home
  • Products
    • Power BI Connector for Salesforce
    • Power BI Connector for SAP
  • Resources
    • Blog
    • Trust Center
Explore Products

Home - Metrica Documentation: Power BI Connectors - How to Set Up Incremental Refresh in Power BI

Getting Started

  • Installation Guide
  • Explore Power BI Connector for Salesforce

Admin Guide

  • Application Permissions Setup
  • Access Token Management

User Guide

  • How to Set Up Incremental Refresh in Power BI
  • How to Import Salesforce Data into Microsoft Power BI
  • How to Create Data Source
  • How to Share Data Source
  • How to View Entity Relationship Diagram
  • How to Optimize Data Export Time
  • How to View Data Sources History
  • How to View Export History

FAQ & Troubleshooting

  • What data can I export from Salesforce?
  • Why is my data export slow or taking a long time to refresh?
  • What does “Data Source” mean? How many data sources can I create?
  • Why can’t I see some fields or custom objects in my data export?

Support

  • Contact Support
  • Pricing and Licensing
View Categories
  • Home
  • Metrica Documentation: Power BI Connectors
  • Power BI Connector for Salesforce Documentation
  • User Guide
  • How to Set Up Incremental Refresh in Power BI

How to Set Up Incremental Refresh in Power BI

4 min read

Overview #

Incremental refresh allows Power BI to update only the newest or modified data instead of reloading the entire dataset every time. This approach improves refresh performance and reduces the amount of data that must be processed.

The Power BI Connector for Salesforce supports incremental refresh through Power BI’s built-in functionality.

Instead of importing the entire Salesforce dataset during every refresh, Power BI updates only the most recent data based on a defined time window.

i
The OData protocol used by the Power BI Connector for Salesforce does not support the Date/Time/Timezone type directly. Because of this, a manual conversion must be included in the Power Query expression.

How Incremental Refresh Works #

Setting up incremental refresh involves several steps:

  • Creating required parameters
  • Updating the Power Query expression
  • Configuring the incremental refresh policy
  • Publishing the dataset to Power BI Service
  • Scheduling refresh in Power BI Service

This guide focuses on the configuration steps inside Power BI Desktop.

If you have not yet imported Salesforce data into Power BI, refer to the data import guide before continuing.


Step 1: Open Power Query Editor #

After connecting the connector to Power BI and selecting the Salesforce data you want to import, open the Power Query Editor.

  1. Click Transform Data in the Navigator window.

If the dataset has already been loaded, you can open the Power Query Editor from the Transform Data option on the Power BI ribbon.


Step 2: Create the RangeStart Parameter #

Incremental refresh requires two parameters:

  • RangeStart
  • RangeEnd

Both parameters must:

  • Be Date/Time type
  • Use the exact names
  • Be case-sensitive

To create the first parameter:

  1. In Power Query Editor, select Manage Parameters.
  2. Click New Parameter.

Configure the parameter:

  • Name: RangeStart
  • Type: Date/Time
  • Current Value: choose any start date and time

Then click New.

When configuring incremental refresh in Power BI Desktop, these parameters are used to filter only a small portion of the dataset locally. When the dataset is published to Power BI Service, the service automatically replaces these values to generate partitions for historical and incremental data.


Step 3: Create the RangeEnd Parameter #

Now create the second parameter.

  1. In the Name field enter:
RangeEnd
  1. Set the Type to:
Date/Time
  1. Set a Current Value representing an end date/time.

Click OK to save the parameter.

As with the previous parameter, Power BI Service will later override these values when building dataset partitions.


Step 4: Modify the Query for Incremental Refresh #

Next, the query must be updated to use the parameters.

  1. Select the Navigation step in the query.
  2. Open the query editor.
  3. Replace the existing query with the following expression.
= Table.SelectRows(
Source{[Name="Contact",Signature="table"]}[Data],
each [CreatedDate] >= DateTime.AddZone(RangeStart,0)
and [CreatedDate] < DateTime.AddZone(RangeEnd,0)
)

Example variables used in this query:

  • Contact — Salesforce object name
  • CreatedDate — DateTime field used for filtering data

Adjust these values if you are working with a different Salesforce object or date field.

After updating the query:

  1. Select Close & Apply.

Power BI may take a few moments to apply the changes.

At this point, the query should contain two applied steps:

  • Source
  • Navigation

Step 5: Enable Incremental Refresh #

Now configure the incremental refresh policy.

  1. In the Fields panel, right-click the table you want to configure.
  2. Select Incremental refresh.

In the Set import and refresh ranges section:

  1. Turn the Incrementally refresh this table slider On.
  2. Configure the archive and refresh periods according to your requirements.
  3. Click Apply.

Optional settings #

  • Refresh only complete days
    Ensures the refresh window only includes fully completed days.
  • Detect data changes
    This option is generally not recommended because it can increase server load and slow down refresh performance.

If the incremental refresh slider is disabled, it usually means:

  • The query does not reference RangeStart and RangeEnd
  • Parameter names are incorrect
  • Parameter data types are not set to Date/Time

Step 6: Publish the Dataset #

After configuring incremental refresh:

  1. Click Publish in Power BI Desktop.

Once published:

  • The dataset appears in your Power BI Service workspace
  • The first refresh loads both historical and incremental data
  • Future refreshes process only incremental changes

Important Notes #

Incremental refresh divides the dataset into two logical sections:

Incremental section

  • Updated during each refresh
  • Contains the most recent data

Archive section

  • Loaded during the initial refresh
  • Remains unchanged in subsequent refreshes

Because the refresh windows are relative to the current date, they automatically move forward over time.


Troubleshooting Incremental Refresh #

If incremental refresh fails during dataset refresh in Power BI Service, the issue may be related to dataset partitioning or duplicate values in the date column used for filtering.

To troubleshoot common refresh errors and duplicate value issues, refer to the Microsoft documentation. This guide explains common causes of refresh failures and how to resolve them in Power BI.

Updated on March 16, 2026

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
How to View Export HistoryHow to Import Salesforce Data into Microsoft Power BI
Table of Contents
  • Overview
  • How Incremental Refresh Works
  • Step 1: Open Power Query Editor
  • Step 2: Create the RangeStart Parameter
  • Step 3: Create the RangeEnd Parameter
  • Step 4: Modify the Query for Incremental Refresh
  • Step 5: Enable Incremental Refresh
    • Optional settings
  • Step 6: Publish the Dataset
  • Important Notes
  • Troubleshooting Incremental Refresh
Metrica
Explore Products
Products
  • Power BI Connector for Salesforce
  • Power BI Connector for SAP
Resources
  • Blog
  • Trust Center
  • Contact Sales

Metrica Software builds enterprise data connectors that provide analytics platforms with direct access to complex business systems such as SAP and Salesforce.

The focus is on predictable behavior, controlled access, and long-term operation in production environments.

© 2026. All rights reserved.

Privacy Policy

Terms of Use

    Contact Us







    Secure & private form

    1-2 min

    ×

      Contact Sales








      Secure & private form

      1-2 min

      ×