web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Check two different va...
Power Automate
Unanswered

Check two different value/text in columns of Sharepoint list and set button property based on it.

(0) ShareShare
ReportReport
Posted on by

Hello!

 

I would like to ask a solution for the following:

 

I have a sharepoint list where there is a column what is contains different e-mail addresses (Column A) and an another column (Column B) what is contains the status of the item("In progress").

 

I have a button what I would like to set visibile if the person's e-mail address who is entered in the app equal any e-mail address in Column A and the matched item's status is "In progress' in the Column B)

 

This is what I figured so far: In the begginning of the app I am loading into a global variable the following:

Set(
var_My,
Office365Users.MyProfileV2().mail <- With that I will know the person's email address who entered in the app. Now, I need to compare this received e-mail address with the mentioned column A's e-mail addresses AND the status and set visible property to TRUE for the relevant button 

 

Thank you in advance!

Categories:
I have the same question (0)
  • Verified answer
    mahoneypat Profile Picture
    1,720 on at

    One approach would be to create a collection when the app opens that gets the SharePoint list items created/modified by the current user.  You can then set your visible property based on if the count of that collection filtered with Status of "In Progress" is >0.  Or, depending on your use case, you could just have the initial collection filter on both user and status.

    Pat

    Pat

  • Community Power Platform Member Profile Picture
    on at

    Hello @mahoneypat !

     

    Thank you for your suggestion. I moved an another direction but your solution was also workable!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard