๐๐๐๐ซ๐๐ฌ๐ก๐ข๐ง๐ ๐๐ฉ๐๐๐ข๐๐ข๐๐ ๐๐๐๐ฅ๐๐ฌ ๐๐ง๐ ๐๐๐ซ๐ญ๐ข๐ญ๐ข๐จ๐ง๐ฌ ๐ฐ๐ข๐ญ๐ก ๐ ๐๐๐ซ๐ข๐ ๐๐๐ฆ๐๐ง๐ญ๐ข๐ ๐๐ข๐ง๐ค ๐
Semantic Link empowers you to refresh not just the entire semantic model but also specific tables and partitions.
โ
๐๐ซ๐๐ง๐ฎ๐ฅ๐๐ซ ๐๐๐๐ซ๐๐ฌ๐ก ๐ฐ๐ข๐ญ๐ก ๐๐๐๐ซ๐ข๐.๐ซ๐๐๐ซ๐๐ฌ๐ก_๐๐๐ญ๐๐ฌ๐๐ญ():
While the ๐๐๐๐ซ๐ข๐.๐ซ๐๐๐ซ๐๐ฌ๐ก_๐๐๐ญ๐๐ฌ๐๐ญ() allows to refresh the entire semantic model, we can achieve even more precision by refreshing specific tables and partitions.
This is done by passing a list of objects to the function, where each object specifies whether to refresh an entire table or a specific partition within a table.
โจThis approach is particularly useful for large semantic models with incremental refresh scenarios, enabling precise updates to specific partitions.
In the example below ๐, I tested how to refresh just my "customers" table and the "2021" partition from my "Fact_Sales" table using Semantic Link from the Sempy library.
๐The refresh_dataset function: https://learn.microsoft.com/en-us/python/api/semantic-link-sempy/sempy.fabric?view=semantic-link-python#sempy-fabric-refresh-dataset
๐Check out Sandeep's article for others methods to refresh individual objects : https://fabric.guru/refreshing-individual-tables-and-partitions-with-semantic-link