๐Ÿš€ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ ๐‘๐จ๐ฐ-๐‹๐ž๐ฏ๐ž๐ฅ ๐’๐ž๐œ๐ฎ๐ซ๐ข๐ญ๐ฒ (๐‘๐‹๐’) ๐ข๐ง ๐๐จ๐ฐ๐ž๐ซ ๐๐ˆ! ๐Ÿ”

Ever wondered how to restrict data access in Power BI so that different users see only what they should? Thatโ€™s where ๐‘๐จ๐ฐ-๐‹๐ž๐ฏ๐ž๐ฅ ๐’๐ž๐œ๐ฎ๐ซ๐ข๐ญ๐ฒ (๐‘๐‹๐’) comes in!

๐Ÿ’ก ๐–๐ก๐š๐ญ ๐ข๐ฌ ๐‘๐‹๐’?

RLS is a security feature in Power BI that controls user access to specific data rows based on their role. Instead of creating multiple reports for different users, you apply dynamic filters to show only relevant data.

๐ŸŽฏ ๐–๐ก๐ฒ ๐ข๐ฌ ๐‘๐‹๐’ ๐ข๐ฆ๐ฉ๐จ๐ซ๐ญ๐š๐ง๐ญ?

โœ… Protects sensitive data
โœ… Ensures users see only what they need
โœ… Improves performance by reducing unnecessary data access
โœ… Keeps reports clean and efficient

๐Ÿ” ๐“๐ฒ๐ฉ๐ž๐ฌ ๐จ๐Ÿ ๐‘๐‹๐’ ๐ข๐ง ๐๐จ๐ฐ๐ž๐ซ ๐๐ˆ:

1๏ธโƒฃ ๐’๐ญ๐š๐ญ๐ข๐œ ๐‘๐‹๐’ ๐Ÿ“Œ
– You manually define who sees what using fixed filters.
– ๐„๐ฑ๐š๐ฆ๐ฉ๐ฅ๐ž: Only โ€œSalesโ€ users see sales data, and โ€œHRโ€ users see HR data.

2๏ธโƒฃ ๐ƒ๐ฒ๐ง๐š๐ฆ๐ข๐œ ๐‘๐‹๐’ โšก
– Uses user credentials (email/username) to filter data dynamically.
– ๐„๐ฑ๐š๐ฆ๐ฉ๐ฅ๐ž: A regional manager sees only their assigned regionโ€™s sales.
– Uses the USERPRINCIPALNAME() function in DAX to filter based on logged-in users.

๐Ÿ”ฅ ๐‡๐จ๐ฐ ๐ญ๐จ ๐ข๐ฆ๐ฉ๐ฅ๐ž๐ฆ๐ž๐ง๐ญ ๐‘๐‹๐’?

1๏ธโƒฃ Create Roles in Power BI Desktop (Manage Roles)
2๏ธโƒฃ Define DAX filters to restrict data
3๏ธโƒฃ Assign roles to users in Power BI Service

๐Ÿ’ฌ ๐ˆ๐ฆ๐š๐ ๐ข๐ง๐ž ๐ญ๐ก๐ข๐ฌ!

Youโ€™re working for a multinational company, and each country manager should only see their countryโ€™s data. Instead of making multiple dashboards, you apply Dynamic RLS, and voilร โ€”each manager gets a personalized view automatically!

๐ŸŽฏ Want to make your reports more secure and smarter? Start using RLS today! ๐Ÿš€