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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AnasBoutmitar
Regular Visitor

P‌‌lease help: Automating Mass Testing of DAX Expressions for Bachelor Thesis.

Hi Power BI Community,

I'm an undergrad student working on my bachelor thesis, focusing on AI models for writing DAX expressions, like Calculated Tables. I'm stuck with a challenge and need your expertise.

I have over 750 DAX expressions that I need to automatically test. Here's what I'm looking to find out for each expression:

  • If it's syntactically and semantically valid.
  • Type of errors (syntax or semantic) and specific error messages.
  • For valid expressions, the number of columns and rows returned.

I've been searching for a solution for a week with no luck. Does anyone know a method or tool that can help automate this process? Any advice or suggestions would be immensely appreciated!

Thanks in advance.

1 REPLY 1
lbendlin
Super User
Super User

For the first two points you can use the DAXFormatter API  (check their T&C first).

 

The third point can be covered by DAX.do by SQLBI  or any SSAS Tabular instance if you bring your own data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.