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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Mask data with RLS and without RLS

Hi everyone,

 

Got this interesting request for masking data under Family Educational Rights and Privacy Act (FERPA). Below are the parameters of the request from my colleague. My initial thoughts are in Blue. Can you let me know if I am correct in my thinking?

 

Here is the fake summarized data set. Any raw value under 10 would get masked under the agency's FERPA rule.   

 

I believe the gist of the request is "can we mask data under FERPA and still have the data roll up to an accurate count?"

 

Assuming multiple tables do not need to be created because possible duplicates were assigned to campus of first reporting:

  1. Can Power BI ‘mask’ data through the application, or must a masked table be used? I only know of row level security.
    1. Row level security results in:
  1.       Lower query performance - Not that I am aware.
  2.       More complex data models - I don't believe RLS complicates the data model. 
  •       Limited Power BI features enabled
    1. With RLS, we can have:
  1.       Fewer duplication of content, i.e., one table per multiple types of users - correct
  2.       Privilege users - correct
  •       One workspace for dashboard development - correct
  1. If we go without RLS, what is best way to code null values versus masked values in the data source? - I've seen index columns used to mask sensitive data. Is there another way?
    1. We would want to distinguish true null versus masked; however, we will need to consult with FERPA officer as in our Tri-Agency data sharing agreement, TEA forced other two agencies to mask zeros as well.
    2. This is still good question though.
  2. If we go without RLS, what is best way to roll up data with masked and null values to get accurate counts?
    1. Example, sum of campus data for district data is inaccurate if Null/masked set to other value.
    2. In past, I have used “OTHER” category that sums counts below 5.  With complimentary masking, sometimes, OTHER cannot be shown as total allows you to figure out missing value.
  1.       My current solution is to create these other “MASKED AGGREGATE” rows with a “STATE” code that then gets included with roll up.  In this example, it would be an additional non-existent CAMPUS code that gets included with TOTAL when all campuses are aggregated.  - this is the part that I would need the most crowdsourcing.
0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.