web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excell file content is...
Power Automate
Unanswered

Excell file content is wrong - only one row passed to the new table

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

I have an xlsx template which contains one empty table with headers, it stored in a sharepoint folder. I use a power automate flow to add rows to this table and it is working fine, when I monitor the file I see the excell business add rows to table working:

 

lika_0-1709315755283.png

I finish adding my rows and I get content of the template.xlsx file using the get file content sharepoint action: 

lika_1-1709315906538.png

Then I use this content in order to create a new file as follows:

lika_2-1709316043050.png

There a bug in the get content action or in the create file, it always saves only the first row of the table into the new table. The template table contains 5 rows but the new table file_name.xlsx always gets only the first row of the table.... Very strange, I tried many workaround but seems like the file content is not correct:

Here is the format returned by the get file content:

{
  "$content-type": "application/octet-stream",
  "$content": "a lot of octe text"
}
it is not a JSON so I could'nt parse it or exploite it within the flow at any way, I only could used it as it is returned from the action.... Sadly the created file still gets only one row...
 
Can anyone help me with this I am really stuck with this problem it is been a while
 
Many thanks in advance!!!

 

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @lika 

     

    I think adding a delay may work

     

    https://powerusers.microsoft.com/t5/Building-Flows/Flow-doesn-t-wait-for-Excel-Online-Add-a-row-into-a-table-to/td-p/116431

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • lika Profile Picture
    9 on at

    Seems like we don't have yet a 'true' solution for this limitation, so I am requesting to vote up this idea again: https://ideas.powerautomate.com/d365community/idea/e5e20b17-4eeb-4a9b-ae4a-6d237751b01f#M15554

  • lika Profile Picture
    9 on at

    I thought about a solution, since I already know how many rows I need to have. Instead of adding a static delay, it's more reliable to add a wait until action and or do until control to wait for the count rows in the table. Ounce it hits the expected value then we get the content, just thought about this while getting inspired from your suggestion. I'll try to implement to see if it really works.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard