Power Automate Get Unique Values from Array | Distinct Items from Excel, SharePoint & Dataverse

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • This video is a step-by-step tutorial on how to get Unique or Distinct values from Array in Power Automate flows. The flow will use an expression function called Union to get the unique values.
    We will Get Unique values from Array of data coming from Excel file, SharePoint list & Dataverse Table.
    Scenarios covered:
    ✅ Excel Sales Report
    ✅ SharePoint Task Reminders
    ✅ Dataverse Devices Assignment Report
    Style HTML Table in Power Automate & send in Email - • Power Automate flow HT...
    Power Automate Expression Union - Return Unique Values Blog Post.
    flowaltdelete.ca/2020/06/03/p...
    Union function documentation - docs.microsoft.com/en-us/azur...
    Power Automate (Microsoft flow) OData Filter SharePoint - • Power Automate OData F...
    Power Automate Playlist -
    • Power Automate (flows)
    Table of Contents:
    00:00 - Intro
    00:36 - Get Unique / Distinct Values from Array using Union expression in flow
    05:16 - Get Unique Values from Excel in Power Automate - Send Sales Report
    15:26 - Get Unique Rows from SharePoint List in flow - Task Due Reminders
    19:34 - Get Unique Values from Microsoft Dataverse in flow - Devices Assigned Report
    22:02 - Subscribe to Reza Dorrani channel
    #PowerAutomate #Excel #SharePoint #Dataverse #UniqueArray
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thanks Reza, I finally achieved what i wanted with this video.

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

      Glad to hear that! Thank You for watching.

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

      @@RezaDorraniFor me this was your best video, so far.
      I've been working a few months with dataverse, but it's getting more and more frustrating that it does not work like a real database, with real views or sql...
      I'm totally new to PowerAutomate. I guess that union can be used to get unique combinations as well (if you have an array with 2 or more variables), right?

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      @@stenjohannesson Yes it can be

    • @stenjohannesson
      @stenjohannesson 3 หลายเดือนก่อน

      @@RezaDorraniAlso, I need to import an XLS to a DataVerse table, which is easy, but then I have to normalize it. I’m thinking of doing this in multiple steps.
      1) Creating sub-tables (manually), probably in a way that some columns must be unique (or actually a combination of some variables) - I hope that is possible.
      2) Selecting each couple of variables/columns that should go into sub-table1 and inserting them with power automation (PA).
      3) Somehow with PA looking up the link to inserted (or overwritten) row in sub-table1, and pasting it into the original table.
      4) Using PA to delete the variables/columns from the original table that have been copied over to sub-table1.
      Then repeat step 2-4.
      Is this doable?
      Do you see a better way? I could do pivot tables in XLS, and then import them into sub-table1 etc., but then I would have to manually edit each line in the original table, adding the link to the other tables’ rows manually!

    • @stenjohannesson
      @stenjohannesson 3 หลายเดือนก่อน

      @@RezaDorraniAlso, I need to import an XLS to a DataVerse table, which is easy, but then I have to normalize it. I’m thinking of doing this in multiple steps.
      1) Creating sub-tables (manually), probably in a way that some columns must be unique (or actually a combination of some variables) - I hope that is possible.
      2) Selecting each couple of variables/columns that should go into sub-table1 and inserting them with power automation (PA).
      3) Somehow with PA looking up the link to inserted (or overwritten) row in sub-table1, and pasting it into the original table.
      4) Using PA to delete the variables/columns from the original table that have been copied over to sub-table1.
      Then repeat step 2-4.
      Is this doable?
      Do you see a better way? I could do pivot tables in XLS, and then import them into sub-table1 etc., but then I would have to manually edit each line in the original table, adding the link to the other tables’ rows manually!

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

    Again, you are one of the most valuable presenters here on youtube. why? high value per video, videos are well structured, short and crisp project overview (very important. most dont do it) and finally you bring it to the point without blabla. good to have you here!

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

      Wow! Thank you for the amazing feedback.

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

      Well said. I agree 1000%

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

    I have been looking for this solution for several days
    Thanks for the hard work!

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

    This is the best flow on TH-cam, saved me so much time in sending reports. Thank you!

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

      So glad to hear that. Thanks for watching.

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

    Not only are your videos informative but your use cases are the best. Thank you

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

    This is exactly (send email with the table of items for each owner) what I asked you for help few months ago and I am glad that finally you made it. Thank you Reza.
    I actually achieved it via a different method but it required one more manual step in excel...

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

      Thank you for watching.

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

    Many many thx Reza, the most useful video about loop and uniq email to send. Thx from Bordeaux France

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

    Reza, You saved me today! Thank you so much for this extremely informative and user friendly demo!!

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

    At first, I thought it might not possible in Power Automate. But then I saw your video. :) You make complex things look so easy. Thank you so much!

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

      Glad to hear that! My goal is to try and explain things in a simple and clear manner. Your feedback has made me happy.

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

    I have similar project few months ago. You make my life easier after watching your video. Great work !

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

      Great! Thank you for watching.

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

    Hi Reza, after spending hours of searching I came across this video of yours which was exactly what I needed. Thanks a lot!

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

    Thanks Reza, with your instructions I realized the solution I was aiming for. Keep up these interesting and wel presented videos.

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

      Great to hear! Thanks for watching.

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

    Hi Reza, Thanks for all your supportive posts. I posted a question yesterday and waiting to have some clues on that. Thanks!

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

      Where did you post the question? Forums?
      I only go to forums in my free time.
      There are many experts on forums who provide help. Hopefully, you get a response soon.

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

    After a few days of development and googling, your video helped me the most! Thank you very much, Reza!

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

      Happy to know the video helped. Thanks for watching

  • @user-de2kl6mh9k
    @user-de2kl6mh9k 3 หลายเดือนก่อน +1

    I've just discovered this old video. Great job. I want more videos like this

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      Awesome, thank you!

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

    Thanks Reza for this excellent video to explain Union function in Power Automate. It helped me a lot in my current work.

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

      Glad to hear that. Thank you for watching.

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

    Como sempre nos surpreendendo com otimos conteudo. Esse video era que eu precisa . Parabens👏

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

    Yet another amazing video with Reza's signature crystal clear explanation.

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

    Thank you so very much. I needed this and could not find on any website how to do the select right. You're awesome.

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

      You're very welcome!

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

    You are a Life Saver Reza.. Totally! Thank you so much.

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

    You are a life saver! I learnt so much with your videos!

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

      I'm so glad! Thanks Nelly.

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

    Awesome Reza...there is always something new to learn from your videos and there is always a use case for me..really appreciate your work and dedication..

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

      Thank you for the awesome feedback.

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

    I am not a technology geek but you always amaze me with new things I learn from your videos. Thank you very much🙂

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

      So nice of you. Thank you for watching and liking my videos.

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

    Simply superb!!!! You are toooo great!!!. I got solution for my long pending issue. Thanks a lot!!!!!!!!!!!!

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

      You are most welcome.

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

    Excellent Reza! You nail it every time, sir!

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

    this one is good, i was about to write an azure function, thanks!!

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

      Most welcome! Expressions and data operations are powerful.

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

    Great video, very helpful!! Really appreciated!

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

    Awesome video. Thank you for your hardwork, Reza. It really help me!! 👍👏

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

      Glad it was helpful!

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

    Day by day i involved in your videos such that I can't express my feelings in words
    You are too good to explain and cover each and every aspect beautifully ❣️❣️❣️

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      Thank You so much

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

      Sir whole day I am watching your videos...even my friends who got selected in MNCS are doing there job after watching your videos for a particular scenario

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      @@tausifshaikh312 Thanks so much. No wonder my views are growing 😉

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

    This is very informative and amazing video. Thanks Reza brother. You solved many of our work related peoblems. Wish you good luck for keep continue to spread your knowledge.

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

      Thank you so much for your kind words.

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

    Thank you for very useful information!

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

    Thanks Reza for this . You are a star. This will also work on powerbi click flow for making the email id unique there

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

      Thanks!
      Technique should work in any scenario.

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

      Yes he is!!

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

    Super video, thank you! Good cases and clear explanations.

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      Most welcome

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

    Thanks Raza.... Today this video have saved me a lot of time of having to brainstorm over dynamic filtering of data source. Thanks once again for your kind efforts.

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

      Great to hear! Thanks for watching the video.

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

    Fantastic. Thanks for the video

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

    Thank You Reza! Top! :)

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

    Thanks You Reza

  • @philglew-deval
    @philglew-deval 2 ปีที่แล้ว +1

    Great video, thank you.

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

    Awesome like before... Thanks Dear Reza..💓

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

    Thanks Reza! I also noticed there are some quick ways to filter to only the values with duplicates using some of the newer expressions.
    In the Filter array action you can put…
    nthIndexOf(string(Select), string(item()), 2) is greater than -1
    And that should return only the items with exact duplicates in the JSON array!

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

      Interesting 🤔
      Thank You for sharing this.

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

      @@RezaDorrani Edit: I typed out the expression wrong, it’s actually…
      nthIndexOf(string(Select), string(item()), 2) is greater than -1
      I just tested it and it’s working well

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

    Thank you!

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

    many thanks Reza

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

    very useful video, thank you

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

      Glad it was helpful!

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

    Thanks!

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

    Thanks helpful

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

    Thank you Reza! I have a similar but slightly different scenario. Maybe this will give you an idea for another of your excellent videos. I need to get unique rows from SharePoint List in flow; however, I need to utilize a people picker column which potentially contains more than one person. My scenario is a jobs list with one or more person assigned to a given job. I'd like to remind them of any "Scheduled" or "In Progress" jobs that they are assigned to on a daily basis.

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

      Interesting scenario indeed!
      I make videos when I get multiple requests on a particular topic.
      Every quarter I ask subscribers for topic suggestions on the Community Tab of my TH-cam channel.
      Subscribers vote for topics and the highest voted topics get added to my backlog.
      Make sure you post this in the next topic suggestion post. If it gets a lot of votes, I will add it to my backlog.

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

      @@RezaDorrani Thank you. I will absolutely do that. Thank you for what you do!

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

      I am facing a similar scenario @cwjr1968 Did you manage to find a good solution? In my scenario, I have a SharePoint list with a Person-type column which allows multiple selections. My idea is to get all the items in SharePoint that meet a certain condition (for instance, created in a certain range period) and send them a unique e-mail. My first approach was to create an array of all user's email and then, with the union function get the unique values. However, I am struggling with this step. Thanks for your tips and thanks @Rezadorrani for your superb content! 🥇

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

      @@mrnock2
      I found the solution here: th-cam.com/video/fjYNT0EgzAU/w-d-xo.html.
      This gentleman has another video that he refers to in the intro. If this video doesn’t answer all of your questions, try that one.

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

    Amazing

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

    awesome video indeed, useful scenario, explanation clear as water. much appreciate your effort, I noticed first video with excel scenario the “date was in number format! how did you convert it to date format?

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

      Thank you so much.
      Great catch! In the flow, when getting data from excel using List rows present in a table action, under advanced properties, there is a property to select the datetime format :)

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

    Thank you Reza, finally I got what I was searching for a month. As I am a beginner I was experimenting multiple things to get this flow but still I was stuck. Once again thank you so much.
    One query if the excel or SharePoint has a column which is multiline, will it apear on table of the email as it is or do we need to convert to text.
    I tried with multiline it gives me HTML text on body of the email which has table .

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

      Thanks.
      Maybe your column has rich text enabled. That could cause the table structure to break.
      I will recommend checking on the forums at powerusers.microsoft.com in case someone has a workaround to handle the html multi line text scenario.

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

    Thanks Reza, brilliant way to reach out to people. One quick thing, How can I do it when I need another Column as my unique column and then finally grab the correct Email address from that same row into the Send an email action? Thanks and good to have you here.

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your query with screenshots on the forums at powerusers.microsoft.com

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

    Great

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

    Hello Reza, new subscriber here. Thank you so much for this tutorial. I was able to use this and was successfully able to run the flow.
    Is there a tutorial that you can make to also attach attachments? Save invoice for each order? Such as each person can get attachments based on order. Looking forward to hearing from you soon

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

      Thanks Karan.
      Every quarter I ask subscribers for topic suggestions on Community Tab of my channel. Most voted ideas get added to my backlog. Make sure to post this in next topic suggestion post, I will consider it if it gets max votes

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

    Thank You Reza, for all that you are doing.
    And, I also have a question what if I have a two rows of email address with not unique emails, how do I send emails one as 'To' & other one as 'CC'.

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

      To and cc case for not unique emails would need to have the flow logic updated.
      I do not have a video on it though & would have to try it out to provide guidance.
      I would recommend posting your query on the forums at powerusers.microsoft.com

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

    Thanks for this informative video.
    I have the below query based on the same topics.
    I need to lookup/filter 2 values from my get items like code & entry date. Based on this, I need to sum actual sales & create items in lists.
    I will be grateful if you guide me as currently I'm getting summation of sales based on either code or entry date.
    Thanking you in advance.😊

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

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

    Got it working 'sort of' Reza. Thanks for this video. It spits out the data but Power Automate is only returning 21 of 55 expected unique items in the list. As per your advisal, I've added it to the Power Automate community named: Less Than Half of Distinct/Unique Values Returned From List by Power Automate Flow.
    Not sure if there's a bug or limitation of the platform.

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

      Not sure if there is any limitation for 21. Might be something to do with item count.

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

      @@RezaDorrani Hmmmm. I wouldn't be surprised. I constantly find these 'caveats' with MSFT stuff.
      My flow for the flat file version spits out all records.
      I think they haven't completed the creation of this capability.

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

      @@RezaDorrani It was pagination in Get Items settings. Set to 500 it now works great. Thanks again for your awesome, invaluable videos!!

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

    Thanks Reza!
    I’m trying to build off of what you showcased here and am running into some difficulty. I have two Sharepoint lists with similar columns (“project name” and “dates”). I’m running get items with no odata, then selecting the “project name” from both and performing the union. This results in unique project names from both lists, but I need to then get the lowest date for that unique project group and that’s where the trouble begins. Ultimately, I’m looking to have an update item which finds the project name and writes the lowest date of that project name into a different column in either of the SharePoint lists.
    Any help would be greatly appreciated!

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

      I would have to recreate your scenario to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza, thanks for your continuous commitment to sharing knowledge. You are incredible!
    I have a video suggestion - something I can't find an online solution to: Importing data from Excel using a Power Automate flow - to Dataverse. Writing to the lookup columns and perhaps other harder data types. Would be great to see your workflow on the subject! Thanks!

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

      Will add it to my backlog but this is the first request on this topic. I will need a lot more requests on this topic to give this a higher priority.

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

      @@RezaDorrani I am sure you are a busy man. Take your time, I much appreciate every one of your videos! I will be waiting patiently :)

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

      @@AKP_TECH I have a long backlog of video topics that are heavily requested.
      I would need a lot more requests on this topic to start moving it up my backlog.

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

      @@RezaDorrani Did you make any tutorial on this? I have this issue and can't find useful or working solution. If someone has some good tips on how to do this it would be great.
      Thanks

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

      @@xBiiaBianca I have not as I have not got more that 1-2 requests on this topic. I recommend posting your query/issue on forums at powerusers.microsoft.com

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

    Hey Reza, thank you for teaching us new things. Quick question, is there a way to center a powerapp form that is always locked on the right side of the screen?

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

      You would need to work with responsive containers. I have never run into a scenario of center aligning a power apps form. I will also recommend you check on the forums at powerusers.microsoft.com/ in case someone has done that.

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

      @@RezaDorrani thank you!

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

    Hi Reza, thank you for sharing your knowledge so generously. If the 'assigned to' field is multi-select, would the flows demonstrated still work or is there additional work that needs to be done?

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

      If Assigned To field is multi select then the code logic would be different.

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

      @@RezaDorrani do you cover that logic in another of your videos?

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

      @@danielrumbak2530 I have not.

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

      @@RezaDorrani thank you Sir! This video truly was a boon!

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

    Thanks Reza

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

    Thank you so much for your video.
    Can you please guide me how I can CC the people manager of the ussr receiving the email?

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

      I dont know what "people manager of the ussr " means :)
      You have option to cc in email.

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

    Thanks for the video Raza. Is there a way to sort array based on any one column value?

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

      When querying the data source, there is an option to specify Order By.
      Once you get the data in the order, it should work.

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

    First of all, amazing video Reza. Thank you so much. I do have a questions, however, why does my flow keeps sending me emails? I essentially copied the flow in the video. Any idea why this could happen?

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

      I would have to look at your flow in action to know why. I would recommend posting your issue with screenshots on forums at powerusers.microsoft.com

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

    Hi Reza, Thank you for sharing video I have learnt a lot from your videos.
    I have one doubt if you help on that it would be grateful l,
    I am looking for to check datatype like we have isnumber() in Power app do we any in azure power automate or logic app?
    Thanks
    Bala Krishna

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

      Thanks for watching.
      IsNumber - powerusers.microsoft.com/t5/Building-Flows/How-to-know-if-an-variable-is-numeric/td-p/565181

  • @ramolestoreinc.8175
    @ramolestoreinc.8175 2 ปีที่แล้ว +1

    Thank you so much as always, I have one issue on overdue reminder SharePoint list, as I don't have Assign To but I have set up as created email but I get email doubles like each record one email doubles duplicates, what is your advice please

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

      I will have to look at your flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Thanks Reza. How to prevent duplicate values to insert in SharePoint/Exce. Pl make power automate flow which trigger at the time of insert on multiple files.

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

      This video shows how to check for unique values.
      I do not have a video for your other requests. I will add it to my backlog but this is the first request on this topic. I will need a lot more requests on this topic to give this a higher priority.

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

    Hi Reza, a great video as usual. One question : What if one of my SharePoint column is of type choice with multiple selection allowed. how can we have both the unique user and all choices in one html table?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Great video Reaza. Question what about a use where you want to also include the attachments attached by the user like in your service desk ticket in SharePoint?

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

      You can get the attachments from the list item - similar to th-cam.com/video/ShNhn-jSBC0/w-d-xo.html and then add it to email.
      Technique to attach in email is a little different to the one showcased in the video linked.

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

      @@RezaDorrani are you able to show us the technique?

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

      @@KaranThukral15 I will have to try it out to show it & will need to create a video to demonstrate. I have many other video ideas Im working on.

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

      @@RezaDorrani I got it figured out! but it runs very slow. I have over 300 sharepoint files that I want to send to 30 different vendors.
      So when I run the flow for one vendor only, it still searches for attachments in all the 300 sharepoint files, which makes it really slow. Any advice?

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

      @@KaranThukral15 No idea until I try it out myself. I would recommend posting your query on forums at powerusers.microsoft.com

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

    Hi Reza very nice video. I have a scenario in which I have to send To and CC two different individuals using dynamic control. For each loop is not working can you suggest any video you might have prepared to cover this scenario....Many Thanks in advance

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

      I do not have a video reference on your scenario. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

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

    Thanks for another great video Reza. This is really close to the solution I'm looking for but instead of sending an email as in your Task Due example I want to update a SharePoint list. For example, project 123 has 2 over due actions and project 456 had 1 over due actions. How do I update an over due actions column in my SharePoint with these counts?

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

      Simply run the expression length to count how many items and then use update item action.
      I do not have a specific video on it and hence can only give ideas.

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

    Hi Reza, amazing video as usual. Question, what if there are multiple excel tables that needs to be used to different users? example: table1,table2,table 3 row 1 will be send to person 1
    table1, table2, table3 row 2 will be sent to person 2

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

      Possible, but I do not have a video reference on this scenario. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani thanks reza

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

    Hello Reza, your content has helped me and my team a lot. Thanks a lot!
    I have two questions:
    1. Does it have a limit for rows? We run it today in a report with more than 600 rows but it just recognized 256 :(
    2. After I get all the unique emails, how can I send just one email for all the unique emails? Not sure if I was clear.. haha
    Thank you!

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

      1 - learn.microsoft.com/en-us/connectors/excelonlinebusiness/#list-rows-present-in-a-table
      powerusers.microsoft.com/t5/Using-Connectors/Excel-Business-List-rows-present-in-a-table-256-row-limit-any/td-p/116355#:~:text=The%20action%20%22List%20rows%20present,limit%20in%20microsoft%20flow%20currently.
      2 - Video itself shows that

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

    Hi Reza, Create custom connectors in powerautome and try to set field values in powerapps with sample data.

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

      Will add it to my backlog but this is the first request on this topic. I will need a lot more requests on this topic to give this a higher priority.

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

    Thanks Reza! Your presentation was very helpful clearly identifying the actions and results. Like others I am using this as a basis for my own information. Do you have any links to similar processes that would deal with record counts. In my scenario, I want to send an email to a supervisor identifying the number of assessments completed by their employees. So far I have my Flow identifying employee records per supervisor; however, I really want to count the number of records and not list each one.
    Any help would very much be appreciated.
    Supervisor A Assessments Completed
    Employee 1 3
    Employee 2 1

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

      I have not done videos with record counts. It is in my backlog of items.

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

    Great video, will this work without running the Odata query. I have an excel export, that consists of every Project managers and their Projects worked and I need to and send them a unique summary to their inbox. Excited to try this evening.

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

      Yes, it should. OData is just to filter the result set.

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

      @@RezaDorrani This worked, and i've just saved my Finance team a heap load of time, their previous method was extremely mundane, now totally automated!

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

      @@Billbear24 Great to hear that!

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

    Thanks Reza, Nice Video. I'm getting Error in Apply to Each BCoz I'm havin one Null value in sharepoint column... thats where flow failed. Can you tell me how to Skip that Null value and make flow successful.

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

      You would need to use expressions to do that. I cannot show that here on chat.
      I will have to look at your flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Reza, thank s for these explanations and this case scenarios used every day . Can you tell how can i add in email that is sent to users, also the unique Name of the user : For example : Dear ....., bellow is the report. Thank you!

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

      Send an email action has the email id of that user since we are sending email to user.
      Simply use that email id to query office 365 users and get the name.

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

      @@RezaDorrani Thanks for the idea!👏

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

    Hi Reza, this video is awesome. I need your help on a scenario I am facing. I need to read each row from an excel table (first excel) and need to read and get data from second excel using a column as key value from first excel. Application ID is the common column is both excels but in the second excel file the application id has some extra spaces. Hence it is throwing error. I tried to use trim function in key column in Get Row excel option but that is not editable. My key value from first excel is already trimmed with spaces. Only the key column in second excel table has spaces. Is there a way to use function expressions in the key column to get the matching rows.

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

      I would have to recreate your scenario to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    @Reza Dorrani, awesome video but please help! What is the length formula you used to get the count of items, per user/owner/staff member?

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

      length is an expression function.
      You run it on arrays of data to get the number of items.

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

      @@RezaDorrani Yes but I mean the specific one which you used to get only the total related to each person (in this video you used in the Teams notification at the end). I can get the total overall, from the Get Items action, like: length(outputs('Get_items_CURRENT')?['body/value']) but how do I get the totals only for each person being emailed/notified in the Apply-to-each loop? when I use that length formula it only gives me the overall total of the Get Items filter action. I have everything else working great, but that.
      Thank you for your time & efforts! Your concise, logical & choice selection of instructional video projects are first class!

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

      I think I figured it out.. I took: length(body('Filter_array')) and that seems to have done the trick. would that be correct?

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

      @@austennis6759 Sounds correct.

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

    This is a very useful video. Any ideas why one's HTML table might be blank? My starting point is dynamic Power BI data.

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

      Your data set being passed to the HTML table action might be empty. I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani Do you tutor or offer consulting services? I'd like to find some personalized help for this project that I need to turn around relatively quickly.
      I was able to fix the HTML table by passing Power BI data to it, but the Flow created another Apply to each step and now it's sending multiple e-mails, which was the issue that led me to search for videos like yours.

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

      @@bc67 Currently, I do not provide consulting.

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

      @@RezaDorrani I was able to figure it out, and thanks a lot for this content. It's been extremely helpful. Once I brought the Filter Array actions within the same Apply to each action that contains the send an e-mail action, duplicate e-mails for the same entity disappeared. I had to figure out how to make the filters the parents of the e-mail action. It still produces multiple e-mails when multiple entities are selected, but I don't have a need to solve that (yet).

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

      @@bc67 great 👍

  • @01marcosnunes
    @01marcosnunes 3 หลายเดือนก่อน

    Thanks Reza! How can format the link for put in html table? My case I'm use the sharepoint list.

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      Ive done other videos or formatting with html table. Il recommend checking those.

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

    10:20. I'm confused, do we keep "Current Item" or use the expression? Did you just add 'Current Item' as a placeholder till you got the expression text? What did you mean "if you need that expression here" instead of current item?

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

      You would need to remove current item and use the expression shown.

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

    Hi Reza , thanks for the video - is it possible to add the Sender name in the body of the email , example - Hi Raza ,

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

      Sender name will be the email from address.

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

    Excellent videos. But html in Outlook is very limited. A lot of styles cannot be recognized… have u ever encountered any problems?

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

      Flow Outlook HTML supports some basic formatting options.

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

    Hi Reza, I need your one help. how to compare two sharepoints list and get common value from that two sharepoint lists?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hey, Reza. Good day, I need to set default values for a particular field from the get values array, for example in Initialize variable Cars, I need to get only BMW, not their brands, and I need to store only BMW in the variable. is that possible? if possible may I know the expression formate

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

      I do not have a specific video on it but with expressions - th-cam.com/video/O97IdCbfMQI/w-d-xo.html and data operations - th-cam.com/video/qxFx0hqJxj4/w-d-xo.html you should be able to achieve it.

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

    Hi Reza, do you do anything regarding powerBi ?

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

      I mostly cover integration use cases with Power BI. Check my playlist here - th-cam.com/play/PLTyFh-qDKAiEUf5st2WhUzgoDRF-1hET0.html

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

    I am still a beginner in Power platform and I have recently come across a problem. I will try to explain it in detail. I have created an application named overtime request and the thing I still couldn't find a solution for is related to those who want to send a request. Indeed, I found a static solution using the trigger get items. I want the flow to be dynamic when managers receive emails from their team members about the number of hours worked during the current month and year. Any hints for solving the problem ? Thanks in advance :)

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

      I do not have a video reference on this scenario. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza wonderful video Nd great explanation. I have quick question. Do you have any idea to bring period content alone from documents library path? By using this expression? Kindly help me....
    All.period content like P01, P02, P03, P12...

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

      I have no idea & would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani sir my folder is same structure and I looking in Middle or from left to right side in 25 characters to 27 characters alone. Is this any possible sir

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

      @@gunasekaran4288 I'm not sure. Check on the forums.

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

    Hi Reza. At 11:50 adding an HTML table, I want to add two tables, one being the header value to show up on top of the detail table. The detail table is easy to understand but I've tried everything I can think of to get the Apply to Each value into the table. Current item fails, BUT it does show the correct value, it's just that Power Automate doesn't want me to obtain that value. It keeps want an array.
    I spent three hours testing and testing different expressions, different outputs and nada. I put the question on Power Automate forum titled "Creating a Header Table for Data Table" but no response, lots of views though.
    Thanks

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

      Honestly until I try this use case out, Im not sure what the steps are to achieve this.
      I have many other video ideas Im working on and do not have the bandwidth to test this out.

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

      @@RezaDorrani Ok tx.

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

    What would happens if there are no due tasks in the list? Would the flow still run and send blank email or it would check for due tasks if there are any and terminate?

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

      If not tasks due, then no email would go out as the loop runs on overdue tasks only.
      So the flow would run and then terminate.

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

    Hi Mr. Reza Dorrani, currently I am having a problem suppose I have 2 Custom list in SharePoint the 2nd list is linked with First list with Many:1 relationship, now I want to save whole data in two different worksheet in excel how I can do this using Power Automate? Please help if you have any suggestion on it.. Love from India

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

      You can create 2 tables in excel.
      Add the main list data to Table 1 and the supporting data to Table 2.
      I do not have a specific video on this.
      Give it a try and if you run into any issues try posting your issue with screenshots on the forums at powerusers.microsoft.com/
      I do have a video on excel export that I am planning, but that would be a beginners tutorial.

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

    Reza, can I remove objects from the array that, say, have repeated mail and return a new array of objects with a unique mail?

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

      I believe so. Union function may help. May be I covered union in my expressions video.
      th-cam.com/video/O97IdCbfMQI/w-d-xo.html

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

    Hi Reza, I can able to get the output using send an email, But i try to use send an email with options mail send only one person,not send from 2nd person, Kindly advise, Your response much appreciated.Thanks

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

      That is because send an email with options will pause the flow until the user responds.
      This concept will not work with that option.

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

    Hi Reza, is that possible to get one of field max value in filter array ?

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

      Filter array is for filtering. To get max value, you need to sort the data. Ideally, when you query your data source, you should initiate the sort function there.

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

      @@RezaDorrani yeah I should sort from the get items ☺️☺️. Thank you Reza

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

    Hi Reza, Thanks for your video, it is really helpful. I have a question, my data has 5 rows but only 2 unique email addresses, when i run the flow, it sends to each email addresses 5 emails with the same content. I am not sure what i did wrong, can you please help. Thanks

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

      I will have to look at your flow in action to provide any guidance. I will recommend you post your issue with screenshots on the forums at powerusers.microsoft.com

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

      Hi Reza, I think I have figured out where I did wrong, already fixed the issue. Thanks for your support. :)

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

      @@mianguyen2764 Great 👍

  • @cesarsaavedra8520
    @cesarsaavedra8520 3 หลายเดือนก่อน

    The union function also work to array attachments?

    • @RezaDorrani
      @RezaDorrani  3 หลายเดือนก่อน

      Not sure. Have not tried that scenario

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

    Hi Reza, Need a little help, I am doing a Power automate Flow that goes out to a couple of people in sequence, for review. Along the way, I need to get inputs like date and their decision as to Extend or otherwise, for certain people in the chain. Please help Reza.

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

      With flow approvals, there is currently no option to customize the approval forms to take user inputs.
      You can look at Adaptive Cards to gather user data.

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

    Hi reza. I have a question regarding your video. I try out as per in your video. But if there are 3 recipient, the flow will send separate email to the 3 recepient instead of send in one email. May i know why?

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

      Because that's what the flow I built is about. Sending each recipient an email with their data.
      For your use case, the flow structure would be different.
      I have seen a lot of scenarios around your use case on the forums.
      I would recommend you check on the forums at powerusers.microsoft.com/

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

    HI Reza, I would like find out... My Question is 'How to send an email to any users/email ID which are there in the share point drop down list(list are the email iDs). ACTION... In the Share point, When i select any user from that dropdown list it should send a email to that specific user whom i have chosen in the list, may be using Power Automate.

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

      In flow, get item from SharePoint, pick column from dynamic content which has the user email and use it to send email.