Forum Discussion
fbron
3 years agoFrequent Visitor
Lookupvalue doesnt return expected values
Table 1= Sales Line Table with rows with a certain weigth. Table 2 = Warehouse Line table with a certain weight What I wat to do is create a column in my Sales Line Table (Table 1) containing the ...
mangaus1111
3 years agoSolution Sage
Hi fbron ,
If you remove the duplicate from the table 'Warehouse line', it should work.
Try to create a temporary table using
ADDCOLUMNS(
DISTINCT('Warehouse line'[Combined]),
"Weight", MAX(Warehouse line'[Weight])
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
fbron
3 years agoFrequent Visitor
mangaus1111 Thank you for the reply.
Followed your suggestion but this resulted in the max weight within the warehouse rowes in each row of the calculated table.
The idea of a calculated table is something that can work for me. Based on the warehouse lines the preferred outcome would be something like this: