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 (theX
version aggregates across rows).FORMAT()
â Formats values (e.g., numbers, dates) into text.