Forum Discussion
pzinsli
8 years agoRegular Visitor
Calculating a Filtered Sum
HI Let's say I have a table like this, table titled PROFIT AND LOSS DETAILS ACCT NAME Line Amount Revenue 20 COGS 12 Fringe ...
drewlewis15
8 years agoSolution Specialist
Try this:
Measure = CALCULATE(SUM('PROFIT AND LOSS DETAILS'[Line Amount]),'PROFIT AND LOSS DETAILS'[ACCT NAME]="Revenue" || 'PROFIT AND LOSS DETAILS'[ACCT NAME]= "COGS")