Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dataflow incremental refresh changing keys

Hi there!

 

I am actually involved in a project where incremental refresh is required. I am working with dataflows:

 

- Fact table: only 1 date/time column. The rest of the columns are surrogate keys to make the relationship with the dimension tables. This datetime is the column I am using for incremental refresh.

 

- Dimension tables: consist of surrogate key column and text columns. There is no date on them.

 

By doing the refresh, it is true that more rows are being added to fact table BUT here is the issue, the surrogate keys for the dimensions are changing.

 

ID_FACTNUM_FACTID_DATEID_DIM FACT
90     DPP000006469     30/06/2019 0:00             8
95     M000007732     30/06/2019 0:00            11

 

ID_FACTNUM_FACTID_DATEID_DIM FACT
90     DPP000006469     30/06/2019 0:00          10
92     M000007732     30/06/2019 0:00          14
97     05370033AFTP0001     31/07/2019 0:00           4
110     B000013418     31/07/2019 0:00          8

 

Any idea to make incremental refresh without the modification of these keys?

 

Thanks!!

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, change the configuration time in the incremental refresh to an interval from the current day to July. And turn on the "Delete data change" checkbox. After reconfiguring the incremental refresh, observe whether the results are refreshed correctly.

vhenrykmstf_1-1633314490051.png

 

This function allows you to select the "Date/Time" column to identify and refresh only the date of the data change. This action assumes that the columns normally used for auditing exist in the source system. The maximum value of this column will be evaluated for each period in the incremental range. If the data has not changed since the last refresh, there is no need to refresh the time period.

vhenrykmstf_0-1633314431749.png

 

For more details, you can read related document link:

Using incremental refresh with dataflows | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and operation screenshoots. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, change the configuration time in the incremental refresh to an interval from the current day to July. And turn on the "Delete data change" checkbox. After reconfiguring the incremental refresh, observe whether the results are refreshed correctly.

vhenrykmstf_1-1633314490051.png

 

This function allows you to select the "Date/Time" column to identify and refresh only the date of the data change. This action assumes that the columns normally used for auditing exist in the source system. The maximum value of this column will be evaluated for each period in the incremental range. If the data has not changed since the last refresh, there is no need to refresh the time period.

vhenrykmstf_0-1633314431749.png

 

For more details, you can read related document link:

Using incremental refresh with dataflows | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and operation screenshoots. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors