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

View solution in original post

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

View solution in original post

Jdscott
Level: Powered On

Re: field value to text workaround?

Very good!

 

thanks Shane.

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,867)