Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ats1958
Helper II
Helper II

Filtering Confidential Data

Is there a secure way, without requiring individual Power BI Pro licenses, to use Power BI Embedded to filter to confidential data? Consider a school with confidential student grades. If I included a long, unique, alphanumeric string (GUID) with each datapoint in my database, could I use URL filtering safely? I'm confident that no one could guess someone else's GUID, however, I don't want them to be able to remove all filters and view every student's data, either.

 

An additional requirement is that each new user can't require any intervention on the developer's part. So assume that when a new teacher signs up, a GUID is generated for them, and then some records are added to the database with that GUID.

 

https://docs.microsoft.com/en-us/power-bi/service-url-filters

3 REPLIES 3
otravers
Community Champion
Community Champion

You can use row level security with PBI Embedded:

https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

So if I'm understanding correclty, I can just create a field in my database that contains usernames, and then pass that username to the embed configuration?

 

I ask because ultimately what I'd like to achieve is allowing users to sign up and upload their own data to my database. I could add their username when they upload it.

otravers
Community Champion
Community Champion

You need not just a username but also a role that you pass along to PBI:

https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security#applying-user-and-ro...

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.