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
MIkkelHyldig
Helper II
Helper II

Filtering across two one-to-many tables

Hi, 

I have a table showing sales and budget numbers for different accounts filtered by departments. Departments have different accounts. I wish to filter on Accounts by departments but its not working due to my datamodel below, and I dont know how to solve it. I have consideres merging departments and accounts to Sales and budget tables but I need a single account-dimension as the user sees sales and budget in the same table.
Do you have solution? 
Capture.PNG

 

Thanks, 
Mikkel 

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

The model is fine. Can you provide an example/depiction of what you are trying to achieve?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






HI @PaulDBrown  

Sorry for late reply!

In the Dim.accounts I have a accountname and what departments it belongs to. And in Dim.departments I have the departments. I wish to filter on the accountsname when selecting a departments budget. 
E.g. Department A have a budget for 10.000 on account name A1, 20.000 for A2 etc. 
Department B have a budget for 5.000 on account name B1, 1.000 for A2 . But when filtering on department B, accountname A should be filtered out. 

amitchandak
Super User
Super User

@MIkkelHyldig , Use a measure from sale or budget or from both

 

M1 = countrows(sales)+ countrows(Budget)

 

use the above measure as visual level filter for slicer and it will change values based on another slicer

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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