web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 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

     

  • BCBuizer Profile Picture
    22,505 Super User 2025 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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard