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 / Column in gallery chan...
Power Apps
Suggested Answer

Column in gallery changed from text to ID

(1) ShareShare
ReportReport
Posted on by 7

Greetings!

I'm experiencing an issue where one column in my gallery is switching from showing text to showing the record ID (see image below). It changed automatically and is now mixing text values and numeric IDs in the same column. How can I fix this?

This is happening in a Gallery control, and the label for this column is using the following expression:

ThisItem.Ensaio_Contato



 
Captura de tela 2025-12-02 233336.png
Categories:
I have the same question (0)
  • wolenberg_ Profile Picture
    1,077 Super User 2026 Season 1 on at
    Hi @MD-02122134-0 , neither the image or the source code that you tried to paste on the post, are not avaliable to see , try to upload again the attachments please.
  • MD-02122134-0 Profile Picture
    7 on at
    @wolenberg_, thanks for the observation. I've made an update and attached it.
  • MS.Ragavendar Profile Picture
    5,777 Super User 2026 Season 1 on at
     
    What is the data source you being used in the application and what datatype does this column belongs to - Ensaio_Contato ?
     
    If your data is coming to powerapps in this record format.
     
    {
      Id: 1030,
      Value: "Aleisa Fernanda Maia"
    }
    Instead of ThisItem.Column try ThisItem.Ensaio_Contato.Value
     
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
  • Suggested answer
    wolenberg_ Profile Picture
    1,077 Super User 2026 Season 1 on at
    Hi, 
    This usually happens when the field `Ensaio_Contato` is a complex type, like a lookup or person field and Power Apps starts showing the record ID instead of the display name.  
     
    How to fix it
    Instead of using:
    ThisItem.Ensaio_Contato

    Try referencing the display field explicitly, like:
    ThisItem.Ensaio_Contato.DisplayName

    or
    ThisItem.Ensaio_Contato.'Full Name'

    (depending on what field you want to show — use IntelliSense to see available options after typing the dot).  
    If `Ensaio_Contato` is a lookup to another table, you’ll need to reference the field from that related record that holds the name you want to show.  
     
    In short: the column is showing IDs because it’s a complex record just point to the specific field inside it that holds the name. That’ll bring back the readable text.

     

    If this helped or could help others in the community, feel free to give it a like or a kudo — it helps surface useful answers for everyone!


     

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
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard