Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

')' expected, but all () statements are closed

Hello,   I am getting an error in Power BI Report Builder that I am positive I should not be getting. I'll let it speak for itself.   Here is the error message: But here is the formula for...
  • d_gosbell's avatar
    3 years ago

    So if the "Percent" is meant to refer to a dataset then it's in the wrong spot. I'm guessing that you want the denominator of your divide operation to come from this dataset, if that is the case then you need to move the closing bracket for your SUM function.

    In your expression, the SUM function has been closed already and it is expecting another closing bracket to close the one at the start of the SUM call.