The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to set up incremental refresh in some tables of my datamart. The documentation says that the incremental refresh is basically a "partition" of the window we want to refresh and this window is constally rolling forward based on the date and it will drop the oldest record. So I need to clarify my interpretation. If I choose to maintain 5 years of history, and refresh records from the past year, does that mean it will always maintain 5 years of data to the date and truncate the most recent year and reload it including all the new records?
I see a field that says "Detect data changes"; but I actually don't want it to detect changes in individual records. I want it to just reload my most recent year completly. Is that possible?
Solved! Go to Solution.
does that mean it will always maintain 5 years of data to the date and truncate the most recent year and reload it including all the new records?
Mostly correct. In reality it will do full years (partitions are defined by regular calendar boundaries). So for a while you may end up with six partitions instead of five.
Stay away from the "Detect data changes" setting. It will double your storage requirements. You should know when older partitions need to be refreshed, and you should decide when to do that.
does that mean it will always maintain 5 years of data to the date and truncate the most recent year and reload it including all the new records?
Mostly correct. In reality it will do full years (partitions are defined by regular calendar boundaries). So for a while you may end up with six partitions instead of five.
Stay away from the "Detect data changes" setting. It will double your storage requirements. You should know when older partitions need to be refreshed, and you should decide when to do that.
Thanks for your reply! That is great to know. How can I see these partitions?
That would be nice, wouldn't it? But datamarts are based on dataflows which are based on csv/parquet files. There is no known (to me) way to access these partitions directly, neither for dataflows nor for datamarts.