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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Weighted average calculation of product purchase value

Good morning friends, I was currently asked to create inventory kardex for the company, it should be noted that it is a single product.
From it I have records of entry, exit, purchase costs, accumulated inventory after each movement.

edwinmoreno1799_1-1693921346387.png

The value that says tickets is the multiplication of the quantity purchased by the purchase value.
.- Now I would need to calculate the balance of the inventory initially would be 5819.35 but when they begin to register movements must be calculated, serious = previous inventory balance + purchases - production - salesbox (I leave print of an excel that was created to have a guide)

edwinmoreno1799_2-1693921634354.png

- Now I need to calculate the weighted average that would be Inventory balance / quantity in inventory (in excel it is called balance)

edwinmoreno1799_3-1693922147784.png

- Finally I would need to calculate the value of the outputs of products, whether to production or cash sales. multiplying the output quantity by the last weighted average value.

edwinmoreno1799_4-1693922282246.png

I hope to explain myself well. Thanks in advance




1 REPLY 1
MMPagola
Helper II
Helper II

Hello, I need to do the same. Have you been able to achieve it yet? Thank you

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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