Forum Discussion
Anonymous
7 years agoNot applicable
Error while executing DAX for selecting a range of values from a single table
Hi all, I'm getting this following error while executing the below DAX. Could anyone pls help me to find to what went wrong? A function 'CALCULATE' has been used in a True/False expression that ...
- 7 years ago
Hi Anonymous,
look at the error and on your DAX statement.
Your second CALCULATE in filter expression of your first CALCULATE is not allowed.
Calculate Syntax: CALCULATE ( <Expression> [, <Filter> [, <Filter> [, … ] ] ] )
Best Regards,
Marcus
- 7 years ago
Hi Anonymous
maybe your closing bracket (Line 10) is on the wrong line and it belongs to the first CALCULATE (Line 4).
mwegener
Most Valuable Professional
7 years agoHi Anonymous
maybe your closing bracket (Line 10) is on the wrong line and it belongs to the first CALCULATE (Line 4).