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 value...
Power Automate
Answered

how to get Value values from JSON

(0) ShareShare
ReportReport
Posted on by

Hello, 

I have some like these JSON :

 {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 "Id": 4,
 "Value": "10000000"
 },
 {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 "Id": 22,
 "Value": "20000000"
 }
]

 

How to extract only Value using Compose, there can be more than just 2 IDs. I tried that but it doesn't work, I got empty input

body('Compose')?['Value']

 

Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at

    If the above is what your JSON data looks like, insert a Parse JSON action into your flow. Then use the above as the sample data to create the scheme. You will then be able to get the values from the dynamic content picker out of the Parse JSON action.

  • Palucci12 Profile Picture
    on at

    thank for your suggestion, but how should look JSON schema for my example ? 

  • Verified answer
    David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at

    You will first need to make sure your data is a valid array. Then do this:

    David_MA_0-1689962007264.png

    I don't know where your JSON is coming from. but first pass it through a Compose action and don't add the other actions until you run the flow one time. Then go to a successful run of the flow and copy the output from the initial Compose action.

     

    Next add the Parse JSON action and pass it the data from the Compose action or whatever your real source of the JSON array is. You can then process each item in an Apply to each with the output of the Parse JSON data action.

     

    If everything is configured correctly and your JSON is valid, you will get:

    David_MA_1-1689962197826.png

     

  • Palucci12 Profile Picture
    on at

    However, then I have PARSE JSON, where I take the output of this COMPOSE, but I don't know how to set Schema so that in Compose21 it downloads only Value, in this case I will have two Values . Now i got a error: 

    Palucci12_1-1689963624770.png

     

    Palucci12_0-1689963602649.png

    Here is my JSON where it comes from:

    Palucci12_2-1689963673104.png

    I don't know how to set the Schema so that it creates one JSON for me, so that I can choose a Value, only Value can be several depending on how many objects are in a given row

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 581

#3
Haque Profile Picture

Haque 545

Last 30 days Overall leaderboard