Good morning,
I have issues with the following:
I have a big raw database that contains reference numbers and the weight associated with it. I want to be able to show the total Weight (values contained in the same table). But there can be duplicates in the reference numbers. So summing up the column Weight wouldn't give me the correct result. And i can't take the distinct column Weight either since a Weight_value can be the same for several Reference nubmers. I thought of the Function SUMX, with the following formula:
=SUMX(DISTINCT(Table1(Reference numbers)),COUNT(Table1(Reference Weight))
But it gives me a wrong answer.
to be clear, if i could do it manually, I would do:
Take Table1, remove duplicates of Reference numbers, then the correct result would be the sum of the remaining values in the column Weight.
I don't know how to fix this.
Thank you for helping me out here