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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.