cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Jdscott
Level: Powered On

field value to text workaround?

I would like to display text in a form from a field in a linked datasource that is different than the datasource that is in the Data property of my form. The reason for this is that the form is used to enter inspection data into a database, while the best practices and corrective actions to be taken in the event of a citation are stored in another table.

 

Does anyone have a workaround for this type of situation?

 

I would like to reference the field in a label with something like this:

Filter(inspectionquestions, recordID = "1" ).fieldtoshow

However, the Text property of a label does not accept Table or Record values.

 

Really, what I need is a workaround for displaying a field as text instead of a record or table value.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: field value to text workaround?

You were real close. You need LookUp

 

Lookup(inspectionquestions, recordID = "1" ).fieldtoshow

 

That should work.

 

Filter returns tables, Lookup returns Records.

 

Cool? 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
2 REPLIES 2
Super User
Super User

Re: field value to text workaround?

You were real close. You need LookUp

 

Lookup(inspectionquestions, recordID = "1" ).fieldtoshow

 

That should work.

 

Filter returns tables, Lookup returns Records.

 

Cool? 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Jdscott
Level: Powered On

Re: field value to text workaround?

Very good!

 

thanks Shane.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 180 members 5,452 guests
Please welcome our newest community members: