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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bfuller62
Frequent Visitor

Finished good ItemNumber count and Sales by SubItem

Hello - Still fairly new to the PowerBI world and am fully self taught... so talk to me like I'm 5 lol

 

I'm needing to get count of Finished Good ItemNumbers and the YTD sales for those Finished Goods for each item in their BOM

 

DATA Structure

I'm working with 2 BOM tables (Flat_BOM is derived from the BOM table based on the specific BOM formual), Item Tables, Calendar, Sales Transactions, and a Customer tabel

TableMap.JPG

 

I have the Item Counts playing how I think they should - ex below.. Item 100090 is in 41 finsihed goods and 14 Sub/WIP items

FGperSub.JPG

now how do I write a measure to get YTD Sales$ in this bad boy?

FGperSubSales.JPG

 

Thanks!

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @bfuller62 ,

You can refer the following links to get YTD sales:

How to Create YTD Calculations in Power BI​

Sales YTD = TOTALYTD ( SUM ( Orders[Sales] ), Orders[OrderDate] )

Solved: Calculate Sales from YTD

If the above one can't help you, could you please provide some raw data in your tables (exclude sensitive data) with Text format, the visual Fields setting and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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