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! Learn more

Reply
Anonymous
Not applicable

Row-level security problem

Hi,

I intend to change a view of a particular visualization to row level security and its works when tested. 

However the other charts are showing full percentage for example the department should be showing a breakdown of all the departments regardless of the filter however it shows as the department over the rest as 100 percentage (top left chart).

How can we change it? 

 

 

nchandran_0-1597196731396.png

 

12 REPLIES 12
v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

RLS will work on your data mode level, not report visual level.

so after you apply RLS, the datamolde will be filtered, in your case, your department will only have IT in the data mode.

so whatever dax you used, it will still keep 100% for IT in the visual.

 

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Is there anyway to hide unncessary visuals specific for that role?

HI  @Anonymous 

It could not hide a visual by role in power bi for now.

and as a workaround, you could create a measure as below

Measure = IF(USERPRINCIPALNAME()="Role",1,0)

Then drag this measure into that unncessary visual's visula level filter and set is "1",

In this way, this visual will show blank for that role.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This approach results in bad UX.

lbendlin
Super User
Super User

Make sure your RLS table sits at the top of the data model hierarchy (ie the outskirts of the star/snowflake) and that the filter direction only points from the RLS table to the sub dimensions and fact tables, not the other way round.

Anonymous
Not applicable

Sorry can you explain what you just said, im still learning the ropes here. Pardon my noobness hehe.

show your data model.

Anonymous
Not applicable

This is how it looks like. 2nd screenshot shows the Role-level is applied to table sg0073.

nchandran_0-1597198644365.png

nchandran_1-1597198782179.png

 

 

Do you have to be able to filter "Mobile Bill" by "Terminated Lines" ?  That is not compatible with RLS.

Anonymous
Not applicable

No i dont need to do that, terminated lines is just a reference database which doesnt help much. In fact that database can be removed if not required. but can you explain why RLS wont work for that? 

RLS only works if filters flow FROM the RLS table, not TO the RLS table.

Anonymous
Not applicable

Hi,

 

Is this acceptable. Changed the filter direction.

 

nchandran_0-1597207875454.png

 

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.

Top Kudoed Authors