๐๐จ๐ง๐ข๐ญ๐จ๐ซ ๐๐๐ฆ๐๐ง๐ญ๐ข๐ ๐๐จ๐๐๐ฅ๐ฌ ๐๐ฎ๐๐ฅ๐ข๐ญ๐ฒ ๐ฐ๐ข๐ญ๐ก ๐๐๐ฌ๐ญ ๐๐ซ๐๐๐ญ๐ข๐๐ ๐๐ง๐๐ฅ๐ฒ๐ณ๐๐ซ ๐ฏ๐ข๐ ๐๐๐ฆ๐๐ง๐ญ๐ข๐ ๐๐ข๐ง๐ค ๐๐๐๐ฌ
With the recent release of Semantic-Link-Labs, Michael Kovalsky has introduced a streamlined approach to monitoring the quality of ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ ๐ฌ๐๐ฆ๐๐ง๐ญ๐ข๐ ๐ฆ๐จ๐๐๐ฅ๐ฌ ๐๐๐ซ๐จ๐ฌ๐ฌ ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ ๐ฐ๐จ๐ซ๐ค๐ฌ๐ฉ๐๐๐๐ฌ using the Best Practice Analyzer tool.
๐๐Below, Iโve executed the following three ๐ง๐๐ฐ Semantic-Link-Labs ๐๐ฎ๐ง๐๐ญ๐ข๐จ๐ง๐ฌ in a Fabric Notebook :
1- ๐๐ฎ๐ง๐ง๐ข๐ง๐ ๐ญ๐ก๐ ๐๐๐ ๐๐๐ซ๐จ๐ฌ๐ฌ ๐๐ฅ๐ฅ ๐๐จ๐๐๐ฅ๐ฌ:ย
By using the ย ๐ซ๐ฎ๐ง_๐ฆ๐จ๐๐๐ฅ_๐๐ฉ๐_๐๐ฎ๐ฅ๐ค()ย function, we can execute the Best Practice Analyzer across all semantic models in a workspace, or even across all accessible workspaces.
The results are efficiently saved and appended to the โ๐ฆ๐จ๐๐๐ฅ๐๐ฉ๐๐ซ๐๐ฌ๐ฎ๐ฅ๐ญ๐ฌโ delta table in the lakehouse attached to the notebook.
2- ๐๐๐ง๐๐ซ๐๐ญ๐ข๐ง๐ ๐ ๐๐๐ฆ๐๐ง๐ญ๐ข๐ ๐๐จ๐๐๐ฅ ๐๐จ๐ซ ๐๐๐ ๐๐๐ฌ๐ฎ๐ฅ๐ญ๐ฌ:
We can utilize the ๐๐ซ๐๐๐ญ๐_๐ฆ๐จ๐๐๐ฅ_๐๐ฉ๐_๐ฌ๐๐ฆ๐๐ง๐ญ๐ข๐_๐ฆ๐จ๐๐๐ฅ() function, which will dynamically generate a DirectLake semantic model based on the data in the โ๐ฆ๐จ๐๐๐ฅ๐๐ฉ๐๐ซ๐๐ฌ๐ฎ๐ฅ๐ญ๐ฌโ delta table.
3-๐๐ซ๐๐๐ญ๐ข๐ง๐ ๐ ๐๐๐ ๐๐๐ฉ๐จ๐ซ๐ญ:
Finally, we employed the ๐ซ๐๐ฉ๐จ๐ซ๐ญ.๐๐ซ๐๐๐ญ๐_๐ฆ๐จ๐๐๐ฅ_๐๐ฉ๐_๐ซ๐๐ฉ๐จ๐ซ๐ญ() function to dynamically generate a Best Practice Analyzer report.
The report is connected to the previous generated semantic model.
๐๐The outcome is truly impressive. The generated report is extremely useful for ongoing monitoring and improvement of semantic modelsโ quality across workspaces. It allows teams to proactively address issues, ensuring high standards are consistently met.
โจIt is an invaluable tool for monitoring and analyzing the quality of semantic models across various workspaces, ensuring adherence to best practices.