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
richard-powerbi
Post Patron
Post Patron

Write back to XML after importing it in Power Query

I import an XML through Power Query.

PQ detects tables and I expand the table structure.

Now I have a visual representation of what is in the XML file.

Is it possible to change text or add rows and write back to the XML file in some way?

I know I can program this, but I thought because PQ is smart enough to transform from XML code to a visual reperesentation, it could also be smart enough to transform it back to the XML file.

Or does anyone know different solutions for this? I also tried importing through Excel > Devloper > Import, and then a connection is made. But this connection seems singular in direction.

2 REPLIES 2
lbendlin
Super User
Super User

Power Query only does the ETL, it does not participate in the rendering of the visuals (or the data model, for that matter). 

 

Yes, you could write the result of your Power Query back out in a HTTP POST but that is a hack, not something Power Query and Power BI were designed for.

 

As you said you are probably better off doing that stuff in professional ETL tools.

@lbendlin I'm actually interested in the HTTP POST hack, is there any info on that?

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.