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 / LookUp to check if Aud...
Power Apps
Answered

LookUp to check if Audit was done during the current week

(0) ShareShare
ReportReport
Posted on by 577 Super User 2024 Season 1

Hey All,

Creating a notification location in my App, I want to do a LookUp to see if the Team Leader has done an Audit during the week.

 

LookUp(command_SWC_db,AudMTID=varUsrSettings.MTID && AudDate = Today())

 

Where would I even start? I read some articles about using a collection but do I really need to go that far? Usually the best answer is a simple one.

 

Thank you everyone.

Categories:
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Can you try this?

     

    LookUp(command_SWC_db,AudMTID=varUsrSettings.MTID && (AudDate >=Today()-Weekday(Today())+2 && AudDate <=Today()+(8-Weekday(Today()))) )

     

     

  • KRider Profile Picture
    577 Super User 2024 Season 1 on at

    Hmm, Delegation warning. Wonder if I could create 2 variables

  • KRider Profile Picture
    577 Super User 2024 Season 1 on at

    This worked perfectly btw, I adjusted it to use variables I set at the OnStart property and it works like a charm. Thank you so much!

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Glad it worked

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 Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard