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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
faaz
Frequent Visitor

Filtering across tables

Hi.

 

I am currently working on a report and i am havign some issues. I have two tables - one is called "Merged" which is a headcount dataset, and a termination table. I have then created a "Hierarchy" table to connect the two tables. The issue is however when i try to split headcount and terminations (leavers) out on seniority categories. It will only work on one of them. I have tried creating a column in each dataset called "SeniorityCategory" but that did not work. I also tried making a "SeniorityCategoryTable" to connect the two tables, however, this did not work either. Does anyone know, how I can fix this? 

faaz_0-1741249681972.png

 

4 REPLIES 4
v-kathullac
Community Support
Community Support

Hi @faaz ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @faaz ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @faaz ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

freginier
Super User
Super User

Hey there!

You should check the relationship types and Cardinality

Ensure that SeniorityCategoryTable has a one-to-many relationship with both Merged (headcount dataset) and Termination (leavers dataset).The relationships should be:

- SeniorityCategoryTable [SeniorityCategory] → Merged [SeniorityCategory] (one-to-many)

- SeniorityCategoryTable [SeniorityCategory] → Termination [SeniorityCategory] (one-to-many)

If filters are not propagating correctly, create a DAX measure to ensure data is correctly aggregated:

Headcount_by_Seniority =
CALCULATE(
COUNT(Merged[EmployeeID]),
TREATAS( VALUES(SeniorityCategoryTable[SeniorityCategory]), Merged[SeniorityCategory] )
)

Leavers_by_Seniority =
CALCULATE(
COUNT(Termination[EmployeeID]),
TREATAS( VALUES(SeniorityCategoryTable[SeniorityCategory]), Termination[SeniorityCategory] )
)

Use these measures in your visualizations instead of relying on direct relationships.

 

Hope this helps!

😁😀

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors