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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
Anonymous
Not applicable

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.