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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.