In order to Sum the sales amount of blue products OR products that belong to category shoes, I'm using the following DAX expression:
CALCULATE(
SUM(Table[SalesAmount]),
FILTER(
Table,
Table[Color] = "Blue" ||
Table[Category] = "Shoes")
)
However, this doesn't work with two different tables (Colors and Categories), like:
CALCULATE(
SUM(Table[SalesAmount]),
FILTER(
Table,
Colors[Color] = "Blue" ||
Categories[Category] = "Shoes")
)
Can anyone help?
Thanks!