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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Looking for a way to filter dimensionalized dataset

I have two tables:

1. employee name with project name

2. project name with project details

 

I would like to either use RLS or a parameter in the first table based on the employee name so I can limit the amount of records that are imported when being refreshed.

 

I tried the parameter filter in the select statement of table 1, but that doesn't seem to filter anything in table 2.

 

I also tried to use RLS using a filtered version of table 1 based on the parameter, linking to table 1, but that still imports everything from table 2 and completely filters out everything. This seems to work if I manually add the name in quotes, but not any other way.

 

The only thing I can get remotely working is just straight RLS based on username(), but it's still brining in everything from table 2.

 

Obviously I could combine these tables into the select statement and have everything work just fine, but doesn't that defeat the point of the data model in Power BI?

 

thanks in advance.

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Before you use RLS or parameters, make sure you have created relationships between these tables:

relationship.png

Create RLS:

RLS.png

view as roles.png

 

Create parameters need to use table visual filters to hide blank rows:

parameter.png

 

Attached a sample file that you can refer, hopes to help you: filter dataset.pbix

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I'm not sure how it works, but when I set up RLS it wasn't letting me download the file from the app space. This was something else I needed.

 

I ended up using a template and setting a parameter to filter the main dataset instead of one of dimensional datasets. Any attempt at using the relationships between tables to rely on the filters still ended up bringing in the entire table before it got filtered. The template made it so it asked for the parameters up front and would use that when it downloaded the datasets.

 

RLS doesn't seem to work with the templates either. As far as the data none of this was for security reasons it's just that it takes forever to download datasets and was trying to alleviate some of that.

 

amitchandak
Super User
Super User

@Anonymous , check out if this can help

https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors