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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to use a slicer from one table to filter records in another table

Hello the community! - I am new to Power BI and stuck in the following situtation for quite some days.   The following screen shot shows two tables Allocation and Obligation.  I want to use one slicer (EventFY) from Allocation table to filter records in Obligation. The two tables are linked by ERCode.  But we cannot join them together, as join will cause duplicate records.

 

What I want to reach is to sum obligations by State as shown in the bottom.  When 1990 is selected, the Obligations should show 600 and 1300 for A and B, respectively, and  900, 800 when 1991 is selected. 

You can get the data and report from the following links.  Any help is greatly appreciated.

 

(excel) https://1drv.ms/x/s!AlntzgQcvbvR2D0cnh_VTTAaN2Qd?e=Tsa89V and (report) https://1drv.ms/u/s!AlntzgQcvbvR2D4dmQDGa_jCakw7?e=Ly9r4s

 

Capture.PNG

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

Hello @Anonymous 

 

The easiest way is to create a relationship between the two tables in the Model view:

image.png

 

In this, I have changed the filter direction to Single where Allocation table is filtering the Obligation table.

 

Result:

image.pngimage.png

Hope this helps!

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

View solution in original post

2 REPLIES 2
vivran22
Community Champion
Community Champion

Hello @Anonymous 

 

The easiest way is to create a relationship between the two tables in the Model view:

image.png

 

In this, I have changed the filter direction to Single where Allocation table is filtering the Obligation table.

 

Result:

image.pngimage.png

Hope this helps!

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

Anonymous
Not applicable

@vivran22 You are the man.  Thank you so much for your tutoring!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.