Are you able to apply your man-hours directly
to the batches of WIP / finished goods (direct costing) --
the same as done on an assembly line?
If not -- and you're using an indirect costing --
then some sort of cost re-distribution is required,
and generally it should be done in the datasource,
before analysing the data in Tableau.
Could you please come up with the sample (fictional) data?