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 / how to loop through ex...
Power Automate
Unanswered

how to loop through excel file

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Mates,

 

How to read excel file rows(loop all items), also input file(excel) is from powerapps app only.

 

Example :

when button clicks Flow has to start.

input parameter is excel file from powerapps (selected attachment excel file) excel file to read and loop all the items.

 

Can we take input(selected excel )parameter file from powerapps in to flows...?

how to read/loop through excel file rows..?

Reply with steps would greatly appreciated..

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you share more details? Where is the excel file stored? it can be read in flow only if it is stored online like OneDrive or SharePoint.

     

    You can use the list rows present in excel table action and pass the location of the file and then the file identifier from Power Apps and then the table name (it should be a constant one)

     

    Hope this Helps!

    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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255 

    Thanks for reply

    "Can you share more details? Where is the excel file stored? it can be read in flow only if it is stored online like OneDrive or SharePoint" Excel file is from powerapps , like for now we would like to use attachment option to browse and select file, this selected file would like to pass as input to get rows.

    because our requirement is file has to select from powerapps.

    please reply if any clarifications are required.

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    If you are passing the file (as in the binary content of the file) from Power Apps then it cannot be opened in flow to get the rows and loop over them. 

     

    Hope this Helps!

    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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255 ,

    Thanks for Reply,

    we have some update since it is not possible to read file from Powerapps,

    now my source file location is OneDrive.

    but they want to update in to SQL table.

    any idea i can read values from one drive but how to set/assign dynamically set columns to add.

    means if excel has extra columns where the target table(sql table) does not exist has to create column and update values as well

    Any help here.

  • ndd Profile Picture
    36 on at

    @yashag2255 

    Do you have the solution to read data in Excel file. If so, appreciate you could share the same with me.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard