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 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,223 Super User 2025 Season 2 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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard