So the way my data is structured i had to do a couple of joins. Now the way that the data is coming in, depending on how many attributes each program has, the value is multiplied by that. ex 2 attributes multiplied by 2, 3 attributes multipied by 3. etc. How do I fix this?
Thanks! I have included the load statement! and attatched the data I am using.
LOAD
Program,
Product,
CTA as "Attributes",
"Bias Spring",
"Internal bearing",
"External bearing",
"Backlash Set & Measure",
"# Vane seals",
"# Bolts",
RU,
"Equipment Type",
"Gold Tag #",
Status,
"PO timing",
Supplier,
"# Models",
"# Operators",
"Cycle Time (s)",
"Theoretical OEE (%)",
"Sourced Price",
"Machine capacity",
"Labor cost/unit",
"Capital cost/unit",
"Total cost/unit",
"Lead Time (wks)",
"Warranty (mon)",
"Payment Terms",
"Delivery Terms",
Comments
FROM [lib://VCT Capital Data/2017_02_02_Assembly Lines Benchmarking_MB.xlsx]
(ooxml, embedded labels, table is [VCT (2)])
where CTA = 'CTA';
join
LOAD
Program,
Product,
TA as "Attributes",
"Bias Spring",
"Internal bearing",
"External bearing",
"Backlash Set & Measure",
"# Vane seals",
"# Bolts",
RU,
"Equipment Type",
"Gold Tag #",
Status,
"PO timing",
Supplier,
"# Models",
"# Operators",
"Cycle Time (s)",
"Theoretical OEE (%)",
"Sourced Price",
"Machine capacity",
"Labor cost/unit",
"Capital cost/unit",
"Total cost/unit",
"Lead Time (wks)",
"Warranty (mon)",
"Payment Terms",
"Delivery Terms",
Comments
FROM [lib://VCT Capital Data/2017_02_02_Assembly Lines Benchmarking_MB.xlsx]
(ooxml, embedded labels, table is [VCT (2)])
Where TA = 'TA';
Join
LOAD
Program,
Product,
OPA as "Attributes",
"Bias Spring",
"Internal bearing",
"External bearing",
"Backlash Set & Measure",
"# Vane seals",
"# Bolts",
RU,
"Equipment Type",
"Gold Tag #",
Status,
"PO timing",
Supplier,
"# Models",
"# Operators",
"Cycle Time (s)",
"Theoretical OEE (%)",
"Sourced Price",
"Machine capacity",
"Labor cost/unit",
"Capital cost/unit",
"Total cost/unit",
"Lead Time (wks)",
"Warranty (mon)",
"Payment Terms",
"Delivery Terms",
Comments
FROM [lib://VCT Capital Data/2017_02_02_Assembly Lines Benchmarking_MB.xlsx]
(ooxml, embedded labels, table is [VCT (2)])
Where OPA = 'OPA';
join
LOAD
Program,
Product,
MPL as "Attributes",
"Bias Spring",
"Internal bearing",
"External bearing",
"Backlash Set & Measure",
"# Vane seals",
"# Bolts",
RU,
"Equipment Type",
"Gold Tag #",
Status,
"PO timing",
Supplier,
"# Models",
"# Operators",
"Cycle Time (s)",
"Theoretical OEE (%)",
"Sourced Price",
"Machine capacity",
"Labor cost/unit",
"Capital cost/unit",
"Total cost/unit",
"Lead Time (wks)",
"Warranty (mon)",
"Payment Terms",
"Delivery Terms",
Comments
FROM [lib://VCT Capital Data/2017_02_02_Assembly Lines Benchmarking_MB.xlsx]
(ooxml, embedded labels, table is [VCT (2)])
Where MPL = 'MPL';
Join
LOAD
Program,
Product,
EOL as "Attributes",
"Bias Spring",
"Internal bearing",
"External bearing",
"Backlash Set & Measure",
"# Vane seals",
"# Bolts",
RU,
"Equipment Type",
"Gold Tag #",
Status,
"PO timing",
Supplier,
"# Models",
"# Operators",
"Cycle Time (s)",
"Theoretical OEE (%)",
"Sourced Price",
"Machine capacity",
"Labor cost/unit",
"Capital cost/unit",
"Total cost/unit",
"Lead Time (wks)",
"Warranty (mon)",
"Payment Terms",
"Delivery Terms",
Comments
FROM [lib://VCT Capital Data/2017_02_02_Assembly Lines Benchmarking_MB.xlsx]
(ooxml, embedded labels, table is [VCT (2)])
Where EOL = 'EOL';