I have previously used the Excel Power Query transformation function to create a required table of data. This could be easily manually copied and pasted into a Word document (headers and content, as-is). However, I would like to automate this. Within Word I have previously worked Content Control fields and populated a template successfully with manually triggered data, so I am familiar with that process. However, I have not done this for tables before.
I'm now moving my data into a CDS table, and I'm looking to replicate that Power Query to create/update the same table in CDS, with a view to using Power Automate to grab that data table and insert it as a table in the Word document template.
Assuming that I have my data available in CDS, how do I reference my transformed PQ-generated table in my Power Automate flow and insert it into a specified place in the Word document?.
Any help would be greatly appreciated!. Thanks in advance🙂
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
My requirements are pretty simple: the solution needs to create a table of data (like Insert/Table in Word) and insert it at a given point (referenced via Content Control in the Word doc, or some other method).
The table of data could be created by an SQL query, but at the moment I can get the table view of my data by running Power Query to transform the data. It literally just needs to paste that, as is. I don't want to link explicit SQL statements in my Word document - I've done this before and it's too messy. I want to be able to control what goes into the Word document by having a reference point (like a CC) and then whatever is linked to that gets pulled into the Word document at that point.