[Oct 18, 2025] Improved single line format
Multiple binary expressions are now supported in single-line formatted code (the limit was 1, now it is 8).
Data Analysis Expressions (DAX) is a formula language introduced by Microsoft in Power BI, Power Pivot and Analysis Services Tabular to define calculations and queries.
DAX Formatter is a free tool by SQLBI that transform your raw DAX formulas into clean, beautiful and readable code. The syntax rules used improves the readability of the expressions – learn more here: Rules for DAX code formatting »
A lightweight version of this tool (HTML only) is also available. Lite version »
Multiple binary expressions are now supported in single-line formatted code (the limit was 1, now it is 8).
Comments after “=” and before “(” in function definition are now supported (they were previously removed from formatted code).
The syntax to create a query function (DEFINE FUNCTION) is supported.