Most important 50 DAX functions

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

  1. TODAY() โ€“ Returns current date.
  2. NOW() โ€“ Returns current date and time.
  3. DATE() โ€“ Combines year, month, and day into a date.
  4. DATEDIFF() โ€“ Calculates difference between two dates.
  5. YEAR() โ€“ Extracts year from a date.
  6. MONTH() โ€“ Extracts month from a date.
  7. DAY() โ€“ Extracts day from a date.
  8. WEEKNUM() โ€“ Returns week number of the year.
  9. EOMONTH() โ€“ Returns end of month.
  10. DATEADD() โ€“ Shifts date by interval (e.g., -1 year).

โณ Time Intelligence Functions

  1. TOTALYTD() โ€“ Year-to-date total.
  2. TOTALMTD() โ€“ Month-to-date total.
  3. TOTALQTD() โ€“ Quarter-to-date total.
  4. SAMEPERIODLASTYEAR() โ€“ Returns same period in prior year.
  5. PREVIOUSMONTH() โ€“ Gets previous month’s dates.
  6. NEXTMONTH() โ€“ Gets next month’s dates.
  7. DATESYTD() โ€“ Returns YTD date range.
  8. PARALLELPERIOD() โ€“ Gets a parallel period (e.g., same quarter last year).
  9. FIRSTDATE() โ€“ First date in a column.
  10. LASTDATE() โ€“ Last date in a column.

๐Ÿ”ข Math & Aggregation Functions

  1. SUM() โ€“ Sum of a column.
  2. AVERAGE() โ€“ Average of a column.
  3. MAX() โ€“ Maximum value.
  4. MIN() โ€“ Minimum value.
  5. COUNT() โ€“ Count of non-blank values.
  6. COUNTA() โ€“ Count of all non-empty values.
  7. COUNTROWS() โ€“ Count of rows in a table.
  8. DIVIDE() โ€“ Safe division (avoids division by zero).
  9. ROUND() โ€“ Round to decimal places.
  10. RANKX() โ€“ Rank values based on expression.

๐Ÿง  Logical & Conditional Functions

  1. IF() โ€“ Basic condition logic.
  2. SWITCH() โ€“ Advanced conditional logic.
  3. AND() โ€“ Returns TRUE if all are TRUE.
  4. OR() โ€“ Returns TRUE if any is TRUE.
  5. NOT() โ€“ Reverses a logical value.

๐Ÿ“Š Filter Functions

  1. CALCULATE() โ€“ Changes context of calculation.
  2. FILTER() โ€“ Returns filtered table.
  3. ALL() โ€“ Removes filters.
  4. ALLEXCEPT() โ€“ Removes filters except specified columns.
  5. REMOVEFILTERS() โ€“ Removes filters on one or more columns.

๐Ÿ”— Relationship & Table Functions

  1. RELATED() โ€“ Returns a related value from another table.
  2. RELATEDTABLE() โ€“ Returns a related table.
  3. USERELATIONSHIP() โ€“ Forces use of inactive relationship.
  4. VALUES() โ€“ Returns unique values in a column.
  5. SELECTCOLUMNS() โ€“ Select specific columns from a table.
  6. ADDCOLUMNS() โ€“ Adds calculated column to table.
  7. SUMMARIZE() โ€“ Group by and aggregate.
  8. CROSSJOIN() โ€“ Cartesian product of tables.

๐Ÿ”ค Text Functions

  1. CONCATENATE() / CONCATENATEX() โ€“ Joins strings (the X version aggregates across rows).
  2. FORMAT() โ€“ Formats values (e.g., numbers, dates) into text.