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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
mgallacher
Frequent Visitor

Edit Data on Import

Most of the data I'm importing is exported out of cloud providers. Considering I can't edit the data in their database, is there a way to save query steps, or even better, edit the data on import automatically? I'll be importing the data every month and all my changes will be lost everytime I import. 

1 ACCEPTED SOLUTION
tjd
Impactful Individual
Impactful Individual

On the Home tab of PowerBI Desktop, you'll find the Edit Queries button.  Clicking on it, opens the Power Query editor in which you can edit your data to your heart's content.  After editing, click Apply and Load and your data model will be ready to use your edited data for creating visuals.  Save the PowerBI Destop file.  The next time you refresh your data from the data source, it will import, all the saved power queries will run, and you will have updated your PowerBI with new data in the format you desired.  Hope this is what you were looking for.

View solution in original post

4 REPLIES 4
tjd
Impactful Individual
Impactful Individual

On the Home tab of PowerBI Desktop, you'll find the Edit Queries button.  Clicking on it, opens the Power Query editor in which you can edit your data to your heart's content.  After editing, click Apply and Load and your data model will be ready to use your edited data for creating visuals.  Save the PowerBI Destop file.  The next time you refresh your data from the data source, it will import, all the saved power queries will run, and you will have updated your PowerBI with new data in the format you desired.  Hope this is what you were looking for.

MarcelBeug
Community Champion
Community Champion

Actually the normal situation is that your query steps are applied again on each data refresh, so I wonder why your changes get lost.

Specializing in Power Query Formula Language (M)

They aren't Marcel. I'm a marketer trying to learn Power BI from scratch and didn't realize those steps would apply everytime. Thank you all for the explanations!

erik_tarnvik
Solution Specialist
Solution Specialist

Power Query should be your ticket to solve this problem. That's pretty much what it is for.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.