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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JoePaulTX
New Member

Looking for help with in determining total units and matching to cost of goods sold in Excel

Link to sample excel I made: https://1drv.ms/x/s!Ahy9ZYzKXjd9gdo2UBseB0q0WrYbiw?e=IeerZX

 

This is a sales report that generates 4 rows for each transaction. And puts the total units sold in each row. For example, I circled the first transaction in which 1 item was sold of Widget 1 but there are four entries in the "Ship Qty" column.

JoePaulTX_0-1670854343495.png

I want to create another sheet with 3 columns. "Partner Item Id", "Total units sold", and "Total Cost of Goods" for my accounting and I cannot figure out how to extract just the shipped units from maybe the "Product Price" row only.  I will then match those units with my COGS (cost of goods sold) sheet to figure out my total COGS for this report date.

 

Any help would be appreciated. Thank you

 

1 REPLY 1
Manoj_Nair
Solution Supplier
Solution Supplier

@JoePaulTX - try this DAX and let me know if this works. Many Thanks 

image.jpg

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors