BOM ( Manufacturing Bill of Material ) totals is incorrect for final assembly cost

BOM sucess .pbix (598.7 KB)
image

Hi,

Attached BOM of an assembly part with qty and price joined in the data model , i am unable to get the total right please advise how to resolve this

The hierarchies were flattened using the M code provided through the below link

Appreciate if we can have some BOM related content in Enterprise DNA as these are common cases in any manufacturing organization

What value would you expect to see as the total?

@Unni What’s a BOM?

Bill of Materials

1 Like

:smiley: While in my world, this is “Block of the Month” (for a quilting group)… very important to define business acronyms, particularly in a forum that reaches out to people internationally

2 Likes

@DavieJoe thanks for pointing me to this direction it seems tough for my level but will try to get this to work :slight_smile:

1 Like

@Unni ,

I started to work through a specific solution on this, but realized that I think you need to go back through some of the basic coursework first. Here are some of the problems I’ve identified:

  1. Your data model is not correct - you are using the Invoked Function table, but it is not connected to the model by any relationship.
  2. You are using implicit, rather than explicit measures, which in general is not a good practice and will not work for measure branching, as is needed here
  3. General model cleanup - unnamed table and columns make it very difficult to figure out what’s going on in the model
  4. Need to apply fix totals pattern

Here are specific videos I would recommend:

https://forum.enterprisedna.co/t/quick-measure-feature-positives-vs-negatives/4885

https://forum.enterprisedna.co/t/why-your-total-is-incorrect-in-power-bi-the-key-dax-concept-to-understand/5108

https://forum.enterprisedna.co/t/measure-branching/5962

I hope this is helpful.

  • Brian
2 Likes

Thanks @BrianJ for the time you have taken, i will go through lessons recommended , clean the model & measures and try to get it right.

1 Like

@Unni,

Glad to help. If after you get those things squared up, if you’re still having problems getting the totals to reconcile, just give a shout and I’ll be glad to work through it with you.

  • Brian

Hi @Unni, did the response provided by the users and experts help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark as solution the answer that solved your query. Thanks!

Hi , yes the query was solved the intial pbix demo data was confusing hence made another demo model using Forum Topic Fix incorrect totals by Greg. Attached the excel source file & pbix
BOM demo cycle.pbix (49.3 KB)
BOM demo Dataset .xlsx (11.8 KB)


1 Like