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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collection showing fie...
Power Apps
Unanswered

Collection showing fields as ID's not names and cannot use in a formula

(1) ShareShare
ReportReport
Posted on by 518
I wonder if someone can help me with a collection I'm using.  i have a button with ClearCollect that brings data from a SharePoint list for one specific row item - all good, it's pulling into the collection the data I want.
 
However, the collection is showing the fields like this - these all have names in the list - is this normal? 
 
I cannot seem to then use the fields to populate other inputs further along my app - see below. I want the field to default to the corresponding entry in the collection.  My varID is showing the right ID but nothing is populated in the field?
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
    Hi 
     
    So lets separate what you think is happening versus what is.
     
    1) the images are great, but please add the code you want updated/fixed to be a Code Snippet. Not cool to expect us to write it all again for you :-) 
     
    2) In your code, I am confused as to what you are trying to do
    in the first If, you are returning a Record (not a value)
    in the second if, I don't even know what that is doing, but
     
    If you want to return a value don't do a Lookup and return the record
    Do a lookup and return the value
     
    LookUp(myDataSet, MyValue = SomeValue).MyFieldValue
    
    You are doing
    LookUp(myDataSet, MyValue = SomeValue) 
    which return a record.
    
    And the second one.. not idea.
    
     
  • Verified answer
    RM-30040732-0 Profile Picture
    518 on at
    Thanks,
     
    I did not expect you to rewrite my code for me! My code previously worked great until I added a new If statement and then discovered what the collection looks like and what I was asking was why the collection shows my column names as field_7 etc. - is it normal etc - and was that a reason for my formula failing.
     
    No matter though, I worked out the issue myself, the brackets were in the wrong place and the column name works despite what the collection shows them as.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard