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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
paulsnet1986
Helper I
Helper I

Many-to-Many Inventory Audit Help

Good morning all,

 

I have to tables related by a many-to-many relationship, and I'm having a hard time coming up with an audit within Power BI. Sorry in advance if this is a common question: I wasn't able to find a solution with the search function. Thanks.

 

Tables

-Actual Inventory Table: Contains a list of Store IDs in Column A and and Product IDs of products we've deployed at each store in Column B. There are typically 3-4 Product IDs deployed per Store ID.

-Inventory Master Table: What should be deployed at each store. Constantly being updated. Same makeup as the prior table.

 

The point of this excerise is to determine stores where we have deployed the wrong products. I need to find the best way to create an audit in Power BI that does the following:

 

-For each row in the [Actual Inventory Table], filter the [Inventory Master Table] by each row's Store ID.

-Once filtered, compare the single [Actual Inventory Table] Product ID of a given row to the Product ID of the 3-4 rows in the filtered [Inventory Master Table].

-If there is a match, "Yes" else "No"

 

1 REPLY 1
lbendlin
Super User
Super User

Can you limit the search direction at least? That makes a M:M relationship a bit more bearable.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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