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
Anonymous
Not applicable

Inventory Report with a product dimension table

I'm using Power BI for work and the company holds all their data through SAP. 

 

There is a report that can be pulled from SAP that contains the inventory stock of our products. The products are unique values and each have their own product number. However the report contains the stock and stock only, no information about the product, the category it is attached to, or the profit center. 

 

In Power BI, I have my sales report that has a product dimension table, with all the mentioned columns above. Again our products each have their own product number code, but multiple products can fall under one category/product line. (i.e. rings and necklases both being accessories)

 

I'm trying to add in our inventory table from SAP and connect it to my dimension product table, so that when I filter inventory results, I can see it by the product line, category, etc. But of course I cannot create a relationship between the two tables because "one of the columns must have unique values".

 

Can anyone help me with this?

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

Based on what I have got, both Inventory table and Product dimension table have a product number column, so I think you can create a relatonship on this column. The relationship cross-filter direction can be single (from dimension product table to Inventory table) or both so that the columns from dimension table can filter data in the Inventory table. 

 

When you can't create a relationship, do you meet any error message? Is there an existing relationship which was created automatically between tables? Sometimes the auto-created relationship is not properly set so you can modify it or remove it then create a new one manually to meet your target. Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Otherwise if you want to bring some data from a table into another table based on matching columns with Power Query, you can use Merge queries feature. Merge queries overview - Power Query | Microsoft Learn

 

If this doesn't help, please provide more details to describe the problem you met and show your expected outcome with some sample data. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

 

Based on what I have got, both Inventory table and Product dimension table have a product number column, so I think you can create a relatonship on this column. The relationship cross-filter direction can be single (from dimension product table to Inventory table) or both so that the columns from dimension table can filter data in the Inventory table. 

 

When you can't create a relationship, do you meet any error message? Is there an existing relationship which was created automatically between tables? Sometimes the auto-created relationship is not properly set so you can modify it or remove it then create a new one manually to meet your target. Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Otherwise if you want to bring some data from a table into another table based on matching columns with Power Query, you can use Merge queries feature. Merge queries overview - Power Query | Microsoft Learn

 

If this doesn't help, please provide more details to describe the problem you met and show your expected outcome with some sample data. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

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.

Top Solution Authors