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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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