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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Run M code on calculated table

I have a set of transformations/ M code to run on a table which is a calculated table. To apply these transformations, I am not able to view/see this calculated table in Power query editor. Is there any ways to bring this calculated table to query editor where I can run M code on it ? Kindly suggest.

 

Thanks,

Sush

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. DAX calculations are run directly to the model hosted in the file. Power Query runs against the data sources in order to build the previous model. That's why you can't find in Power Query any component created with DAX.

In my opinion, it will always be better to build tables and columns in earlier steps (DB engine or Power Query). If you want to run Power Query stuff for that table you need to recreate it in your database or in Power Query 🙂

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. DAX calculations are run directly to the model hosted in the file. Power Query runs against the data sources in order to build the previous model. That's why you can't find in Power Query any component created with DAX.

In my opinion, it will always be better to build tables and columns in earlier steps (DB engine or Power Query). If you want to run Power Query stuff for that table you need to recreate it in your database or in Power Query 🙂

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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