/
How to Set Up Incremental Refresh

How to Set Up Incremental Refresh

Please note that incremental refresh is supported only for specific tables. Refer to the list of supported tables for details.

Β 

Incremental Refresh Overview

Β 

Incremental refresh updates data without reloading the entire dataset from scratch. Instead of processing the whole dataset, it only adds or updates the parts that have changed since the last refresh.

new This feature is now supported by the Power BI Connector for Jira Cloud.

Please refer to the list of supported tables for details.

Please follow the guide below on configuring incremental refresh for Issues. The specific OData protocol used by the Power BI Connector for Jira does not support the Date/Time/Timezone data type. As a result, you will need to manually include a data type conversion in your query.

Β 

Supported Tables

Β 

A list of tables that support incremental refresh includes: Issues, Issue Custom Fields, and History-related tables (IssueAffectsVersion, IssueFixVersions, IssueLinks), Service Management Custom Fields, and Feedback.

Custom Fields Support:

  • Custom fields exported as a column in the Issues table will not impact incremental refresh functionality.

  • Custom fields exported as a separate table must be searchable.

Module

Table Name

Table Id

Column

Module

Table Name

Table Id

Column

Jira Work Management

Β 

Issues

Issues

CREATED

Issue Custom Fields

CustomFields

ISSUE_CREATED

Issue Links

IssueLinks

ISSUE_CREATED

Issue Fix Versions

IssueFixVersions

ISSUE_CREATED

Issue Affects Versions

IssueAffectsVersions

ISSUE_CREATED

Jira Service Management

Service Management Custom Fields

ServiceDesk

ISSUE_CREATED

Feedback

Feedback

ISSUE_CREATED

Β 

Incremental Refresh Configuration

Β 

The setup process for incremental refresh involves the following steps:

β†’ creating parameters

β†’ customizing the query

β†’ defining the incremental refresh policy

β†’ publishing your model to Power BI Service

β†’ setting up refresh on Power BI Service.

Parameters

The parameters must have the constant names: RangeStart and RangeEnd. These are case-sensitive and must be of the Date/Time data type. No other data types are supported for incremental refresh.

Query

In Power Query Editor, you’ll need to customize your query. Simply copy and paste the provided query, substituting your variables as required. This customized query will serve as a filter for your data.

Incremental refresh

To define an incremental refresh policy, specify the range of historical data to retain and the time period to refresh. This partitions your dataset into time-based segments, such as days or months. During refresh, only the most recent partitions are updated, while historical data remains unchanged.

Power BI Service

After publishing, your model appears in the user's workspace in the Power BI Service. During the first refresh, both historical and incremental data are loaded. Subsequent refreshes load only incremental changes.

Β 

To begin setting up incremental refresh, please follow the steps outlined below.

This guide starts with data transformation. If you're unsure how to export data from Jira Cloud to Microsoft Power BI, please refer to this page for detailed instructions.

Β 

Right after the OData source is connected to Power BI, in the Navigator window, select Transform Data. If the data source has already been exported, select Transform Data from the Power BI ribbon.

  1. Select Transform Data

transform-data.gif
Option 1: Transform Data from Power BI Navigator
transform-data-option-2.gif
Option 2: Transform Data from Power BI ribbon

Β 

  1. Select Manage Parameters, and then select New Parameter.

Β 

  1. In the Name field, enter RangeStart (case-sensitive).

  2. In the Type field, select Date/Time.

  3. In the Current Value field, enter a start date and time value.

  1. Select New.

Β 

  1. In the Name field, enter RangeEnd (case-sensitive).

  2. In the Type field, select Date/Time.

  3. In the Current Value field, enter an end date and time value.

  1. Select OK.

Β 

Β 

  1. Right-click the last step, and then select Insert Step After.

Β 

  1. Navigate to your query, and then copy and paste the query below, carefully substituting variables.

= Table.SelectRows(Issues_table, each [CREATED] >= DateTime.AddZone(RangeStart,0) and [CREATED] < DateTime.AddZone(RangeEnd,0))
  • Issues_table is an actual table name

  • CREATED is an column name

Β 

Β 

  1. Select Close&Apply.

Β 

  1. Right-click a table that will be configured, and then select Incremental refresh.

Β 

  1. In the Set import and refresh ranges section, move the slider to On.

  1. Depending on your specific needs for incremental refresh, configure all required settings, and then select Apply.

  • When the Refresh only complete days option is selected, the incremental refresh will be adjusted to the last completed day.

  • The Detect data changes option is not recommended to use, as it can increase server load and slow down refresh performance.

Β 

  1. Select Publish.

Β 

Β 

Related content

How to Set Up Scheduled Refresh on Power BI Service
How to Set Up Scheduled Refresh on Power BI Service
Read with this
How to Export Data Requiring Jira API Token
How to Export Data Requiring Jira API Token
Read with this
Incremental refresh. Configuration.
Incremental refresh. Configuration.
Read with this
Atlassian Data Residency
Atlassian Data Residency
Read with this