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
Ramesh-iTalent
Administrator
Administrator

Filtering doesn't work

Hi, I'm new to Powerbi, and I'm developing a board. I have three tables:

Now, I want to find a count of emp ids that belong to a particular city in Table 2. For some reason the city filter does not work in Table 1. Can someone help me with this kind of problem? Happy to explain more in case I'm not clear on my question.

sujatakaran_1-1592906215749.png

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Ramesh-iTalent 

 

it should work If you count emp id in tbl 3, like 

Measure 2 = 
DISTINCTCOUNT( 'Table3'[EmployeeID] )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Ramesh-iTalent 

Change filter direction between table1 and table3 with both direction.

Then use distinctcount DAX funtion.

 

Best Regards

Maggie

amitchandak
Super User
Super User

@Ramesh-iTalent , You need to count from table 3 and Table 1 and Table 2 should be 1-M relationship with Table 3

 

Distinctcount(Table3[emp id])

 

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
Mariusz
Community Champion
Community Champion

Hi @Ramesh-iTalent 

 

it should work If you count emp id in tbl 3, like 

Measure 2 = 
DISTINCTCOUNT( 'Table3'[EmployeeID] )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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