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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
elimey
Helper I
Helper I

Data Model Correct Filtering

I have a table that looks like this: 

countryyearmonthproductEnded_modeltotal EndedNew ModelTotal New
UK202311xxFiesta5Puma3
NL202310vvCHR10RAV44
DE20239wwAygo25Yaris6

That shows in which country how many contracts with specific model is ended and and how many following new contracts with spefic model is started. For istance, the 5 contracts with model Ford Fiesta was ended and 3 of those contracts started newly with a Puma. Or 10 CHR contracts were ended and out of those ten, four was renewed to RAV4.    

How can I created a data model, that can filter only Ended_Model or only New_Model, like from a specific ended model to any new model. Or, from any ended model, to a specific New Model. 

I created this data model: 

elimey_0-1743090915463.png

But, when I filter Ended_Model, New Model is also changing. 
What am I doing wrong?

8 REPLIES 8
v-saisrao-msft
Community Support
Community Support

Hi @elimey,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @elimey,

Thank you for reaching out to the Microsoft Fabric Forum Community.

 

The other dimension is being filtered because of Power BI's automatic filter propagation through relationships. When you apply a filter to FromModel, it propagates to the RenewedTo fact table. Since RenewedTo is also connected to ToModel, the filtering effect continues, indirectly affecting ToModel. This creates a cross-filtering effect where filtering one dimension table unintentionally impacts the other. This is expected behavior in Power BI, as filters naturally flow through relationships unless modified using relationship settings or DAX measures. 

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly. 

 

Thank you. 

so, what would be the laternative?

Hi @elimey ,

 

We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.

 

Thank you.

Hi @elimey,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Hi @elimey,

You're running into Power BI’s default filter propagation behavior. Since both FromModel and ToModel are connected to the RenewedTo fact table, applying a filter to one (e.g., Ended_Model) flows through the fact table and indirectly affects the other (e.g., New_Model). 

  • To break this automatic cross-filtering, you can modify the data model to include an inactive relationship and then selectively enable it within your DAX measures: 
  1. In Model View, locate the relationship between ToModel and the fact table (RenewedTo). 
  2. Double-click the relationship line and uncheck “Make this relationship active”. 
  3. Now, New_Model will no longer be filtered automatically when you select an Ended_Model. 

vsaisraomsft_0-1744198895925.png

 

For more details, you can refer to the official Microsoft documentation: 

USERELATIONSHIP function (DAX) - DAX | Microsoft Learn

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly. 

Thank you. 

lbendlin
Super User
Super User

your data model looks correct. Have you maybe changed the arrows after taking the screenshot?

 

I assume you are aware of the "Show Items With No Data" topic.

Hi @lbendlin , 

It's a one-to-many fact and dimension relationship. Changing the arrows is not making sense. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.