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 / Accessing multi dimens...
Power Automate
Answered

Accessing multi dimensional arrays

(0) ShareShare
ReportReport
Posted on by 111

Hi All

 

I've been having problems trying to access a 2 dimensional array. The array should look like:

[
  {
    "appGUID":'b8b6db0d-ecfa-431a-8766-b53ad4404c49',
    "ExpctdCnt":1
  }
]

How do i access each variable when in an apply to each loop?

Thanks for any  insight/help

cheers!

dj

 

Categories:
I have the same question (0)
  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    In an Apply to each for the data you provided you access each property using the following:

     

    //If accessing directly within the Apply to each
    
    item()?['appGUID']
    item()?['ExpctdCnt']
    item()?['Your_Field_Name']
    
    //Or from anywhere within the Apply to each
    
    items('Apply_to_each')?['appGUID']
    items('Apply_to_each')?['ExpctdCnt']
    items('Apply_to_each')?['Your_Field_Name']


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

  • Flyingfishnm Profile Picture
    111 on at

    Great, thanks for your quick response and help!! 😊

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 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard