What Is DAX in Power BI? Current Month, Current Year & Financial Year Explained
- One formula, infinite contexts — DAX recalculates dynamic measures on the fly based on slicers, visuals, and filters.
- MTD and YTD simplified — Time-intelligence functions like
DATESMTDandTOTALYTDdynamically expand and shrink based on available calendar records. - Fiscal flexibility — Passing year-end parameters like
"3/31"insideTOTALYTDhandles non-standard accounting calendars perfectly.
What Is DAX in Power BI?
DAX stands for Data Analysis Expressions. It's a formula language, similar in spirit to Excel formulas, but built for a completely different kind of engine — one designed to work across full relational data models rather than single spreadsheet cells.
Three concepts define how DAX behaves:
- Measures — dynamic calculations (like "Total Sales" or "Current Year Revenue") that recompute based on filter context.
- Calculated columns — static values added to a table, computed once when data refreshes.
- Filter context — the invisible set of filters (from slicers, visuals, and relationships) that a measure evaluates against at any given moment.
That last point is the real difference from Excel. A DAX measure like Total Sales = SUM(Sales[Amount]) returns a different number on every visual, every slicer state, and every drill-down level — automatically — because it's evaluated fresh against whatever filter context surrounds it.
Financial DAX functions (PMT, FV, XIRR, SLN, and dozens more) are a specific subset of this language, ported largely from Excel's Financial function category, used for loan, depreciation, and bond calculations. Time-intelligence functions (TOTALYTD, DATESMTD, SAMEPERIODLASTYEAR) are a separate subset that handles the calendar side — and they're what current month, current year, and financial year measures are built from.
Why Finance Teams Build Dashboards on DAX
A finance report built in a spreadsheet breaks the moment someone adds a row or changes a reference. A dashboard built on DAX measures doesn't, because the calculation logic is defined once and applied consistently everywhere it's used. That gives finance teams three practical advantages:
- One formula, every time period. A single YTD measure works for January, June, or December without being rewritten.
- Automatic recalculation. New transactions land in the model, and every card, chart, and table updates without manual refresh logic.
- Consistency across the business. Finance, sales, and operations all pull from the same measure definitions, so nobody reconciles two versions of "revenue."
Current Month DAX in Power BI
The most common finance dashboard request is "show me this month's number." This is built with time intelligence, filtering the calendar rather than calculating interest.
Current Month Revenue =
CALCULATE(
SUM(Sales[Amount]),
DATESMTD('Date'[Date])
)
DATESMTD returns every date from the start of the current month up to the latest date present in your model, so this measure reflects month-to-date rather than a fixed calendar month. If you want the current calendar month regardless of "as of today," filter directly on the month and year instead:
This Calendar Month =
CALCULATE(
SUM(Sales[Amount]),
MONTH('Date'[Date]) = MONTH(TODAY()),
YEAR('Date'[Date]) = YEAR(TODAY())
)
The distinction matters: DATESMTD gives you a running total that grows day by day through the month, while the second version returns the full month's figure the instant the month is complete, and nothing at all before it starts.
Current Year DAX in Power BI
Year-to-date measures follow the same logic using TOTALYTD or DATESYTD:
Current Year Revenue =
TOTALYTD(
SUM(Sales[Amount]),
'Date'[Date]
)
This assumes a standard calendar year ending December 31. For prior-year comparisons, pair it with SAMEPERIODLASTYEAR:
Prior Year Revenue =
CALCULATE(
[Current Year Revenue],
SAMEPERIODLASTYEAR('Date'[Date])
)
Together, these two measures let a single card visual show both this year's number and last year's number for the same period, side by side, without hardcoding either year.
Financial Year DAX in Power BI
A financial year (fiscal year) rarely matches January–December. A retailer might run February–January; many corporates run April–March. TOTALYTD and DATESYTD both accept a year-end date parameter specifically for this:
Fiscal Year Revenue =
TOTALYTD(
SUM(Sales[Amount]),
'Date'[Date],
"3/31"
)
Passing "3/31" tells DAX the fiscal year ends March 31, so the YTD window resets on April 1 instead of January 1. This one change is what most Power BI finance templates get wrong — they leave the default calendar-year assumption in place, and every "YTD" card quietly reports the wrong number for a finance team on a non-calendar fiscal year.
For dashboards that need to label periods as "FY25" or "FY26," build a dedicated Fiscal Year column in your date table rather than recalculating it inline every time:
Fiscal Year =
"FY" & YEAR('Date'[Date] + DATE(0, 3, 0))
Adjust the month offset in the DATE() argument to match your organization's actual fiscal year start — a March offset shifts an April-starting fiscal year forward so the year number changes at the right point.
Building a Finance Power BI Dashboard with DAX
Once the calculations are right, the dashboard itself needs to be built around how finance actually reads a report:
- Lead with KPI cards. Current month, current year, and prior-year comparison as cards at the top of the page — before any chart — because that's the first thing a CFO looks for.
- Add variance measures. A "Current Year vs Prior Year" measure using
SAMEPERIODLASTYEARtells finance stakeholders more than the raw totals alone. - Use a real date table. Every time-intelligence function above depends on a proper, marked date table with continuous dates — not a date column pulled straight from a transactions table.
- Label the fiscal calendar clearly. Use "FY26" instead of "2026" on visuals wherever your fiscal year doesn't match the calendar year, so nobody misreads the period.
- Keep asset-level financial calculations separate. Loan, depreciation, and bond functions are usually one-time or per-asset calculations — they belong in dedicated tables, not as measures recalculating against a full transactions table.
Common DAX Mistakes in Finance Dashboards
- Using YTD without a fiscal-year offset.
TOTALYTDdefaults to a calendar year — if your fiscal year starts in April, every YTD card is wrong until you add the year-end date argument. - Filtering a fact table instead of the date table. Time-intelligence functions need to filter a proper, marked date table; filtering a transaction date column directly produces inconsistent results once you add multiple fact tables.
- Hardcoding "this year" as a fixed calendar year. A measure built with
YEAR('Date'[Date]) = 2026breaks the moment the year changes. UseYEAR(TODAY())instead so the measure stays accurate without manual edits. - Ignoring the difference between MTD and a fixed calendar month.
DATESMTDgrows day by day; a fixed month filter only returns a number once the month is complete. Using the wrong one produces misleading run-rate comparisons.
Conclusion
DAX in Power BI is what turns a static dataset into a live finance dashboard — and current month, current year, and financial year measures are the three most common things a finance team asks for first. Get the date table and fiscal-year offset right before anything else; every other time-based measure on your dashboard depends on that foundation.
For the finance-specific calculation functions — loan payments, depreciation, bond pricing, and every argument each one takes — see the companion guide: Every Financial DAX Function in Power BI, Explained.
Recommended Next Guides & Deep Dives
Continue expanding your Power BI and Fabric architecture knowledge with these closely connected tutorials:
-
How to Build a Dynamic Date Table in DAX
→
The step-by-step guide to generating a dedicated date table for fiscal modeling.
-
Every Financial DAX Function Explained
→
Complete breakdown of banking and investment formulas with syntax and arguments.
-
Profit and Loss Dashboard in Power BI
→
Apply fiscal month offsets to build an executive P&L statement report.
-
CALCULATE in DAX: 5 Real-World Examples
→
Evaluate measures across current fiscal periods and prior-year comparisons.
-
DAX Date and Time Functions Complete Guide
→
Reference for date manipulation, month offsets, and calendar arithmetic.
Step-by-Step Implementation Sandbox
1. Utilize DATESMTD for Month-To-Date Running Aggregations
Establish month-to-date scope using DATESMTD('Date'[Date]) to guarantee calculations scale dynamically as dates accumulate.
2. Configure Fiscal Year Offset parameters inside TOTALYTD
Append your custom fiscal boundary parameter, e.g., '3/31' as the third argument in TOTALYTD to trigger clean April resets.
Frequently Asked Questions
What is DAX in Power BI?
DAX (Data Analysis Expressions) is the formula language Power BI uses for measures, calculated columns, and calculated tables. It recalculates dynamically based on the filters active in a report, unlike a static spreadsheet formula.
How do I calculate the current month total in DAX?
Wrap your base measure in CALCULATE with DATESMTD('Date'[Date]) for a running month-to-date figure, or filter on MONTH(TODAY()) and YEAR(TODAY()) if you want a fixed calendar month instead.
How do I calculate the current year total in DAX?
Use TOTALYTD(SUM(Sales[Amount]), 'Date'[Date]) for a standard calendar-year YTD measure, and pair it with SAMEPERIODLASTYEAR for a prior-year comparison.
How do I create a financial year measure in Power BI?
Use TOTALYTD or DATESYTD with a year-end date argument, such as '3/31' for a fiscal year ending in March. Build a dedicated Fiscal Year column in your date table if you need FY-labeled visuals.
Is DAX the same as Excel formulas?
No, though many financial functions share names and logic with Excel. DAX measures are filter-context aware and recalculate based on report interactions, while Excel formulas are static to the cell they're written in.