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 Apps
Answered

date lookup issue

(0) ShareShare
ReportReport
Posted on by 78

hi , I'm having trouble again with a different formula now 

LookUp('week list','startdate (calc)'=DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday),Days),week)

 

I want to have it so it gets the week number ( which is listed in the column "week" in the SP list " Week List" 

the "start date (calc)" column does include the time as i read this can cause issues 

 

there are no errors ,it just simply provides no output

Categories:
I have the same question (0)
  • rebeccas Profile Picture
    2,591 on at

    Is your column 'startdate (calc)' an actually calculated column or a date/time column?

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @daniels471 

    If the column you are comparing has a time, then you will need to provide the exact match to the time as well.

    You current formula is focused on the date without time.

    If you want to compare equal types on both side of the equals, then consider this formula:

     

    LookUp(
     'week list',
     Text('startdate (calc)', ShortDate) = Text(DateAdd(Today(),1-Weekday(Today(),StartOfWeek.Monday),Days), ShortDate),
     week
    )

    This will convert both sides to a shortdate text format and then they will compare properly.

    Note: this is not a delegable operation and will produce a warning as such.  If record limits are not a concern, you can ignore it.

     

    I hope this is helpful for you.

  • daniels471 Profile Picture
    78 on at

    that worked , along with the fact that i actually had the wrong start date in my share point list so of course it never was going to match

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard