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 compare two col...
Power Automate
Answered

How to compare two column and get there email id to send email to them

(0) ShareShare
ReportReport
Posted on by 42

My requirement is to Compare two columns and get their email address and send an email notification.

 

(Compare the PartnerByCustomer Column with partner names in the partner list, take the email id from there, and send a notification).

 

So here are the column names.

Screen Shot 2023-05-30 at 1.36.21 PM.png

so here is the partner list which is getting compared:

Screen Shot 2023-05-30 at 1.36.40 PM.png

 

plz help how to fill in get items function by using fillter query.

 

Categories:
I have the same question (0)
  • v-peijunz-msft Profile Picture
    Microsoft Employee on at

    Hi @Aswath1 

     

    Is your PartnerByCustomer in anther list instead of partner list?

    If so, you could use Get items for the list that contains PartnerByCustomer > add anther Get items for the partner list, write the formula in Filter Query:

    PartnerByCustomer eq 'DynamicContentofParnersName'

    Add a condition and let:

    length(outputs('Get_items_2')?['body/value'])

    is not equal to 0, if yes, send an email to the addresses stored in the Email column.

     

    If all the columns are in the same list, then use one Get items is enough, and write the formula in Filter Query:

    PartnerByCustomer eq 'DynamicContentofParnersName'

    Or use a Condition to let ParnerByCustomer equals to ParnersName.

     

    Best regards,

    Sylvia

     

  • Aswath1 Profile Picture
    42 on at

    Is your PartnerByCustomer in another list instead of a partner list?

    My PartnerByCustomer is in the sales pipeline list. not in the partner list

  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on at

    Hi @Aswath1 

     

    Thank you for letting me know! Then you could follow the first method I provided, which is:

    Use Get items for the list that contains PartnerByCustomer (here is sales pipeline list) > add anther Get items for the partner list, write the formula in Filter Query:

    PartnerByCustomer eq 'DynamicContentofParnersName'

    Add a condition and let:

    length(outputs('Get_items_2')?['body/value'])

    is not equal to 0, if yes, send an email to the addresses stored in the Email column.

    Here is a similar demo for your reference:

    Solved: Re: Compare value between 2 Sharepoint List and Up... - Power Platform Community (microsoft.com)

    Hope it helps.

     

    Best regards,

    Sylvia

  • Aswath1 Profile Picture
    42 on at

    thank you soo much 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard