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

Lookup/Filter

(0) ShareShare
ReportReport
Posted on by 28

Hello - I am trying to return a date based on a data card value from a form viewer.

 

I have employee numbers listed in the data card value, I want to look up their number and have it return a date - 

 

Right now I have the formula as: 

 

Filter(FrontLine,PersonNumber = DataCardValue54,Slicer)

Filter(Source,Column = Data Card Returned from Form Viewer, Date column I want to Return)

 

Each of the sources/columns are appearing in the suggested items when I type them in. The "help on this error" message is saying that I need two of the same values. I tried to add "DateValue" to the begining of this but it did not help.

 

Categories:
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

     @mutatrt 

     

    Use lookup to get a specific item

    Lookup(FrontLine,PersonNumber = DataCardValue54.Text,Slicer)

     

    Note: Assuming PersonNumber is a text field

     

    Sample

    StalinPonnusamy_0-1628694522613.png

     

     

     

  • mutatrt Profile Picture
    28 on at

    @StalinPonnusamy 

     

    Thank you! I did try this but now the error is saying - "The property on this control expects Text values. The rule produces Table values which are incompatible"

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at
    • What is the field type for PersonNumber?
    • Can you highlight and see what value you are getting DataCardValue54.Text
  • mutatrt Profile Picture
    28 on at

    I got it now! The above soultion with .Text worked, thank you very much!

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard