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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
syyyap
New Member

Restrict Access to Values

Hi,

 

How do you restrict access to values based on user permission when they retrieve data from a database.

 

E.g.

 

User A - Can retrieve both "Unit" and "Amount"

User B - Only can retrieve "Unit"

 

pbi.jpg

 Thanks.

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

One way might be to separate Amount into a different table in the data model. Include enough information like Outlet and Brand so that you can build a relationship back to your main fact table. Then, you should be able to configure an RLS rule that affects only that one table, even if you have to create a column in that table with some keyword like "Restricted" and then build your RLS rule to exclude anything that has "Restricted" in that column.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

One way might be to separate Amount into a different table in the data model. Include enough information like Outlet and Brand so that you can build a relationship back to your main fact table. Then, you should be able to configure an RLS rule that affects only that one table, even if you have to create a column in that table with some keyword like "Restricted" and then build your RLS rule to exclude anything that has "Restricted" in that column.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.