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
Awollet33
Helper I
Helper I

Question - Optimization - is there benefits to doing data cleaning in the Power Editor vs Dax?

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Awollet33 

 

Of course. If there weren't, why would Microsoft bother creating and investing into two different technologies? DAX is a Data Analysis eXpression language and its goal is to facilitate data analysis. Power Query has a functional language, called M, which is a data mashup language. There are many, many benefits to data preparation in PQ but some of them are: 1) one can easily use recursion in M (not possible in DAX), 2) standard operations like pivoting, data imputation, string manipulation, statistical functions, using ML algorithms are one-click (or almost one-click) operations in PQ, 3) columns calculated in PQ are much, much, much better compressed than columns calculated in DAX (which are not compressed at all). There are many more benefits but the above come to my head right away.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Awollet33 

 

Of course. If there weren't, why would Microsoft bother creating and investing into two different technologies? DAX is a Data Analysis eXpression language and its goal is to facilitate data analysis. Power Query has a functional language, called M, which is a data mashup language. There are many, many benefits to data preparation in PQ but some of them are: 1) one can easily use recursion in M (not possible in DAX), 2) standard operations like pivoting, data imputation, string manipulation, statistical functions, using ML algorithms are one-click (or almost one-click) operations in PQ, 3) columns calculated in PQ are much, much, much better compressed than columns calculated in DAX (which are not compressed at all). There are many more benefits but the above come to my head right away.

amitchandak
Super User
Super User

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.

Top Solution Authors