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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
diegomartinop
Frequent Visitor

Is it possible to use DAX instructions in M Power query?

Hi all

 

I have a table in which some columns were added using DAX instructions.

My question is: is it possible to reuse these instructions within the advanced editor in M? I would like to know that because I have many DAX instructions that will take too long to convert them one by one to the power query editor. So is there a way to do that easily?

 

Thanks in advance

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @diegomartinop ,

 

DAX is the language of the Power BI data model, M is the language of Power Query.

At the moment it is not possible to use DAX commands in Power Query. You have to recreate them in Power Query of you can do the transformations later in the data model in DAX, if you cannot solve it in Power Query.

However, in an ideal world the data transformation should be done in M/Power Query, the analysis in the Data Model in DAX.

 

Sorry about that.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

1 REPLY 1
selimovd
Super User
Super User

Hey @diegomartinop ,

 

DAX is the language of the Power BI data model, M is the language of Power Query.

At the moment it is not possible to use DAX commands in Power Query. You have to recreate them in Power Query of you can do the transformations later in the data model in DAX, if you cannot solve it in Power Query.

However, in an ideal world the data transformation should be done in M/Power Query, the analysis in the Data Model in DAX.

 

Sorry about that.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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