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! Learn more

Reply
Anonymous
Not applicable

One slicer to filter 2 data tables on a single report page

I have a single excel spreadsheet with 2 data tables. One is time tracking for projects and the other is vendor/licensing costs. This contains summary report data from multiple project managers across multiple charters.

 

I need a single report page to show filtered data by project charter and I want to use single slicer so management can drop down and select a charter and the two tables below will be filtered based on that slicer to show the respective time tracking and software cost tracking from each table for that selected charter.

 

I don't have any relationships established and I am using the web app with PowerBI Pro. Do I need to establish a many to many relationship for the project charter name (and how can I do this in the web app) or create a 3rd table in PowerBI (which I cant figure out how to do in the web app) that has a 1 to 1 relationship with the other tables to use as the slicer table?

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I'd like to suggest you refer the following guidance:

  • Add each many-to-many related entity as a model table, ensuring it has a unique identifier (ID) column
  • Add a bridging table to store associated entities
  • Create one-to-many relationships between the three tables
  • Configure one bi-directional relationship to allow filter propagation to continue to the fact-type tables
  • When it isn't appropriate to have missing ID values, set the Is Nullable property of ID columns to FALSE—data refresh will then fail if missing values are sourced
  • Hide the bridging table (unless it contains additional columns or measures required for reporting)
  • Hide any ID columns that aren't suitable for reporting (for example, when IDs are surrogate keys)
  • If it makes sense to leave an ID column visible, ensure that it's on the "one" slide of the relationship—always hide the "many" side column. It results in the best filter performance.

For further information, please refer the following official documents.

Many-to-many relationship guidance 

Apply many-many relationships in Power BI Desktop 

 

Best Regards

Allan

 

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

 

Hi there

Whilst you could use the solution above I would recommend not using MANY-MANY and bi-directional relationships this has a big chance of getting the data wrong and the measures wrong too.

Best practice would be to create a star schema model to get this working and a lot easier to get out the data you need.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi there

You would have to model this in Power BI Desktop.

What you would then need to do is to create a new table which has got the unique list of "project charter" and then create a one to many relationship to your two tables.

Finally you would then use this new table as your slicer drop down, which would then filter both tables.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors