Hi, I’m trying to create a calculated field similar to part/sum of parts but with a condition.
here is a picture of my table to give you an idea of how it looks like:
I have multiple batches (shown is only 1) each batch consists of ingredients and a product (and maybe a co-product).
one KPI is to calculate what is called “Unitary Cost” which for ingredients is the Total Cost of the ingredient/batch cost and batch cost here is the sum of all ingredient’s “Total Cost” (only the ingredients).
However, if the row is for a “Product” then the Unitary cost is simply the batch total cost
We have not heard back from you regarding your question. We would still like to help. If we do not hear back in the next 3 days, we will archive the question.