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 function not wo...
Power Apps
Unanswered

Lookup function not working

(0) ShareShare
ReportReport
Posted on by 4

Hello Community,

Recently I have made my first attempt in creating a powerapp.

Let me start by providing my environment.

I have created a sharepoint list that I want to use as a data resource for the app.
It is a list of leads. One of the columns is a date-time field (Volgend_Contact)

I have created an app with a calendar with the help of different resources and now I am struggling with the following :


I have an element that should become visible when the following formula is valid.

!IsBlank(LookUp('Buitendienst_automatic_Leads',_dateSelected=DateAdd(_firstDayInView,ThisItem.Value,TimeUnit.Days)).company_name)

The whole idea is that the element should show at the corresponding date when Volgend_Contact has a value and hide when this field is empty.

The element is not showing and I am not sure how to adjust the formula.

 

I hope you can make sense of the story above and point me in the right direction.

 

Thanks in advance, Randolph

 

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hallo @RandolphSP ,

     

    I think this is what you need:

    !IsBlank(
     LookUp(
     'Buitendienst_automatic_Leads',
     Volgend_Contact = DateAdd(
     _firstDayInView,
     ThisItem.Value
     )
     ).company_name
    )

    All I did was to replace _dateSelected with the name of the column you wish to filter by.

  • RandolphSP Profile Picture
    4 on at

    Hi @BCBuizer , thank you very much for your response. Unfortunately that did not make the item visible.

     

    Just for clarity I have attached some screenshots.  The first screenshot shows that there are three instances (dates) that should show the element.

    That gallery was just created for the purpose of finding out if I could find the entries. It will be taken out as soon as it works.

     

    What can I check to make this work?

     

    Thanks in advance

     

    calendar-with-additional gallery.jpg
    calendar with item.jpg
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @RandolphSP ,

     

    Can you please share the Items property of the temporary gallery you inserted so I can understand how your data source is structured.

  • RandolphSP Profile Picture
    4 on at

    items-temp-gallery.jpg

    Sure. here are the screenshots.

     

    Thanks in advance

    textlabel-temp-gallery.jpg
    items-temp-gallery.jpg

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard