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.