You don’t need 100 DAX functions to build great dashboards. These 10 measures cover the vast majority of real business reports. Copy them, adjust the table/column names, and you’re productive today.
1. Total Sales
Total Sales = SUM ( Sales[Amount] )
The foundation of everything. Use SUM on your amount column.
2. Total Orders
Total Orders = COUNTROWS ( Sales )
Counts transactions. Use DISTINCTCOUNT if you need unique order IDs.
3. Average Order Value
Avg Order Value = DIVIDE ( [Total Sales], [Total Orders] )
DIVIDE handles divide-by-zero safely — always prefer it over /.
4. Sales Last Year (same period)
Sales LY = CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
Requires a proper date table marked as a date table.
5. Year-over-Year Growth %
YoY % = DIVIDE ( [Total Sales] - [Sales LY], [Sales LY] )
Format as percentage. This one measure answers “are we growing?”
6. Month-to-Date Sales
Sales MTD = TOTALMTD ( [Total Sales], 'Date'[Date] )
Swap TOTALMTD for TOTALQTD / TOTALYTD as needed.
7. Running Total
Running Total = CALCULATE ( [Total Sales], FILTER ( ALL ( 'Date'[Date] ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ) )
8. % of Total
% of Total = DIVIDE ( [Total Sales], CALCULATE ( [Total Sales], ALL ( Sales[Category] ) ) )
Perfect for category share in tables and charts.
9. Top Category by Sales
Top Category = TOPN ( 1, VALUES ( Sales[Category] ), [Total Sales], DESC )
10. Customer Count (distinct)
Customers = DISTINCTCOUNT ( Sales[CustomerID] )
Pro tips
- Always use a dedicated date table — time intelligence breaks without one.
- Name measures clearly; future-you will thank present-you.
- Build measures once, reuse everywhere — that’s the whole point of DAX.
Want a dashboard built for you?
We build Power BI dashboards from Excel/CSV data — often within 48 hours. See our Power BI services or grab a ready-made template from our Products page.
Related: Power BI Dashboard Not Refreshing? Fix Scheduled Refresh Errors
