Forum Discussion
mWilkinson
6 years agoFrequent Visitor
Measures using Calculate on a table with multiple filters
So i'm having a few issues trying to work out marketing expenses by category. I have a table called "6201 Marketing Expense" and this contains the company's marketing expenses as "Debit" th...
- 6 years ago
I think if you write it that way it effectively does a logical AND between the filter conditions (which will eliminate all the rows).
You could probably simplify this down to the following:
Online Ad Cost = CALCULATE ( SUM ( '6201 Marketing Expense'[Debit] ), '6201 Marketing Expense'[Supplier Account] IN { "Rightmove", "Zoopla", "ListGlobal" } )
d_gosbell
Super User
6 years agoI think if you write it that way it effectively does a logical AND between the filter conditions (which will eliminate all the rows).
You could probably simplify this down to the following:
Online Ad Cost =
CALCULATE (
SUM ( '6201 Marketing Expense'[Debit] ),
'6201 Marketing Expense'[Supplier Account] IN { "Rightmove", "Zoopla", "ListGlobal" }
)