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 get Value from ...
Power Automate
Suggested Answer

How to get Value from array using First, not whole first row / record

(0) ShareShare
ReportReport
Posted on by 32
 
Hi there, 
 
I am using Compose with First() expression, to try and get the first Value from a Select Array. It returns the whole row / object (not sure what the right terminology is sorry), however I am trying to get the value itself. 
 
It is returning { "Licenses" : "Finance"}, whereas I am trying just to return "Finance". 
 
 
 
I feel like I need to add more to the First expression but cannot find the right syntax. Can anyone help me with how to access the value itself? 
 
Current First expression: 
 
first(body('Select'))
 
Whole Flow included below for reference
 
Flow
 
  
 
Flow Details
 
 
 
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Jalpa Mahesh Dhola Profile Picture
    35 on at
    You need to change the expression like 
     
    first(variables('Array1'))?['Licence']
  • RubySmith11 Profile Picture
    32 on at
    Hi @Jalpa Mahesh Dhola, 
     
    Thanks for your reply.
     
    Is there a way to apply the expression to the Body of Select Action? Or can it only be used against an Array Variable, so I need to Append Array for each value in the Select first into a whole new 3rd array? 
     
    Thanks,
    Ruby
  • Jalpa Mahesh Dhola Profile Picture
    35 on at
    Yes,  you can use select action also like this
     
     
    Which will give the output like
     
  • RubySmith11 Profile Picture
    32 on at
    Hi @Jalpa, 
     
    Thanks for your replies and help. 
     
    I am trying to get the Compose to provide the output of "Finance". 
     
    For your second suggestion, in your screenshot the output still has  { "Licenses" : "Finance"}, whereas what I am trying to extract is only the "Finance". 
     
    Is there a way to do that? 
     
    I then need to concatenate it with another field later, so cannot have the whole value of { "License" : "Finance" }
     
    When I try the first suggestion: first(variables('Array1'))?['Licence']
    my compose input and output is blank. 
     
     
    Thanks in advance for your 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
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard