Microsoft Fabric is rapidly changing how data professionals interact with analytics assets, and Semantic Link is one of its most powerful (yet still underused) capabilities. If you’ve ever wanted to programmatically discover datasets (semantic models) across multiple workspaces , Fabric Notebooks combined with Semantic Link make this not only possible—but elegant.

In this article, we’ll walk through:

What Is Semantic Link in Microsoft Fabric?

Semantic Link is a Python-based capability in Microsoft Fabric that allows you to interact directly with Power BI semantic models (datasets) using code. Instead of relying solely on the UI, you can now:

Under the hood, Semantic Link bridges Power BI, Fabric Lakehouses, and Notebooks , giving data engineers and analysts a single, unified experience.

Why Use Fabric Notebooks for This?

Fabric Notebooks are tightly integrated with the Fabric platform, which means:

This makes notebooks the perfect place for workspace and dataset discovery .

Listing All Datasets Across Workspaces

Using Semantic Link, we can query Fabric metadata to return all semantic models (datasets) that we have access to across workspaces.

Step 1: Import Semantic Link

import sempy.fabric as fabric

Step 2: List All Datasets

The list_datasets() function retrieves datasets across all accessible workspaces.

1

This returns a Pandas DataFrame containing details such as:

Step 2: List All Datasets in Different Workspace

To retrieve all the datasets in different workspace, execute:

# List all Datasets in different workspace
fabric.list_datasets(workspace="<workspace_id>")

Workspace ID can be found in your URL and it is after the group/

2

Final Thoughts

Semantic Link turns Microsoft Fabric into more than just an analytics platform—it becomes a programmable data ecosystem. By combining Fabric Notebooks with Semantic Link, you can unlock deep visibility into your semantic layer and build automation that was previously impossible without complex APIs.

If you’re serious about data governance, automation, or platform observability in Fabric, this is a capability you should start using today.