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 / Numeric value in manag...
Power Apps
Unanswered

Numeric value in managed metadata field instead of text

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am looking to build this gallery on Power Apps for selecting people from a SharePoint directory. However, I am having trouble with showing the correct Function and Location information. As the image shows, it is presenting numeric values. These columns on the SharePoint are referenced to managed metadata.

 

mongesam_0-1708711995237.png

 

The term store for location looks like this: (there are no numbers... just words corresponding to continents, regions, countries, etc).

mongesam_1-1708712565205.png

On this example, the location field should say Asia instead of 1694.

Can someone tell me what this value represents and how can I fix this?

Categories:
I have the same question (0)
  • Sarita Suryawanshi Profile Picture
    74 on at

    The numeric values you are seeing in the Location field likely represent the unique identifiers (IDs) of the managed metadata terms stored in SharePoint, rather than the actual names of the terms themselves.

    To display the actual names of the managed metadata terms (such as "Asia" instead of "1694"), you need to perform a lookup operation to retrieve the corresponding term names based on the IDs stored in your SharePoint list.

    Without knowing the exact structure of your Power Apps app and the SharePoint data source, it's a bit challenging to provide specific code snippets. However, you can follow these general steps to achieve the desired outcome.
    1. Retrieve Term Names from Managed Metadata
    2. Replace Numeric IDs with Term Names
    3. Display Term Names in the Gallery


    If my response helped resolving your issue, kindly click on "Accept as Solution." This helps others easily locate the solution and also marks the question as resolved. If you found the information beneficial for other reasons, please give it a Thumbs Up. Thank you!

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Click the value in the location part of the form. It's probably set to ThisItem.Location.wssid or something, needs to be Thisitem.Location.Label instead. Kind of odd looking setup for a Metadata column, but if you share what your DataField is for that assuming it's a form, or what's in Default / Text might shed a little light. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is what I have as Data Field:

     

    mongesam_0-1708717821047.png

     

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    weird. What is your items in the gallery? Like if you look at the Filter, and see location etc. in the raw data, is it returning a record? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    On Items I have: Filter(DataSource,tbSearchInput.Text in Location.Label)
    So if I put 1694 in my search bar, it will show me people with that location ID. But if I enter Asia, it shows me nothing.
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Yeah but if you click on Filter and you see the drop down underneath where you can look at the records returned. What shows for Location in there? Almost seems like your Location field in the datasource isn't the right name for your managed metadata. Also need to check your datasource list settings there and see what it's showing. It should just be the name, I've never seen a random number show up for a metadata column for a label. 

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Also if you haven't save the app and close it and reopen it, maybe it mapped the schema weird, and restarting will redo that. Worth a shot if you haven't done it yet. Have had weird issues like that happen before. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, already tried that.

     

    If I enter directly on Items: Filter(DataSource,"Asia" in Location.Label), the dropdown beneath filter displays a "We didn't find any data" message. If I put Filter(DataSource,"1694" in Location.Label), then a couple of results show beneath.

     

    The Location column on SharePoint is configured like this:

    mongesam_0-1708721246400.png       mongesam_1-1708721274064.png

     

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    What if you just put the datasource in, remove the filter? Is it all numbers? The Filter should be more like Filter(Datasource, Location.Label = "Asia")  or  SearchByColumns(Datasource,"Location",tbSearchInput.Text) might be Location.Label but anyway, try without the Filter, just use the datasource raw and go from there, then worry about the search part. Curious if it changes the Label at all.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The issue was with the SharePoint. A migration with the Term store from site to global might have messed with the SharePoint list references. Got fixed by assigning again the location tags directly on the SharePoint.

     

    Thanks for the help!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard