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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
smedina25
New Member

Filter Data from 2 tables

Hi all

 

I have 2 tables one is items sold (sales) and the other is sales goals (goals), they are related, I have created most of the reports for table one data but I want to make the gauge for the goals so when a user click on a specific city the goals and then sales from that city is displayed  on the gauge that uses data from both tables however it only displays from the sales data and the goals data stays the same and does not automatically filter to the goals for the area. Is the relationship between the 2 tables should do this or I have to do something else?

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@smedina25

 

Proper relationship should help to achieve your requirement. You can also take measures into account, filling them into minimum,maximum,target of a Gauge visual.

Please be more specific if you'd like further advice.

Anonymous
Not applicable

I'm a bit old school here.  It could be that bi-directional cross filtering can handle this easy for you.

 

But, as an old schooler...  I would have a separate "lookup table" for the cities.  That table (with 1 city per row), is then related to both of your current fact tables.   Then filtering cities in that lookup table, will magically filter rows in your two fact tables.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.