Build powerful time-based calculations in Power BI using DAX time intelligence functions.
Abhishek Raj
October 22, 202410 min read
Every business dashboard needs time-based comparisons. DAX provides built-in functions that make this straightforward.
Sales YTD =
TOTALYTD(
SUM(Sales[Amount]),
'Date'[Date]
)
Sales YoY Growth =
DIVIDE(
[Sales YTD] - [Sales YTD PY],
[Sales YTD PY]
)
Always use a proper date dimension table with contiguous dates and mark it as a date table in Power BI.
More to read
More from Power BI and related topics.
Abhishek RajJune 27, 2026
A beginner-friendly walkthrough: connect SQL Server to Power BI, model your data, create KPIs, and publish a dashboard your manager will actually use.
Abhishek RajJune 24, 2026
Stop building dashboards nobody uses. Learn how to pick KPIs for sales, inventory, and finance teams — with simple definitions and examples.
Abhishek RajJune 23, 2026
Learn how to design MIS dashboards that executives actually use — from KPI selection to refresh automation in Power BI and Excel.