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 Apps / Button/icon visibilty ...
Power Apps
Answered

Button/icon visibilty based on sharepoint list condition

(0) ShareShare
ReportReport
Posted on by 291

Hi,

 

I have built an app that is used to set tasks for our engineering department. The tasks are held in a SP list. Users navigate to their tasks via a button on the Homepage which takes them to a gallery where they can view and mark as complete tasks that are assigned to them.

 

I have made a red icon to appear in the corner of the Homepage button when the user signed in has one or more tasks to complete but I am unsure of the function and syntax to use in the Visible property of the red icon.

 

User is set OnStart of the app:

Set(
 UserEmailVar,
 User().Email)

And, the user's email is in the AssignedTo column of the SP list.

 

Basically I need to say "be visible if there are one or more items in the SP task list that have UserEmailVar in the AssignedTo list column".

 

Completed tasks are moved to a second SP list by Power Automate so I don't have to worry about completed tasks being picked up too.

 

Thanks,

Izzy.

Categories:
I have the same question (0)
  • Verified answer
    IzzyWizz Profile Picture
    291 on at

    So, as an update, I managed to work out what to do after watching one of Shane Young's excellent videos. The code is:

     

    If(!IsBlank(LookUp('Hygiene Fabrication Audits', AssignedTo=UserEmailVar).AssignedTo), true, false)

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard