cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Display current value of a lookup field in a label CDS

Hi

 

I have a custom lookup field in the CDS that's linked to the user entity. I'm using the field to record users assigned to a task, I'd like to display its current value in a label, could any one tell me if that is possible and the code needed? 

 

thanks in advance

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver I
Resolver I

Re: Display current value of a lookup field in a label CDS

Hi,

Use the formula LookUp(entity, condition).CustomLookup.'Full Name' to display the full name of custom lookup user column value. All the user properties are available, so you can display data according to your requirement.

If you are displaying the data in the gallery control then use the formula ThisItem.CustomLookup.'Full Name'

Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.


Thanks & Regards,

Devendra Singh

View solution in original post

1 REPLY 1
Highlighted
Resolver I
Resolver I

Re: Display current value of a lookup field in a label CDS

Hi,

Use the formula LookUp(entity, condition).CustomLookup.'Full Name' to display the full name of custom lookup user column value. All the user properties are available, so you can display data according to your requirement.

If you are displaying the data in the gallery control then use the formula ThisItem.CustomLookup.'Full Name'

Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.


Thanks & Regards,

Devendra Singh

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,028)