Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jsmith476
Frequent Visitor

DAX automatically adding unnecessary parentheses and won't execute code.

Hi,

 

I'm adding a calculated column to get a subtotal percentage off of another calculated column, using ALLEXCEPT to avoid circular dependencies. See code here:

jsmith476_0-1671747891741.png

 

It keeps adding four unnecessary parentheses at the end and giving me an error code because of it. If I delete them and press enter, it goes back to the above. If I add four extra open parentheses at the beginning, it adds another four unnecessary ones at the end.

 

Does anyone know how to resolve this?

 

Thanks

1 REPLY 1
AlexisOlson
Super User
Super User

I think it's confused because you're missing a closing bracket "]", so it's interpreting some of those parentheses as part of a column name.

 

What are the ".[Fund]" and ".[AsOfDate" suffixes there for?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.