top of page Search

# The Top 10 Excel Functions And The Functions They Translate To In DAX

Microsoft Excel and Power BI both offer powerful data analysis capabilities, and many Excel functions have equivalent or similar functions in the Data Analysis Expressions (DAX) language. Here are the top 10 Excel functions and their DAX counterparts:

SUM (Excel) / SUMX (DAX):

• Excel SUM: Adds up a range of numbers.

• DAX SUMX: Adds up a specific expression for a table, often used for creating custom measures in Power BI.

AVERAGE (Excel) / AVERAGEX (DAX):

• Excel AVERAGE: Calculates the average of a range of numbers.

• DAX AVERAGEX: Calculates the average of a specific expression for a table, typically used in Power BI for custom measures.

COUNT (Excel) / COUNTROWS (DAX):

• Excel COUNT: Counts the number of cells with numeric values within a range.

• DAX COUNTROWS: Counts the number of rows in a table, which can be used to count items or distinct values.

MAX (Excel) / MAXX (DAX):

• Excel MAX: Returns the maximum value in a range of numbers.

• DAX MAXX: Returns the maximum value for a specific expression in a table.

MIN (Excel) / MINX (DAX):

• Excel MIN: Returns the minimum value in a range of numbers.

• DAX MINX: Returns the minimum value for a specific expression in a table.

IF (Excel) / IF (DAX):

• Excel IF: Performs a conditional operation and returns one value if a condition is true and another if false.

• DAX IF: Functions similarly, allowing you to define conditional logic for calculated columns or measures.

VLOOKUP (Excel) / RELATED (DAX):

• Excel VLOOKUP: Searches for a value in a table and returns a corresponding value from the same row.

• DAX RELATED: Retrieves values from related tables in a data model when relationships are established between tables.

SUMIF (Excel) / SUMX + FILTER (DAX):

• Excel SUMIF: Adds up values in a range that meet specific criteria.

• DAX SUMX + FILTER: Achieves the same result by summing up values in a table that meet certain conditions specified using FILTER.

COUNTIF (Excel) / COUNTROWS + FILTER (DAX):

• Excel COUNTIF: Counts the number of cells in a range that meet specific criteria.

• DAX COUNTROWS + FILTER: Counts the number of rows in a table that satisfy certain conditions defined by the FILTER function.

SUBTOTAL (Excel) / SUMMARIZE (DAX):

• Excel SUBTOTAL: Calculates various aggregate functions (e.g., SUM, AVERAGE) for visible cells in a filtered range.

• DAX SUMMARIZE: Creates summary tables or lists of values based on existing tables, often used in Power BI for creating custom views.

These are some of the common Excel functions and their corresponding DAX functions. When working with Power BI, it's essential to become familiar with DAX functions, as they provide more extensive capabilities for modeling and analyzing data in a business intelligence context. The transition from Excel to DAX may involve understanding the nuances of working with tables and relationships in Power BI, but it offers powerful insights and custom calculations once mastered. 