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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
PMEH
Frequent Visitor

One to Many relationship filtering issue

Hi 
Can somesome please help me with filtering with Many to one relationship. Here is my data model. 
HP table is in Many to one relation with Inflow/outflow. I need a break down of "TOTAL_ONB" (measurement in Inflow/outflow table) by "PRICING PILLLARS" column in HP table.

PMEH_0-1741355517374.png

Here is the relationship between 2 tables

PMEH_1-1741355685735.png

 

The filtering works when I do by "PROVINCE" column in HP table, but It does not work when I need to do by "PRICING PILLARS"

 

This is the correct breakdown

 

As mentioned above when doing by province, I get the right breakdown.

 

Any help and guidance will be appreciated. Thank you

 

1 ACCEPTED SOLUTION

You may need to rethink your model. At the moment there is 1 Total ONB value related to many provinces, and I assume pricing pillars. There is no way to tell what portion of the ONB should be attributed to each pricing pillar. Ideally you would have a one-to-many relationship in the other direction so that total ONB is at a lower granularity and you know which part of it belongs to what.

View solution in original post

3 REPLIES 3
johnt75
Super User
Super User

Change both relationships to single direction. Both other tables should filter HP, but HP should not filter the other tables.

PMEH
Frequent Visitor

Thanks, tried changing the relationship to one direction. But it does not work. It messess the breakdown by province as well.

 

You may need to rethink your model. At the moment there is 1 Total ONB value related to many provinces, and I assume pricing pillars. There is no way to tell what portion of the ONB should be attributed to each pricing pillar. Ideally you would have a one-to-many relationship in the other direction so that total ONB is at a lower granularity and you know which part of it belongs to what.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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