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

View all the Fabric Data Days sessions on demand. View schedule

Reply
IOdzelashvili
Frequent Visitor

Need to filter dimension table (Clients Table) by fact tables (Loans, Deposits and etc.

Hello Power BI Community!

 

This is my model: I have a Clients table containing all unique clients, with one-to-many relationships to several fact tables (like deposits, loans, etc.).

Capture.PNG

In my report, I have a table visual that includes columns from only the Clients table, along with multiple slicers. These slicers contain filters from the Clients table and also filters from the Loians, Deposits, Accounts and etc. As you know, with this model, it is impossible to filter my table visual using slicers from the Loans table. I do not want to create many-to-many relationships and change the direction of my relationships.

 

Can you help me achive the desired functionality? I hope I have described my problem clearly. If you have any questions, please let me know.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @IOdzelashvili ,

Create a DAX measure that checks if the selected value from the slicer in the Clients table matches any value in the Loans table.

Measure = 
VAR SelectedClients = VALUES(Clients[ClientID])
RETURN IF(MAX(Loans[LoanID]) IN SelectedClients, 1, 0)

Apply it to visual filter.

Best Regards,

Xianda Tang

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

View solution in original post

2 REPLIES 2
IOdzelashvili
Frequent Visitor

Thank you.

Just a little correction:

Measure test =
VAR SelectedClients = VALUES(Clients[ClientID])
RETURN IF(MAX(Loans[ClientBID) IN SelectedClients, 1, 0)
Anonymous
Not applicable

Hi @IOdzelashvili ,

Create a DAX measure that checks if the selected value from the slicer in the Clients table matches any value in the Loans table.

Measure = 
VAR SelectedClients = VALUES(Clients[ClientID])
RETURN IF(MAX(Loans[LoanID]) IN SelectedClients, 1, 0)

Apply it to visual filter.

Best Regards,

Xianda Tang

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

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
Top Kudoed Authors