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 / Get choice column valu...
Power Apps
Suggested Answer

Get choice column value (not label)

(0) ShareShare
ReportReport
Posted on by 19
Hi,

I am new to power apps and I am trying to solve a few issues.
I have a dataverse table with a choice column. For each value of the choice column we assign a label. Is there a way so that in power apps I can get the value of the choice (not the label) and compare it. In the dataverse table in a formula column if I call the choice column I automatically get the value. However, in power apps I do not see the option to get the value.

Any help on that would be much appreciated.
I have the same question (0)
  • Suggested answer
    Gabriel G. Profile Picture
    831 Moderator on at
    Hi!
     
    You can use JSON to get the option value:
     
    JSON(yourOptionset)
    As an example of mine:
     
    JSON(First(Choices(Reservation.Status)).Value)
    First(Choices(Reservation.Status)).Value
     
     
    I hope it helps!
    _________________________________________________________
     
    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.
     
  • MS.Ragavendar Profile Picture
    7,160 Super User 2026 Season 1 on at
    Hi,
     
    A choice column in Dataverse treated as Record since it has two parts:
    • Label: The user-friendly text displayed in the app.
    • Value: The underlying numeric or string value associated with the label.
    so you must explicitly reference .Value.
     
    If your choice column is called Status, you can get its Value like this - ThisItem.Status.Value
     
    If you want to filter records where Status.Value = 2, you would use Filter('Dataverse Table', Status.Value = 2)
     
    Hope this helps. Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.
     
     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard