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 would I convert th...
Power Apps
Answered

How would I convert the selected value of a dropdown to a numerical value?

(0) ShareShare
ReportReport
Posted on by 3

I am very new to PowerApps. Let's say I have a drop-down with 3 different options:

1. Low Level

2. Medium Level

3. High Level

And the user chooses option 1: Low Level

 

Saving the value of this dropdown using Dropdown1.SelectedText.Value gets me the text "Low Level". How would I go about converting this to a number based on the ranking in the drop-down (i.e. Low Level returns 1, Medium Level returns 2, High Level returns 3) so that I can do math with that variable value?

Categories:
I have the same question (0)
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at
    Switch(Dropdown5.Selected.Value,
    "Low",1,
    "Medium",2,
    3)

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard