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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.

Top Solution Authors