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 / Date in Lookup Column ...
Power Apps
Unanswered

Date in Lookup Column not appearing

(0) ShareShare
ReportReport
Posted on by 17

Hi All,

 

I am creating a form where the user will select the dates from a lookup column. I only need the user to see items that have been created on the same day.

 

I have this formula another user helped me create, but although there are no errors, the drop down does not display ANY choices.

 

This is the formula I'm using:

 

 

 

 

 ForAll(Choices([@'CCP 3 Direct Observation Verification'].'CCP3#DateChecked'),
 Text(DateValue(Value)) in Filter(
 'Form 117 CCP # 3 Carcass Zero Tolerance Check',
 Created >= Today()
 ).Created)

 

 

 

 

 

Here is proof that it works properly:

When I however on 'Created' I see the option appear from today.

 

EmS23_0-1658415971010.png

 

When I however outside all of the parenthesis, all of the values appear as false, even the value that should return as true.

 

EmS23_1-1658416052527.png

 

Is there anything I can do to improve my formula?

 

If you know of a way to simply sort these dates in descending order, that works too!

 

Edit: I have found a solution to the second question, a way to sort the dates in descending order. 

 

Sort(Choices([@'CCP 3 Direct Observation Verification'].'CCP3#DateChecked'), Value, Descending)
Categories:
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @EmS23 ,

     

    Could you please once check the filter date result you got is an exact match in backend ? This value should be exactly match than only you will get true instead of false. 

     

     

     

  • EmS23 Profile Picture
    17 on at

    Hi @PriyankaGeethik ,

     

    Yes, this only value is the correct value, but it appears as false. So I'm thinking one of my tests must be incorrect in the ForAll formula I'm using. 

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    @EmS23 

     

    Try without converting the date value in text.

     ForAll(Choices([@'CCP 3 Direct Observation Verification'].'CCP3#DateChecked'),
     Value in Filter(
     'Form 117 CCP # 3 Carcass Zero Tolerance Check',
     Created >= Today()
     ).Created)

     

     

  • EmS23 Profile Picture
    17 on at

    I gave it a shot, still appearing as blanks.

     

    BTW, thank you for looking into this!

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @EmS23 ,

    Just to debug do you mind adding below code into any temporary gallery to see the values ?

     

    Choices([@'CCP 3 Direct Observation Verification'].'CCP3#DateChecked').Value

     

     

     

  • EmS23 Profile Picture
    17 on at

    Alright, I've tried it and these are the results:

     

    EmS23_0-1658419121676.png

    41 values as expected.

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    @EmS23 

     

    As you can see the date format in both the case are different the filtered value is in mm/dd/yyyy hh:mm:ss AM/PM (12hr) and the gallery format is mm/dd/yyyy hh:mm:ss (24 hr). If you make the format same you will value in the dropdown. 

     

     

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
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard