cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jdscott
Helper II
Helper II

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
Shanescows
Super User
Super User

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
Shanescows
Super User
Super User

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

Very good!

 

thanks Shane.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,853)