Power Automate - Extracting Values from JSON Array

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 มิ.ย. 2024
  • In this video we will dive into to understanding what certain outputs look like inside of a Power Automate Flow. With this understanding we can then take advantage of the Parse JSON action to extract the information we are looking for that the standard dynamic content might not be able to locate for us. This can make working with complex datatype in Dataverse tables much easier!
    If you enjoy this video or any of my other videos and are interested in formal training on DAX, Power BI, Power Apps, Azure, or other Microsoft products you can use my code "Manuel20" to get an extra of 20% off at check out when purchasing our On-Demand Learning classes from pragmaticworks.com/pricing/​ #ManuelQuintana
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -
    Next step on your journey:
    👉 On-Demand Learning Courses Free Trial: www.pragmaticworkstraining.co...
    🔗Pragmatic Works On-Demand Learning Packages: pragmaticworks.com/pricing/
    🔗Pragmatic Works Boot Camps: pragmaticworks.com/boot-camps/
    🔗Pragmatic Works Hackathons: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Virtual Mentoring: pragmaticworks.com/virtual-me...
    🔗Pragmatic Works Enterprise Private Training: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Blog: blog.pragmaticworks.com/

    Let's connect:
    ✔️Twitter: / pragmaticworks
    ✔️Facebook: / pragmaticworks
    ✔️Instagram: / pragmatic.works
    ✔️LinkedIn: / pragmaticworks
    ✔️TH-cam: / pragmaticworks
    Pragmatic Works
    7175 Hwy 17, Suite 2 Fleming Island, FL 32003
    Phone: (904) 413-1911
    Email: training@pragmaticworks.com

ความคิดเห็น • 37

  • @amdaring
    @amdaring 2 หลายเดือนก่อน

    you. are. a. lifesaver!!! thank you!

  • @moelmakrani7116
    @moelmakrani7116 2 หลายเดือนก่อน

    Man, this is exactly what I needed to to solve my problem. You rock! Thanks.

  • @captainawesomenz
    @captainawesomenz ปีที่แล้ว

    wow thank you for this video. i was majorly stuck with a flow and filtering an array which despite all logic it kept telling me it was an object, not an array.
    The general knowledge in this video helped me along but when i saw you create an array variable it all fell into place and i solved my issue!

  • @khaisevenseven4204
    @khaisevenseven4204 10 หลายเดือนก่อน

    Thank you so much. I've been struggling with understanding this and getting it to work. Your video has been the clearest explanation so far and helped me solve my problem. Thanks again!

  • @jasonthedogcatcher
    @jasonthedogcatcher ปีที่แล้ว

    Thanks for making this video. You made a complex process (for a novice anyway) very simple. Keep up the great work.

  • @mansimalik8826
    @mansimalik8826 7 หลายเดือนก่อน

    Great great video!!! This really helped.

  • @renatorfl
    @renatorfl ปีที่แล้ว

    Thx for the video man. It helped me a lot.

  • @luizzzgt
    @luizzzgt 2 ปีที่แล้ว +1

    awesome content, thanks for the simplicity and for making it so easy

  • @WalterWhite-qc4sd
    @WalterWhite-qc4sd 2 ปีที่แล้ว

    Thanks, very straight-forward and explained in a thorough way.

  • @MohammadAli-ts2ev
    @MohammadAli-ts2ev 2 ปีที่แล้ว +2

    Thank you for the informative video.
    In Power automate/Flow, how can we set the value of cell A2 (of Excel Online for Business) to a variable?

  • @richardvr7866
    @richardvr7866 ปีที่แล้ว +1

    This works perfetcly. Thank you so much. Great video!!!

  • @yongpeowlim5049
    @yongpeowlim5049 2 ปีที่แล้ว

    Your video has helped me through where I am stuck for days!
    Thank you!

  • @jasonblais1667
    @jasonblais1667 8 หลายเดือนก่อน

    you saved me! Thank you! Great explanation!

  • @javierlujan7118
    @javierlujan7118 2 ปีที่แล้ว

    Thank you body! your parse part has helped me wherre I was stuck and spending hours on it!

  • @ahmedragab5755
    @ahmedragab5755 ปีที่แล้ว +1

    that was sooooo helpful, thank you so much , god bless you

  • @husalkahli
    @husalkahli ปีที่แล้ว +1

    Thanks a lot man, this is life saving

  • @TroyGerber
    @TroyGerber 2 ปีที่แล้ว

    Saved me hours. Thank you

  • @vinayayinapurapu
    @vinayayinapurapu 2 ปีที่แล้ว

    nailed it and spot on..

  • @excitedsolutions1255
    @excitedsolutions1255 3 ปีที่แล้ว +1

    Great video. Do you have any examples that show how to deal with the result of the “execute a query” sql connector? I know the result is formatted in JSON, but I think there’s also a situation where the entire result is “Table1”. I haven’t found any videos that talk about this.

    • @manuelquintana2225
      @manuelquintana2225 3 ปีที่แล้ว +2

      Hello! I am glad you enjoyed the video. The exciting thing is that you can use this same method even when using things like Get Rows V2 or the Execute a SQL query V2. The main thing is how you setup the Parse JSON action. Specifically the "Execute a SQL query (V2) will output three objects that will show up in the dynamic content: Query Results, ResultSets, and ResultSets Table1. I have listed this not in the order they appear in the action but in the order of scope. The higher the scope the more nested arrays and this will require the use of the "Apply to Each" control for the array you want to extract data from. I would recommend looking at the output from the "ResultSets Table1" and using this payload for the "Genarate from sample" option in the Parse JSON action. From there you should get the same capability that I am showing in this video. There is still a possibility that the output will have an array but the beautiful thing is that Power Automate will automatically create the "Apply to Each" control for you and you can still use the dynamic content from the Parse JSON as you please! I just tested this using the Execute a SQL Query (V2) using the ResultSets Output which would guarantee that i would encounter and array and everything worked perfectly! Now it should be noted that if you are getting back some rows and then you want to use only one of the rows from the returned array, things can get a bit tricky there but normally you should be able to find a way to filter your sql query to get back exactly what you need. I hope this helps!

    • @excitedsolutions1255
      @excitedsolutions1255 3 ปีที่แล้ว

      @@manuelquintana2225 thanks a lot Manuel. I was able to step through as you stated and was able to get the resulting values to use in another step after the query. Thanks again!

  • @erinfield1943
    @erinfield1943 ปีที่แล้ว

    2:35- I don't have that Output Body code. I'm in Power BI, in the "Select" connector, and all it gives me for Body output is "[ ]". How do I get the code I need for 5:14?

  • @youdagoob
    @youdagoob ปีที่แล้ว

    Thank you for this excellent video. Unfortunately, this doesn't seem to be a possible solution to grab specific data from custom form fields in Microsoft Bookings. Microsoft lumps any and all custom form fields from Bookings into one JSON array called "CustomQuestionAnswers". How do I further parse "CustomQuestionAnswers" from Bookings as individual data points?

  • @tamboleo
    @tamboleo 2 ปีที่แล้ว

    Really well explained and really well done, thank you very much to you sire. ;P

    • @PragmaticWorks
      @PragmaticWorks  2 ปีที่แล้ว +1

      No problem! Thanks for watching!

  • @reyeslopezerick
    @reyeslopezerick 2 ปีที่แล้ว

    Es justo lo que necesito!

  • @ravitejaayyagari9151
    @ravitejaayyagari9151 2 ปีที่แล้ว

    Hi can you please tell me how to get 'Yes' value also , and how to store that 'yes' value in variable in above vedio

  • @sandipansarkar9211
    @sandipansarkar9211 8 หลายเดือนก่อน

    finishjed watching

  • @youngyingyang
    @youngyingyang ปีที่แล้ว

    I still don't understand why Microsoft is NOT returning labels from Dataverse automatically like it used to with the original D365 Actions and Dataverse Action (Gray ones)... very, VERY stupid.

  • @BG-qi5hs
    @BG-qi5hs 7 หลายเดือนก่อน

    That’s not an array… that’s an object