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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
alexvc
Resolver I
Resolver I

Need help with data model / override filter

Hi,

 

I'm having some trouble trying to build a data model for the following use case:

I have a sales table that is related to a stores table, stores table is related to warehouse table and warehouse table is related to my inventory table. A store always has a warehouse, but there are warehouses that are not stores (no sales, just hold inventory). The result I'm looking for is that in the report you can show the store name, and you can see their sales and inventory. You can also put in the report the warehousename, if the warehouse is a store it can show sales but if it's a warehouse it will only show inventory. Right now my problem is that the relationship between the table stores and warehouses is excluding any warehouse that does not have a corresponding record in the table stores. Attached is a diagram to explain the case:

 

Thanks

Captura de pantalla 2022-03-14 190448.png

 

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @alexvc ,

 

Please create the following relationship:

 

Screenshot 2022-03-17 154609.pngimage.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @alexvc ,

 

Please create the following relationship:

 

Screenshot 2022-03-17 154609.pngimage.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Share the download link from where i can download your MS Excel file with all 6 tables.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors