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 / Alternative to GET row...
Power Automate
Answered

Alternative to GET rows Excel : List rows how to use for dynamic files

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

This post is to help users who migrate from "Get rows" option to "List rows option" and find that dynamic file id no longer works.

 

Here is that solution for that , I was using share point to upload excel files as attachments and retrive the excel files and then create the excel file in one drive.

 

Since the "Get rows" function was removed in latest version of the flow , All I have left was with "List rows from table in Excel option"

 

After I have started using List rows

Capture.PNG

 

I observed that the FileID from One Drive no longer works. I can't send a dynamic file name to the List rows. I was troubleshooting using "Peekcode option" in the flow and have observed the the "File"  section its "path" in peekcode

 

"path": "/drives/@{encodeURIComponent('b!-N7nRK_cl06qffUTjNL1jTYHhozQR1xGtZ9pYLdy0ssHQab1TcoWTaTcrIovVzN5')}/files/@{encodeURIComponent('012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT')}/tables/@{encodeURIComponent('Table')}/items",
 
The FileID from from one drive is combination of Documentlibraray.File , The List row File parameter only accepts the File token , all I have to do it was to create a variable which looks like this 
  last(split(body('Create_file')?['Id'],'.') so that the File ID will have only "012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT"
 
Categories:
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    I really appreciate your sharing.

     

    I have tested it and it is working properly.

     

    It would be helpful for other customers as well.

    1.PNG2.PNG

     

    By the way, please feel free vote this submitted idea so that it can be an out-of-box feature in future releases:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Dynamic-content-in-File-amp-Table-inputs-Excel-Business/idi-p/107821?advanced=false&collapse_discussion=true&filter=location&location=idea-board:FlowIdeas&q=Excel%20business%20dynamic%20file&search_type=thread

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was able to get a dynamic file ID using this method that grabs the Thumbnail Large properties. See here:  https://powerusers.microsoft.com/t5/Building-Flows/Excel-Business-problems/m-p/107609/highlight/false#M10540

     

    ******************************

    Just want to say that I used KarimH's method and IT WORKED. First initialize a variable that gets the value of Thumbnail Large. The name of this variable (for me) was "varThumb". Then initialize another variable for the File using this expression as the value: 

     

    split(split(variables('varThumb'),'items%2f')[1],'%3fversion%3d')[0]
     
    Then use the List Rows action and set the File field to the FileID variable. 
  • eproctux Profile Picture
    2 on at

    I tried, but I had no success, I did with sharepoint, could it have been this, please help

  • Janneke123 Profile Picture
    11 on at

    Hi @v-yamao-msft,

    I have an Excel Sheet submitted to Sharepoint Documents via Power Apps.

    This Sharepoint Document I want to integrate in Sharepoint List to create a database there. 

    Could you tell me how I can select to only continue from my Sharepoint Document with Table 1? (It will always be named Table 1)

     

    Best regards,

    Janneke

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard