Power Automate | Apply to Each | Why? | Arrays and Objects

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

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

  • @DamoBird365
    @DamoBird365  หลายเดือนก่อน +1

    I’ve got a favour to ask! If you enjoy this, please double check that you’ve liked the video and subscribed to the channel! Thats a small way you can help me carry on doing this ❤🙏🏾 really appreciate you!
    🩷 Subscribe: th-cam.com/users/DamoBird365
    ☕ BuyMeACoffee: buymeacoffee.com/DamoBird365
    🔗 LinkedIn: linkedin.com/in/DamoBird365
    🐦 X (Twitter): x.com/DamoBird365
    📱 TikTok: tiktok.com/@DamoBird365
    🙋‍♂ Feedback: forms.office.com/r/4EqE7VHVfH

  • @markweyman
    @markweyman ปีที่แล้ว +8

    Thanks for covering this topic, it’s something I often struggle with and will be bookmarking this so that I can go back over the lessons you’ve covered today.

  • @thanghuu887
    @thanghuu887 6 วันที่ผ่านมา +1

    beautiful explanation. thank you

  • @tinsae.a1654
    @tinsae.a1654 2 หลายเดือนก่อน +2

    Great video! Just what I needed. Thank you!

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

    I will be sharing this video with our Power Automate users. Great video, thanks Damien

  • @abhi1779
    @abhi1779 5 หลายเดือนก่อน +2

    Brilliant video. Awesome explanation

  • @munkybutler1
    @munkybutler1 11 หลายเดือนก่อน +2

    Brilliant video Damo, makes things a lot clearer. I will be bookmarking this 😊

  • @ashishkn95
    @ashishkn95 5 หลายเดือนก่อน +2

    I love you! This is exactly I was looking for! Thank you!

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

    Great Video! Gave me a good understanding preventing some annoying Loops. Thanks Damien!

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

    Excellent! I really like how you're focusing on Power Automate topics. Very helpful (and I am subscribed🙂)!

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

    Great vid as usual! I also rarely use the Join data operation because often times, the requirement is to return unique values from an array. I use the join in conjunction with union to perform such tasks. Have a great weekend!

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

      I see you’ve watched it 👍 I’m definitely more a fan of expressions but happy to sneak a extra action in there for the demo. Union is great for distinct values or bringing arrays together for sure. Thanks again Emmanuel.

  • @Derrick-d1z
    @Derrick-d1z หลายเดือนก่อน +1

    Quite helpful. Thanks for sharing this with everyone :-) The question I have is, how would you then generate a company/industry relation from the sharepoint list, assuming a there were multiple industries and a company was in multiple industries?

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

    Thanks!

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

    This is a super helpful video. I was having difficulty with multiple value people columns and incorporating them in power automate. For example, I couldn't get it to send just one email to the multiple people as recipients listed in the item column.

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

      Nice one Clay, delighted you found this video as I only recorded it last weekend. I really hoped it would help folk out. Thanks for letting me know. 👍

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

    Nice clear explanation. Thanks.

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

      Thanks Matt - you are pretty impressive on the guitar and harmonica 😎 thanks for stopping by 👍

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

      @@DamoBird365 Thank you :D And thanks for taking the time to visit my channel and listen. Glad you liked it

  • @kathleencarrao9356
    @kathleencarrao9356 7 หลายเดือนก่อน +1

    Thank you so much, it helped me a lot!!

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

      Thanks Kathleen 👍

  • @djjamba14
    @djjamba14 7 หลายเดือนก่อน +1

    Fabulous video!
    Is there a way to use the same technique but for multiple records (Get ItemS) and not just one person column from one record (Get Item)?
    i.e. do you know if there's a way of plucking out a single column from an array of objects that's already inside the Select with a bunch of other mapped values?

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

      Yes there is 👍👍 with Xpath. I have an example here 👉 Boost Your Power Automate Skills with Complex Arrays, Select, XML, and Join Techniques
      th-cam.com/video/afqvGAb20Dw/w-d-xo.html

    • @djjamba14
      @djjamba14 7 หลายเดือนก่อน +1

      @@DamoBird365 - Thanks for the fast reply! Yes, someone had mentioned I should look at xml and xpath but I haven't got there yet so hopefully you will save me a ton of research 😃 Will check your link out and thanks again 👍🏼

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

    Loving your content. Thank you.

  • @AnnaMallek-Bojke
    @AnnaMallek-Bojke 11 หลายเดือนก่อน

    thank you for the video! my questions is how can I take from value in jeson file, when I dont have dynamic function "value"? unfortunately our SharePoint using library, not list. I use "get file properties" "when an item or file is modifie" because Cant use "get item(s)"

  • @blessedtheotokos3899
    @blessedtheotokos3899 4 หลายเดือนก่อน +1

    great! love it clear clear clear!

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

    Is there any to get all multiselect people value through expression other than integer method or apply toeach?

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

      You can use select action. The name of the multi select is the input, then turn on text mode via icon to n right, then select the value. That will give you an array of values which you can then join.

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

    fantastic quality content, thanks so much it helped a lot

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

    I just started to learn powerauto for an automated Excel to Sharepoint flow. Do you have any courses for sale?

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

      I don’t but maybe I need to look into that one day. Where do you usually learn?

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

      @@DamoBird365 Primarily Udemy and Coursera.

  • @Wzxxx
    @Wzxxx 8 หลายเดือนก่อน +2

    Thank You so much. I do Power BI stuff but sometimes Automate is helpful but absolutely counter intuitive for a user. All of my collogues just resign for using it. Simple ideas take hours to implement without a real knowledge. Simple task and you need to know the language which is not explained anywhere. All these ?, () and strange code. Need to build some iteration in order to GET items from API. Nice tutorial. After all tutorials from You it will be much easier to go through that nightmare.

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

      Thank you very very much 👍

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

    Awesome video this has just helped me so much

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

      Cheers Adam - much appreciated 👍

  • @dianezpilon2805
    @dianezpilon2805 9 หลายเดือนก่อน +1

    This was a helpful video. Question, I have an issue where whenever I compose an array, it multiples the result by the total. In you example you had 10 Company names. For me, my output would be an array where a single company name is listed 10 times. So there there are 100 items; Company A listed 10 times, Company B listed 10 times, and so on. How do I prevent this? My goal is to concatenate several values in a single SharePoint record into a single string. In other words, create a calculated column value for each record in a SharePoint list using Power Automate. Thank you

    • @DamoBird365
      @DamoBird365  9 หลายเดือนก่อน +1

      I think you want to use union and filter array. Something a bit like : Transform Excel Data into HTML Table and Email: Power Automate #PowerAutomate #Outlook
      th-cam.com/video/pwJ73jFEtDQ/w-d-xo.html

    • @dianezpilon2805
      @dianezpilon2805 9 หลายเดือนก่อน +1

      @@DamoBird365 Thank you so much for your reply! I'll check it out!

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

    Great Explanations. One Question: When I am doing a test and I don't want to go through the entire number of items, how do I create a variable that only gets a few items of that value array?

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

      take() learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#take

  • @danielweikertsn1615
    @danielweikertsn1615 2 หลายเดือนก่อน +1

    Not sure how you managed to get rid of the curly braces. When i use select to extract form the source ([
    [{
    "name": "Monkey D. Luffy",
    "bounty": 1500000000
    },
    {
    "name": "Roronoa Zoro",
    "bounty": 600000001
    }]
    the name i get the list/array but with the curly braces next to each name

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

      I guess you’re using item() and not item()?[‘name’]

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

      @@DamoBird365 no i am using item()?['name']
      Strange that i still get the { }
      But thanks for your answer

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

      Are you looking for an array of names? Or key : value pairs? If it’s just names, remove your key values and toggle to Text mode and reinsert your expression.

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

      @@DamoBird365 yes only the names but the text mode requires me to insert valid json and does not allow only the item expression

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

      @danielweikertsn1615 you can have a single name in text mode or you need to add them to an array or object.

  • @pprtflow
    @pprtflow 9 หลายเดือนก่อน

    Hello! Tks for your video! I'v the issue "The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array." when i use the update item with the field responsible in sharepoint of type person or group. How to fix this issue please?

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

    Love the shirt - it's brilliant!

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

      Microsoft were giving them away at events but a kind colleague sent me it for raising her awareness of Graph API. I love it too 👍

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

    Thanks for this video. I encountered one trouble maker for apply each: List files in folder! any tips on how to approach these two together?

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

    I would really love to see a video on how to append existing file names in SharePoint if the filename already exists. I am really struggling with this, and I just want to append the file name with (1),etc. like Windows does.

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

      Do you want to create a new version if it already exists? I’m curious.

  • @joyolohita1448
    @joyolohita1448 4 หลายเดือนก่อน +1

    I am having the same problem of sending one message to all staff for birthday. I hope to use the video to solve my Branching issues. thanks.

    • @DamoBird365
      @DamoBird365  4 หลายเดือนก่อน

      @@joyolohita1448 let me know if it helps

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

    Thx for covering index by integer and array issues. I’m sure you’ve done this, namely, handling nulls?

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

      Hi Gerald, you can insert a ? Into any level of an expression so that if it’s not found it returns null. The flip side is, if you don’t include a ? the expression will fail, as will your flow. I agree that I’ve demo’d it somewhere. 10 points if you know what video and can share a link 😂

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

      At first I thought item()?[‘Student’] would work but I think it has to be item()?[0]?[‘Student’] etc. Such a relief to overcome failure due to null. Not sure if you’re a curling fan but Scotland and Canada might meet in World Championships this weekend in Ottawa. I often Power Automate while viewing a slow moving sport to glance at while test flows run. Bottom line, the flow skills I’m gathering help a lot at work. Happy Easter - I’m grateful for Christ’s atoning love.

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

    Hi Thanks for this Video but I still did not get how to extract Manager DisplayName from multiple manager field and put into HTML Table for per record

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

      It would be worth asking on the forum powerusers.microsoft.com/ and provide more detail on what you’ve tried 👍

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

    Thanks for putting this together! My brain hurts.😅

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

      Haha. Hope it helped you. 👍

  • @nathandowling-justice8609
    @nathandowling-justice8609 ปีที่แล้ว +1

    Sounds good....but moving waaaaay too fast for me to make sense of it....I think i'm more at the beginner/curious and experimenting stage....

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

      Make sure you bookmark it and come back when you’ve started getting nested apply to each actions 👍 if you think there’s a need for a video as a newbie, give me a shout.

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

    Power automate cloud excel how to check each column
    Kindly advise
    Thank you

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

      Hi Lokesh, I don’t understand your question? Can you rephrase? I would otherwise definitely recommend the forum powerusers.microsoft.com/

  • @joyolohita1448
    @joyolohita1448 4 หลายเดือนก่อน

    ActionBranchingConditionNotSatisfied
    The execution of template action 'Send_an_email_from_a_shared_mailbox_(V2)' skipped: the branching condition for this action is not satisfied. kindly guide me because it is making me unhappy