Here’s a curated list of the 50 most important DAX functions — grouped by category — that every Power BI Developer should know for interviews, certifications, and real-world use.
📅 Date & Time Functions
TODAY()– Returns current date.NOW()– Returns current date and time.DATE()– Combines year, month, and day into a date.DATEDIFF()– Calculates difference between two dates.YEAR()– Extracts year from a date.MONTH()– Extracts month from a date.DAY()– Extracts day from a date.WEEKNUM()– Returns week number of the year.EOMONTH()– Returns end of month.DATEADD()– Shifts date by interval (e.g., -1 year).
⏳ Time Intelligence Functions
TOTALYTD()– Year-to-date total.TOTALMTD()– Month-to-date total.TOTALQTD()– Quarter-to-date total.SAMEPERIODLASTYEAR()– Returns same period in prior year.PREVIOUSMONTH()– Gets previous month’s dates.NEXTMONTH()– Gets next month’s dates.DATESYTD()– Returns YTD date range.PARALLELPERIOD()– Gets a parallel period (e.g., same quarter last year).FIRSTDATE()– First date in a column.LASTDATE()– Last date in a column.
🔢 Math & Aggregation Functions
SUM()– Sum of a column.AVERAGE()– Average of a column.MAX()– Maximum value.MIN()– Minimum value.COUNT()– Count of non-blank values.COUNTA()– Count of all non-empty values.COUNTROWS()– Count of rows in a table.DIVIDE()– Safe division (avoids division by zero).ROUND()– Round to decimal places.RANKX()– Rank values based on expression.
🧠 Logical & Conditional Functions
IF()– Basic condition logic.SWITCH()– Advanced conditional logic.AND()– Returns TRUE if all are TRUE.OR()– Returns TRUE if any is TRUE.NOT()– Reverses a logical value.
📊 Filter Functions
CALCULATE()– Changes context of calculation.FILTER()– Returns filtered table.ALL()– Removes filters.ALLEXCEPT()– Removes filters except specified columns.REMOVEFILTERS()– Removes filters on one or more columns.
🔗 Relationship & Table Functions
RELATED()– Returns a related value from another table.RELATEDTABLE()– Returns a related table.USERELATIONSHIP()– Forces use of inactive relationship.VALUES()– Returns unique values in a column.SELECTCOLUMNS()– Select specific columns from a table.ADDCOLUMNS()– Adds calculated column to table.SUMMARIZE()– Group by and aggregate.CROSSJOIN()– Cartesian product of tables.
🔤 Text Functions
CONCATENATE()/CONCATENATEX()– Joins strings (theXversion aggregates across rows).FORMAT()– Formats values (e.g., numbers, dates) into text.