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 / If Function for multip...
Power Automate
Answered

If Function for multiple variables

(0) ShareShare
ReportReport
Posted on by 58

Hello,

 

On my SharePoint List I have a Yes/No column with 10 entries. 

 

How can do a Power Automate Flow that does a condition that if any of the entries is yes, it will send an email. 

Categories:
  • v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @annoying 

     

    Thank you for posting.

     

    According to your description, you would like to send email as long as one Yes/No column is equal to Yes.

     

    Please help to check is that what you want as below:

     

    I create 5 Yes/No columns in my list, you can create 10. The steps are similar.

    v-duann-msft_0-1621576516516.png

     

    Flow overview:

    if(contains(variables('response'),'True'),'yes','no')

    v-duann-msft_1-1621576516522.png

     

    If any entity equals to Ture, it returns yes.

    v-duann-msft_2-1621576516527.png

     

    If you have any further request, please feel free to reply me.

     

    Hope the content above may help you.

     

    Best regards,

    Anna

  • annoying Profile Picture
    58 on at

    Hello @v-duann-msft !

     

    What I mean was that for a column, any of it is Yes (as seen in the picture, the Jan column). Does it work the same?

    annoying_0-1621583281511.png

     

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

    Hi @annoying 

     

    Thank you for your further information.

     

    Yes, that's similar. Here you are:

     

    List:

    v-duann-msft_0-1621583921256.png

     

    Flow :

    if(contains(variables('Choices'),'Yes'),'Yes','No')

    v-duann-msft_1-1621583962852.png

     

    After testing:

    v-duann-msft_2-1621584048775.png

     

    Hope it helps.

     

    Best regards,

    Anna

     

  • annoying Profile Picture
    58 on at

    Hello @v-duann-msft 

     

    Thank you! It works

  • v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @annoying 

     

    HAHAHAHAH....I just start to check your details but you already make it works. 

     

    Anyway, thank you for all your time and patience. 😀

     

    Have a nice day!

     

    Best regards,

    Anna

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard