Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bom Calculation

Hi everyone!

I have these two tables:

  table1:

ItemNumberType101_Q101_A102_Q102_ATotal_QTotal_A104_Q104_A201_Q201_A202_Q202_A203_Q203_A
A100P111112823193030120130
A101P1312131326251104020110
A102P23294126012060120
A103P71091216221408015020
B100M1552062530505030
B200M21053074020404030
B300M55247930502020
B400M545510930404050

table2:

ItemNumberTypeItemNumberQ
A100PB1001
A100PB2002
A101PB1002
A101PB2001
A101PB3003

the first task which I've done is to calculate the 104_A to 203_A. the second one which is complicated is to calculate the cost of P type through its BOM(table2) . the answer should be like this:

ItemNumberTypeItemNumberQTotalA/TotalQCost
A100PB10014.1666674.166667
A100PB20025.71428611.42857
A101PB10024.1666678.333333
A101PB20015.7142865.714286
A101PB30031.285714

3.857143

my QV and excel files i is attached here, how to tackle this problem?

Labels (1)
1 Reply
sunny_talwar
MVP
MVP

Try not to replicate threads for the same problem....

Bom Calculation