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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.