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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cannot map excel table...
Power Automate
Unanswered

Cannot map excel table fields using dynamic file (Create File ID)

(0) ShareShare
ReportReport
Posted on by 68
I am working on a Power Automate flow triggered from a Power BI button, and I’m running into an issue when trying to add data to an Excel template stored in SharePoint.
 
The goal to the flow is:
  • User clicks button in BI report
  • Flow identifies the user by email address
  • Flow navigates to user folder on SharePoint
  • Flow creates a copy of a excel template into the user's folder 
  • Flow add data from BI report into the table
  • Flow renames the file at the end 
When I use Create file to copy the template and then try to use the file ID in Add a row into a table, I am unable to map the columns to the correct fields in the table. The flow will either error out or add a blank row to the template, depending on the expression used in the Row field. When configuring the Add a row into a table step using the ID from Create file, the column fields do not appear—only the generic Row field is available. If I hardcode the file path instead, the column mapping works correctly; however, this creates another issue where the file could be overwritten if the user runs the flow again before it is renamed.
 
I have tried the below, but thing is working.  Do you have a suggestion?  
  • Using ID from Create file

  • Using Get file metadata using path

  • Using List rows present in table before adding rows

  • Building a manual JSON row object (json(concat(...)))

  • Using items() inside Apply to each

  • Using Parse JSON to structure the data

  • Using delays to ensure file availability
Field Inventory Summary Report.png
Field Inventory Summary Report error.png
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,677 Super User 2026 Season 1 on at
    Don't use ORDERBY in your DAX queries unless you really, really have to.
     
    Consider using the Graph API to transfer the content of the Power BI query results to the Excel table (Remember that everything you get back from Power BI is always an array).  That will allow you to avoid the RBAR, and will elegantly work around the dynamic name issue.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 456

#3
11manish Profile Picture

11manish 352

Last 30 days Overall leaderboard