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 syntax works bu...
Power Apps
Answered

Lookup syntax works but not displaying result

(0) ShareShare
ReportReport
Posted on by 18

I am trying to reference an ID from a combobox and the syntax is correct but nothing is displaying.

 

Syntax works well for all other fields from datasource except for TourTime.

 

for example: if i want to reference TourDate works well and displays - I've attached a picture (dont know how to add here)

                     Syntax: LookUp('[dbo].[tTour]',TourID=cboTourNum.Selected.TourID).TourDate

 

Problem: if i want to reference TourTime there are no syntax errors but doesnt display anything - I've attached a picture

               Syntax: LookUp('[dbo].[tTour]',TourID=cboTourNum.Selected.TourID).TourTime

               as you can see in the picture there is data in the field, and it is rexognized as a DateTime field with data

 

I've tried to wrap in text, and I successfully achieved that with TourDate because I only wanted to show the date not time from that record. My problem is that they are both DateTime types and both have data but for the TourTime it doesnt display anything at all.

 

Appreciate your time and effort in advance!

 

                      

 

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

    Is TourTime an actual different column for you datasource? 

     

    If it is not you will have to pull the time from the TourDate where it stored. 

     

  • Verified answer
    FiveStar Profile Picture
    18 on at

    Thank you rebeccas,

     

    Yes, they are two separate columns.

     

    I guess the syntax was correct, I kept bugging around with it for hours and gave up, logged off for some time but when I came back to it the label was working as expected.

     

    Thanks for your input though. 

     

    FYI - I replied to this late monday and I suppose I forgot to post or something, anyway thanks for hitting back.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard