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 |
---|---|---|---|
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.
Select Transform Data
Β
Select Manage Parameters, and then select New Parameter.
Β
In the Name field, enter RangeStart (case-sensitive).
In the Type field, select Date/Time.
In the Current Value field, enter a start date and time value.
Select New.
Β
In the Name field, enter RangeEnd (case-sensitive).
In the Type field, select Date/Time.
In the Current Value field, enter an end date and time value.
Select OK.
Β
Β
Right-click the last step, and then select Insert Step After.
Β
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
Β
Β
Select Close&Apply.
Β
Right-click a table that will be configured, and then select Incremental refresh.
Β
In the Set import and refresh ranges section, move the slider to On.
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.
Β
Select Publish.
Β
Β