DAX your successor can read

The most expensive DAX is not the slowest. It is the measure nobody dares to change because nobody understands it. Readable DAX is a gift to your future self, your team, and whoever inherits the model when you move on.
Name measures for the reader, not the author
Measure names are the interface of the model. They appear in visuals, in tooltips, in Copilot answers, and in every conversation about the numbers. Pick a convention and keep it.
- Use business language:
Gross Written Premium, notGWP_calc2. - Put the qualifier at the end so related measures sort together:
Claims Paid,Claims Paid YoY %,Claims Paid Rolling 12M. - Never reuse a name with a different meaning in another model.
- Prefix helper measures (for example with an underscore) and hide them, so report builders only see what they should use.
Use variables to tell the story
Variables make DAX faster (each is evaluated once) and, more importantly, readable. Each VAR should be a step a colleague could explain out loud.
Loss Ratio % =
VAR ClaimsIncurred = [Claims Paid] + [Claims Reserve Movement]
VAR PremiumEarned = [Earned Premium]
VAR Result = DIVIDE ( ClaimsIncurred, PremiumEarned )
RETURN
ResultReturning a named Result variable looks redundant until you debug: you can swap the RETURN to any intermediate variable and see exactly where a number goes wrong.
Small habits, big difference
Always DIVIDE
DIVIDE handles zero and blank denominators safely and states intent. Reserve the / operator for cases where the denominator is guaranteed non-zero.
Reference measures, don’t repeat logic
Build a small set of base measures ([Policies Sold], [Earned Premium]) and compose everything else from them. When a definition changes, you change it once.
Fully qualify columns, never measures
Write Policy[Start Date] for columns and [Earned Premium] for measures. Anyone reading the code can then tell at a glance which is which — a convention recommended by SQLBI and enforced by most Best Practice Analyzer rule sets.
Format consistently
Run code through DAX Formatter or the formatter in Tabular Editor. Consistent line breaks make reviews and diffs readable, which matters once your model lives in Git.
Organise the model, not just the code
- Use display folders grouped by business area (Premium, Claims, Retention) rather than one long alphabetical list.
- Fill in descriptions on every visible measure. They surface as tooltips in the field list and give AI assistants the context they need to pick the right measure.
- Set format strings in the model, not in each visual.
- Consider a dedicated, empty measures table so measures are easy to find and are not tied to a fact table that might be refactored.
Make the rules automatic
Conventions only survive if they are checked. Tabular Editor’s Best Practice Analyzer can flag missing descriptions, bi-directional relationships, unformatted measures and more — and it can run in a deployment pipeline so issues are caught before they reach production.
Write every measure as if the person maintaining it will be you, in two years, at 5pm on a Friday before a board pack goes out.