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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.