Forum Discussion
SG_17
6 years agoFrequent Visitor
Filtering rows in one table by values from another table
Hi, relatively new user trying to complicate my own life with difficult tasks. lol. I need some help with filtering out rows from a data table (Table A) based on matching IDs from a lookup table (Ta...
- 6 years ago
I figured it out:
CALCULATE(sum(Table A[Total Cost]),EXCEPT(VALUES(Table A[Product_ID]),VALUES(Table B[Product_ID])))
amitchandak
6 years agoSuper User
SG_17 , Try treatas
https://docs.microsoft.com/en-us/dax/treatas-function
https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/