Announcements
Hi everyone,
Iām trying to collect records from my SharePoint list PREDBSRecords into a collection called colAllRecords, but my lookup column (FullName) isnāt displaying its text value properly.
Hereās my formula:
PowerApps shows an error under 'FullName.Value'. I want to extract and display the actual text value from the lookup column instead of the record.
'FullName.Value'
Could someone please help me fix this formula?
Thanks in advance! 🙏
Best Regards, Pankaj Jangid (OyePanky) Power Platform Developer YouTube: @Oyepanky
Collect( colAllRecords, AddColumns( ShowColumns( Filter( PREDBSRecords, Created >= Today() && Created < DateAdd(Today(), 1) ), FullName,OfficeLocation ), 'Name', FullName.Value, 'Staff', "PRE DBS", 'Persent', false ) );
Collect( colAllRecords, AddColumns( ShowColumns( Filter( PREDBSRecords, Created >= Today() && Created < DateAdd(Today(), 1) ), FullName,OfficeLocation )/*, 'Name', FullName.Value*/, 'Staff', "PRE DBS", 'Persent', false ) );
Youāll probably notice a nested column. When you select it in the data viewer, youāll see the actual values (SharePoint lookups usually return an ID and Title record). If you see the lookup column and the expected value is there, we can move forward with a few targeted tests.
Could you share the exact error message youāre getting? Thatāll help confirm whether itās a lookup-type issue or something else.
If this solved your problem, please mark it as Solved to help others find the solution faster. If you found it helpful, consider giving it a Like to support each other in this community!
Thanks, and happy building!
Donāt use ShowColumns() before AddColumns() ā apply it after youāve expanded the lookup :
ShowColumns()
AddColumns()
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 483
WarrenBelz 399 Most Valuable Professional
11manish 327