Forum Discussion
NBOnecall
6 years agoHelper V
Calculated Column Help with Most Recent Date
Hi, I think I am just brain dead today, but I think I am overlooking something super easy, but I have teh following table that I want to bring back into another table that just has an item number...
- 6 years ago
I ended up using this formula.
Location A Qty= CALCULATE(SUM(table1[QTY]),FILTER(TAble1, table2[Location] = "A"),filter(table1', table1[item] = table2[name]),LASTDATE(table1[Date]))
Anonymous
6 years agoNot applicable
Hey NBOnecall
Make a copy of the first table. Remove all other columns except item. Then remove duplicates.
Next use the folllowing DAX formula for your calculated column:
Location A Quantity = CALCULATE(SUM(Table1[QTY]),FILTER(Table1, [Location] = "A" && Table1, Table1[Item] = Table2[Name] && Table1, MAX(Table1[Date])))
If this helps please kudo.
If this solves your problem please accept it as a solution.
NBOnecall
6 years agoHelper V
AnonymousIt states that too many arguments for the Filter statement. Am I missing something?