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 / Checks Sharepoint list...
Power Apps
Answered

Checks Sharepoint list submission created by and date

(1) ShareShare
ReportReport
Posted on by 4
Hi,
I'm building an app that includes a checklist. I was to add whether or not the form has been submitted each day for the past 5 days using an icon. There will be multiple users so i've added in a check for whether a submission has been made by the current user for each specific date using the following code:
If(LookUp('FOH Opening Checklist','Created By'.Email=User().Email,Date = Today()-1),"Checkmark","Dismiss")
I only seem to get a false response no matter what. I've tried a few methods but can't make it work but it works for the current date which uses the following code:
If(LookUp('FOH Opening Checklist','Created By'.Email=User().Email,Date = Today()),"Checkmark","Dismiss")
I tried using DateAdd(Today(),-1) as well with the same result. Every time I use the Copilot explanation it indicates that the code is correct:
This expression checks if the current user's email matches the email of the creator in the 'FOH Opening Checklist' table for the previous day's date. If the condition is true, it displays a "Checkmark" icon; otherwise, it displays a "Dismiss" icon.
Any help would be appreciated.
Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at
    Hi JR,
     
    If you are using this expression to set the Icon property of an icon control, please try:
    If(
        IsBlank(
            LookUp(
                'FOH Opening Checklist',
                'Created By'.Email=User().Email && 
                Created >= Today() -1 &&
                Created < Today()
            )
        ),
        Icon.Cancel,
        Icon.Check
    )
     
    What this does is to check the Created column in the data source to make sure it is in between the start of yesterday and
    the start of today. 
     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard