Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AdamMarczak
Frequent Visitor

DAX column vs Power QUery model column - performance

Hello,

 

Is there a performance difference between having calculated DAX column vs one that was created using same logic but in Power query (M). By performance I mean both, storage, memory consumption, CPU, additional recalculations if any.

 

Best

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @AdamMarczak,

 M is a mashup query language used to query a multitude of data sources. It contains commands to transform data and can return the results of the query and transformations to either an Excel table or the Excel or Power BI data model. DAX stands for Data Analysis expressions. DAX is the formula language used in Power Pivot and Power BI Desktop. DAX uses functions to work on data that is stored in tables. Some DAX functions are identical to Excel worksheet functions, but DAX has many more functions to summarize, slice and dice complex data scenarios. They have different functions, for a same calculated column using DAX, maybe it needs several steps to get the result using M language. Sometimes you need to created a calculated column using several functions in DAX, while it's easier and more quick. So the performance of DAX and Power Query are uncompariable based on my understanding, it depends on the requirements. They have their own advantages. Please review the following articles.

The article:The VertiPaq Engine in DAX  describes the how DAX works.
The difference between DAX and M: Dax or M Language

Best Regards,
Angelia

View solution in original post

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @AdamMarczak,

 M is a mashup query language used to query a multitude of data sources. It contains commands to transform data and can return the results of the query and transformations to either an Excel table or the Excel or Power BI data model. DAX stands for Data Analysis expressions. DAX is the formula language used in Power Pivot and Power BI Desktop. DAX uses functions to work on data that is stored in tables. Some DAX functions are identical to Excel worksheet functions, but DAX has many more functions to summarize, slice and dice complex data scenarios. They have different functions, for a same calculated column using DAX, maybe it needs several steps to get the result using M language. Sometimes you need to created a calculated column using several functions in DAX, while it's easier and more quick. So the performance of DAX and Power Query are uncompariable based on my understanding, it depends on the requirements. They have their own advantages. Please review the following articles.

The article:The VertiPaq Engine in DAX  describes the how DAX works.
The difference between DAX and M: Dax or M Language

Best Regards,
Angelia

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.