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! Request now

Reply
jinujames12
New Member

Need help with DAX - FILTER function

Hey,

 

I'm trying to get a new filtered table of 'team projects' table wherein the logged in user is a member of the project. The login ID of the users are stored in 'work_email' in 'team users' table. The ID of 'team users' is connected to 'project members' table, where the list of team members of the project is stored.

 

To summarise:

'project members'[project_ID] *:1  'team projects'[ID]

'project members'[member_ID] *:1  'team users'[ID]

 

Can someone help me with the DAX to get the filtered table?

@amitchandak 

4 REPLIES 4
bhelou
Responsive Resident
Responsive Resident

Try this maybe it works : 

Filtered Table =
FILTER(
'team projects',
COUNTROWS(
FILTER(
'project members',
'project members'[project_ID] = 'team projects'[ID] &&
'project members'[member_ID] IN VALUES('team users'[work_email])
)
) > 0
)

Anonymous
Not applicable

based on requirement u need to implement Dynamic RLS on the Power BI Report. U can follow the link to implement Dynamic RLS. If it helps you please accept the solution.

 

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

ryan_mayu
Super User
Super User

could you pls provide the sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Projects Table:

 

Project IDNameDue Date
1Project Name 103-02-2023
2Project Name 205-02-2023
3Project Name 307-02-2023
4Project Name 409-02-2023

 

 

Users Table

User IDNameEmail
1Jamesjames@jnj.com
2Rajanrajan@jnj.com
3Anilanil@jnj.com

 

Team Members Table

IDProject IDUser ID
111
212
313
421
52

3

 

Expected Output

 

1. if Power BI service logged in username is 'james@jnj.com'

2. James is the member of 1st and 2nd project as can be seen from team members table.

 

Project IDNameDue Date
1Project Name 103-02-2023
2Project Name 205-02-2023

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 Solution Authors