Introduction

Microsoft Fabric provides powerful security features to control data access at a granular level. In the DP-600 certification exam, mastering how to implement row-level access control is essential for ensuring users see only the data relevant to them while maintaining governance and compliance. In this tutorial, you'll learn how to implement a static row-level security (RLS) for your Semantic model. This will enhance data security and to ensure a seamless and controlled analytics experience.

Static Row-level Security

Row-Level Security (RLS) in semantic models restricts data access, ensuring users see only authorized information. There are two types of Row-Level Security (RLS) in Microsoft Fabric: static and dynamic.

In this post, we focus on static RLS, which applies fixed filters to roles (e.g., [Country] = "Germany"), meaning all users in a role see the same filtered data. This approach ensures consistent access control, enhances security, and simplifies management by avoiding user-specific filtering.

💡
You can implement a RLS for Semantic models directly in Fabric or with Power BI Desktop. In this tutorial, we configure the RLS in Power BI Desktop.

Data

We have already loaded data from an Excel file into Power BI Desktop.

Microsoft Fabric Book

We are delighted to publish a hands-on guide to implementing end-to-end data projects in Microsoft Fabric. This hands-on book walks you through the key components and functionalities of Microsoft Fabric and invites you to actively follow the steps yourself.

View on Amazon

Goal

We want to implement a static Row-Level Security (RLS) to control data access based on student majors. Different roles should ensure that users only see the students that belong to the corresponding major.

For instance, users assigned to the Data Analytics role should exclusively view students majoring in Data Analytics.

In the same way, users with the Data Science or Data Engineering role should only be able to view student data corresponding to the respective major.

Implement Row-Level Security

To implement a Row-Level Security, open the table view and click Manage roles in the top-right corner.

You can view this post with the tier: Academy Membership

Join academy now to read the post and get access to the full library of premium posts for academy members only.

Join Academy Already have an account? Sign In