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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
DBNN
Frequent Visitor

Inventory profile with running sum

Hi,

I have 3 simple tables:

1. Inventory

Product  Inventory  Plant

A10003000
A2503001
B6503000
B4003001

 

2. Orders

Date               Product   Order ref Customer OrderQty  Plant

8-MarAx123a551003000
9-MarAx321b96503000
12-MarAx652a558003000
20-MarBx145a883003001

 

3. Replenishment

Date              Product  Replen Ref  ReplenQty  Plant

13-MarAy55410003000
21-MarBy4572503001

 

I try to make 1 visual that shows me the running total of inventory for plant 3000/product A, subtracting the order quantity by date and adding the replenishment by date.   I tried it with the matrix visual and running totals but I failed miserably 🙂   Hope you can help

  

1 REPLY 1
rfigtree
Resolver III
Resolver III

the easiest thing to do is use power query to combine all three tables together then it becomes simple to generate a running total etc.

 

at the very least combine the orders and replenishment tables, but you will need a composite key (plant/product) as powerbi only joins using one key column at a time.

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.