DAX Studio timings
Read server evidence rather than guess
DAX Studio Server Timings and Query Plan tracing help inspect work done by the semantic engine. Server elapsed duration is distinct from client wall time. A formula engine (FE) expression may issue storage engine (SE) requests; the observed balance is evidence for a specific query, model, and run, not a universal rule.
Connect and collect
Open the approved local Desktop model, connect DAX Studio to that model, verify database identity, and run a saved query. Enable Server Timings and Query Plan only where supported and authorized; tracing can require server admin rights. Record Total, FE, SE, SE CPU, SE query count and cache hits when exposed, with units. DAX Studio estimates FE as total minus SE duration; CPU and elapsed duration are different and parallel activity complicates interpretation. Missing trace metrics are unavailable, not zero. Stop tracing when finished.
Example 1 — inspect an aggregation
In the wide Sales model add a Whole Number calculated column LineAmount = Sales[Quantity] * Sales[UnitPrice]. Compare these query-scoped measures in separate runs:
DEFINE MEASURE Sales[Test] = SUMX(Sales, Sales[Quantity] * Sales[UnitPrice])EVALUATE ROW("Revenue", [Test])DEFINE MEASURE Sales[Test] = SUM(Sales[LineAmount])EVALUATE ROW("Revenue", [Test])Both should return 360, with exact integer arithmetic in this fixture. SUMX is not inherently slow; the engine may optimize its expression. Inspect actual requests and plans rather than predict an FE/SE split. A stored column also consumes model memory and processing resources.
Example 2 — diagnose a filter expression
Compare CALCULATE([Revenue], FILTER(VALUES(Product[Category]), Product[Category] IN {"A", "B"})) with CALCULATE([Revenue], KEEPFILTERS(Product[Category] IN {"A", "B"})). Both intersect existing category values in this model: under B+C expect 120; under C expect BLANK. Use the same context and output for each trace. Query Plan can reveal intermediate row counts; xmSQL is a representation of Import storage requests, not executable SQL. Source SQL and latency require separate source evidence.
Model and safety trade-offs
Use View Metrics (VertiPaq Analyzer) to inspect actual cardinality and component memory; record the exact unit, model refresh state and build. No actual model bytes are available here. Do not equate fewer SE queries with faster elapsed time. The Capture Diagnostics feature can clear caches automatically: never use it on a shared production endpoint. Keep trace and VPAX artifacts local and remove sensitive data before sharing.
Practice and sources
Predict the effect of replacing the row expression with a stored column, including refresh and memory costs, and name the evidence needed to decide. Use separate query files and inspect missing metrics honestly. Sources: https://daxstudio.org/docs/features/traces/server-timings-trace/ ; https://daxstudio.org/docs/features/traces/query-plan-trace/ ; https://daxstudio.org/docs/features/model-metrics/ ; https://daxstudio.org/docs/features/capture-diagnostics/