Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

What does this error mean? And how do I correct? Thanks.

The syntax for this Dax is correct (no squiggly red lines), but I am getting an error.

 

Revenue =

CALCULATE

(SUM('TABLE'[Sales Amount]),

'TABLE'[Product Category]="Clothes")

-Calculate

(SUM('TABLE'[Sales for Part #001]),

'TABLE'[Product Category]="Shoes",

SUM('TABLE'[Sales for Part #001])<0)

 

Here is the error message. 

How can I correct this. Thanks.

4 Replies