Skip to main content

Notifications

Power Automate - General Discussion
Answered

Get element from table

(0) ShareShare
ReportReport
Posted on by 25
{
  "Table1": [
    {
      "id_poz": 1699446009738220
    }
  ]
}
 

I have sql query with return this result. How to get value of "id_poz" element ?

 

I try 

 outputs('OstElement')?['body/resultsets']?['Table1'] 

 

but I have in return this:

 

[
  {
    "id_poz": 1699446009738220
  }
]
  • Verified answer
    Lukinfo Profile Picture
    Lukinfo 25 on at
    Re: Get element from table

    Thanks I do this:

    outputs('OstElement')?['body/resultsets']?['Table1'][0]['id_poz']

     

  • DamoBird365 Profile Picture
    DamoBird365 8,942 on at
    Re: Get element from table

    outputs('OstElement')?['body/resultsets']?['Table1']?[0]?['id_poz']

    or

    first(outputs('OstElement')?['body/resultsets']?['Table1'])?['id_poz']


    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts. Thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard