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 Apps / Arrays Within Power Apps
Power Apps
Answered

Arrays Within Power Apps

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have a Power App function that takes a unique variable from the app, such as a surname, and searches an Excel spreadsheet for a match. (There can only be one) It retrieves the entire row of matching data via Power Automate. So far, so good. I have returned the array to Power Apps as text using Power Automate's Return to Power Apps function (is this my first mistake?) and now I'm wondering how to access the array within Power Apps. I've tried using collections and index functions, but with no success.

 

i.e.

 

ClearCollect(loadDataCollection, personalData.Run(Surname.Value));
 
Set(Firstname.Value, loadDataCollection[0]);
 
Wondered if anyone could point me in the direction of an array help file or had a tip as to what the bump in this app's road is?
 
Many thanks for any help,
 
David
Categories:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @David_Howarth , You can use MatchAll function. Please check this YT video: https://www.youtube.com/watch?v=N1pPUvFeWUk

     

    You can also use Response action however it will require premium license. Please check this  https://powerusers.microsoft.com/t5/Building-Power-Apps/Pass-Array-from-flow-to-PowerApps/td-p/404570

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • David_Howarth Profile Picture
    on at

    Thank you for these and will deeper dive when up to this level of programming. 

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 Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard