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

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

Reza Dorrani

3 года назад

92,159 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Itsprincessa01
@Itsprincessa01 - 03.08.2021 19:01

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

Ответить
@lumo5246
@lumo5246 - 16.10.2024 22:34

Great video, thank you! How would you automate this flow to be sent on a monthly basis, instead of having the user to manually trigger it? So send these emails automatically and still have the initial regions being filtered.

Ответить
@yashwanthi9645
@yashwanthi9645 - 25.09.2024 22:50

Thanks Reza! for sharing this solution. How can I send approve/reject response inaddition to sending the mail to respective people. I checked with send an email with options but the flow is not triggered simultaneously to all multiple users. It triggers only after the first person respond. Could you please provide the solution

Ответить
@falgunikhandelwal9910
@falgunikhandelwal9910 - 21.09.2024 11:28

Thankyou so much Reza !

Ответить
@mgtd1138
@mgtd1138 - 04.09.2024 17:43

Hi, great video. Attempting to extract a value based on an ID value. If I'm trying to pull the "Current State" only for ID 123, what's the best practice?

{
"ID": 123,
"Current State": "The state is really bad.",
}

Ответить
@nomirehman
@nomirehman - 24.08.2024 17:11

Very informative, it helped me understand basic concepts.

I am attempting a flow where i have
Employee first name last name , email and 12 columns (jan to Dec) containing status “Due” or “Received”

I am attempting that a consolidated email reminder should go to employee and email should contain html table data from Jan to Dec columns where his status is due

How i can filter desired results from multiple columns?

Ответить
@swethabingi3834
@swethabingi3834 - 23.08.2024 20:39

Thanks Reza! Definitely helpful, sepcially for new bie's like me. Before sending out to actual users in the email ID's I want to send the emails to myself and see the data is passing to the right email address. Can you please show how I can add the individual email ID to my subject line / body of the email for testing purposes.

Ответить
@arunv1909
@arunv1909 - 23.05.2024 11:24

Great

Ответить
@vkrish79
@vkrish79 - 02.05.2024 20:15

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

Ответить
@CédricCHEVALIER-y1d
@CédricCHEVALIER-y1d - 13.03.2024 19:10

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

Ответить
@stenjohannesson
@stenjohannesson - 13.03.2024 18:27

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

Ответить
@tausifshaikh312
@tausifshaikh312 - 13.03.2024 17:34

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 ❣️❣️❣️

Ответить
@jasonw2128
@jasonw2128 - 02.03.2024 22:20

How would one include a rep name in the email

Ответить
@cesarsaavedra8520
@cesarsaavedra8520 - 02.03.2024 21:38

The union function also work to array attachments?

Ответить
@01marcosnunes
@01marcosnunes - 29.02.2024 00:13

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

Ответить
@claires9018
@claires9018 - 26.02.2024 17:34

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?

Ответить
@chanpreetkaur4064
@chanpreetkaur4064 - 29.01.2024 20:02

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?

Ответить
@sherinnedeFanti
@sherinnedeFanti - 09.01.2024 05:04

I have been watching your videos over the last few months and your content has been so useful in helping me create an App for my business. I recently subscribed as a paid member earlier this month in my personal capacity as I am keen to progress my knowledge in this space and learn as much as I can and I was wondering if you could help me though with a flow I am trying to compose for my app. I have tried watching a few videos and posting on the community page, but so far, I haven’t had any luck in getting it to work.

Context about our business:

• My app has been created to help facilitate sharing work across the Australia & New Zealand regions
• Our business is made up of 5 different business lines, and each business line has a list of disciplines.
• Each employee is assigned a discipline, and a team leader might have multiple different disciplines reporting to him/her.

The App
• If a Project manager requires a resource for a project, they would upload the specifics onto the App onto the Workshare Opportunities List (SharePoint list used to build the app), this also includes the business line as well as the discipline type

The flow:

• The flow would use the Workshare Opportunities List as well as an Excel list which has a list of all the line managers & the disciplines reporting into them
• What I would like to do is:
o create a report that runs every second day
o It should extract all the new roles that have been created in the Workshare Opportunities List within the last 48 hours
o Once it has found the new items I need it to filter the Excel list based on the Business Line & Discipline, this would then produce a list of matching emails
o From there I would like it to compile an HTML table and send out emails to each individual with the list of roles relevant to them


The trouble I have had so far is that the flow either sends out multiple emails with one role on each email or it sends out repeat emails / even roles that are not relevant ☹ I have tried a few iterations but I am still new to Automate and not sure what I am doing wrong. Hope you can help 😊

Ответить
@vanipatil9093
@vanipatil9093 - 08.12.2023 22:18

Hi @Reza, I'm getting 'The template language expression 'items('Apply_to_each')['Number'] cannot be evaluated because property 'body/value' doesn't exist, available properties are 'body'. How do i resolve this?

Ответить
@nishu13bnd
@nishu13bnd - 08.11.2023 16:53

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

Ответить
@olisaemekaaghabuilo8688
@olisaemekaaghabuilo8688 - 24.10.2023 04:43

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.

Ответить
@dharmeshposhtiwala
@dharmeshposhtiwala - 07.10.2023 09:57

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.😊

Ответить
@mmbcampus
@mmbcampus - 07.08.2023 00:16

Can i get the unique value from a HTML column in power automate?

Ответить
@TPMEngineer-m5s
@TPMEngineer-m5s - 06.08.2023 09:06

I try to create email with HTML table from my excel sheet data, but when i test the power automate, the table generated until 500 row with the same value, can you help me to solve this problem ?

Ответить
@ahmadcheikhaldeaa3435
@ahmadcheikhaldeaa3435 - 11.07.2023 00:29

Thanks Reza Just last step doesn't work as email value gave null value how can I fix this?

Ответить
@rhonny25
@rhonny25 - 07.07.2023 14:35

Hi Reza,
Need your help please. can you please advise how i can use distinct for below?
i have this table currently,

HU-01-2023-Insr ABCD
HU-01-2023-Insr ABCD
HU-01-2023-PAsr ABCD
WI-O1-2023-Insr ABCD
WI-O1-2023-OAsr ABCD
SC-09-2023-Insr ABCD
SC-09-2023-BAsr ABCD

I wanted to have as a result,
HU-01-2023 ABCD
WI-O1-2023 ABCD
SC-09-2023 ABCD

Looking forward to your help please

Ответить
@YaryRivera
@YaryRivera - 15.06.2023 21:34

I have 2 tables in Dataverse:

Events Table : with a unique "EventID" column and "MiscGrandTotal" column

Misc Table : (that uses the above "EventID" in the "RefEventID" column on multiple rows of misc items) and each row contains the UnitCost, Quantity, MiscTotal columns

I need to be able to add a row in the Misc Table, then filter all rows by that EventID, get the Sum of all the MiscTotal under that EventID and Update the result in the Events table in the MiscGrandTotal column which is a currency column

How can I do this in power automate?

Ответить
@ally1708
@ally1708 - 14.06.2023 02:17

many thanks Reza <3

Ответить
@PauloManinha
@PauloManinha - 28.05.2023 19:15

Hello! I've seeking for information to solve a problem I have with a flow, but I haven't found it yet....
My goal is to send credentials to the managers of several employees based on an excel table. The headers: Employee nr; Name; username; psw, ticket nr; credentials to.
I want an email to be sent for each ticket nr (can be several rows) to the email address in the Credentials TO column.
I can get the flow to filter the data by the ticket nr and it sends the correct number of emails within the apply to each action. My problem is in the TO field of the send an email action. If I choose the dynamic content to map the Credentials TO column of the excel table, the power automate creates a new apply to each.... What am I doing wrong? How can I make it work? Thanks.

Ответить
@AnthroSarkis
@AnthroSarkis - 02.05.2023 22:24

Thanks!

Ответить
@zerocool200380
@zerocool200380 - 21.04.2023 16:28

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?

Ответить
@8jaded8
@8jaded8 - 17.03.2023 23:03

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

Ответить
@ciprianpopovici7532
@ciprianpopovici7532 - 09.03.2023 17:24

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!

Ответить
@saraalves9359
@saraalves9359 - 04.03.2023 01:26

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!

Ответить
@DeepDeep-zd5jq
@DeepDeep-zd5jq - 13.02.2023 22:24

Hello Reza, I am sending an email to multiple recipients but in my scenario I am retrieving records and for each record i have to send email with some dynamic recipients I am using send email template action of dataverse but in my array list previous records data also appending even after sending email I am setting array as null each time please help me.. thanks

Ответить
@leoszavrel9272
@leoszavrel9272 - 10.01.2023 18:33

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

Ответить
@prasenjitmandal5486
@prasenjitmandal5486 - 08.01.2023 13:40

Amazing

Ответить
@ganeshagv9269
@ganeshagv9269 - 05.01.2023 19:33

Hello Reza, could you please help me to get the folder name in power automate flow? where my folder names are dynamic, i.e. new folder will be created on daily basis where date is the folder name (i.e. January 5), and have to move the files to the newly created folder on a daily basis.

Ответить
@KaranThukral15
@KaranThukral15 - 20.12.2022 09:34

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

Ответить
@thoughtfortheday1508
@thoughtfortheday1508 - 16.12.2022 23:47

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

Ответить
@wouldyoudomeakindnes
@wouldyoudomeakindnes - 13.12.2022 00:11

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

Ответить
@liko8019
@liko8019 - 29.11.2022 12:44

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

Ответить
@liko8019
@liko8019 - 29.11.2022 12:29

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

Ответить
@craigycraigo3554
@craigycraigo3554 - 23.11.2022 20:45

Thanks Reza. Is it possible to add in the People Picker name of the person the email is being sent to in the Body of the Send an email? I’ve tried a couple of ways and haven’t found a solution.

Ответить
@carlw
@carlw - 19.11.2022 00:32

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.

Ответить
@carlw
@carlw - 17.11.2022 20:28

Pretty much have everything but, rather than using 'items('Apply_to_each')['TuneName']' to send email to, I'll be sending it manually from the trigger input. So I'd need all those small tables in one email, not separate emails. I can't seem to pull the Output from the Apply_to_each/Filter_array/Select_columns outside of 'Apply_to_each'.

Ответить
@cibisaransivaprakasam593
@cibisaransivaprakasam593 - 08.11.2022 16:18

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

Ответить