web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to extract value o...
Power Apps
Answered

How to extract value of Sharepoint list from lookup field after ClearCollect

(1) ShareShare
ReportReport
Posted on by 8
Hi, I have 2 tables: testList and testLocation. In testList there is lookUp field that refers to testLocation.
I want to Collect some data from testList, but all fields that are a lookUp fields are returned as subtables.
I tried to Ungroup these, but it changes nothing. Perhaps because it is not groupped by groupBy.
How can I extract those values, so these are all accessible to me?
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,413 Most Valuable Professional on at
    "Secondary" fields in Lookup columns are not compatible with Power Apps in many aspects and should not be used. You are better using AddColumns with Lookups to get those field values.
    ClearCollect(
       colTestList,
       Ungroup(
          ShowColumns(
             AddColumns(
                testList,
                GroupField,
                With(
                   {
                      _Fields: LookUp(
                         YourOtherList,
                         YourLookedUpField = locc.Value
                      )
                   },
                   {
                      Place: _Fields.place,
                      Side: _Fields.side,
                      Title: _Fields.Title
                   }
                )
             ),
             Title,
             type,
             osVersion
             GroupField
          ),
          GroupField
       )
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard