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 Automate / Flow to check one colu...
Power Automate
Unanswered

Flow to check one column's value (1 of 25 text options) and return a number (1-25)

(0) ShareShare
ReportReport
Posted on by
I have a Sharepoint List for Risk, which has a Current Likelihood and a Current Impact column, which are both populated with one of five choices from "Very High" to "Very Low".
 
I've created a calculated column in the List (called Current Risk Text), that combines those two columns into a text string, e.g. "Very High/Very High", or "Very High/Low" etc. and there are 25 possible combinations. I have another column called Calculated Current Risk, which is a number column.
 
Initially, I just want to use Power Automate to populate the Calculated Current Risk values, using the Current Risk Text value. For example:
"Very High/Very High" = 25,
"Very High/High" = 24, etc. all the way down to
"Very Low/Very Low" = 1.
 
I haven't managed to make this work yet, so would appreciate any guidance on the best/simplest way to do this! ChatGPT suggested I use Switch actions, but I've just seen something that suggests you are limited to 10 switch actions? And I have 25 different cases I need to set up.
 
Once I've achieved the initial population of the column, I will then want to set up a Flow to say if a new row is added, populate that field, or if the Current Risk Text field changes, then update the value.
 
Help, please :-)
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,918 Super User 2026 Season 1 on at
    I would agree with Chat GPT that you use a switch for this as it can handle up to 30 variations. If you are doing that, please show your flow and how it is configured. This is a decent YouTube tutorial on the use of the switch action: https://youtu.be/7eoc8WTOUQA?si=xrRKV8CvcY0J-nD1

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 Automate

#1
Valantis Profile Picture

Valantis 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard