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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
kamalbandam
Helper III
Helper III

Remove Blanks on RLS

Hi, 
I have a table of different categories like A,B,C,D where I want to show only A categories to Y and Z people, B to X and Y & C to X and Y.So, I have used RLS for this. It is working perfect. But If I want to show Category D only to the person W then remaining values will become blanks in the visuals for the person D. 

Is there anyway to avoid those blanks ?
Any help would be grateful.

Thanks,
Kamal

2 REPLIES 2
Anonymous
Not applicable

Hi @kamalbandam,

If you mean the visual that display records has been filtered by RLS filter and show the blank contains, it is impossible to avoid these blank. (power bi does not contain any feature to do modify on visuals visible property)
Perhaps you can add some dummy data or notice data to your tables and add a condition in your RLS filter to show them if they are no records match with the current user role. 

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@kamalbandam , something like this

if(USERPRINCIPALNAME() ="XYZ",[measure1],[measure2])

or

if(USERPRINCIPALNAME() ="XYZ",[measure1],blank())

 

or refer

https://community.powerbi.com/t5/MBAS-Gallery/Microsoft-Power-BI-Unleash-row-level-security-patterns...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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