Forum Discussion
Alessandro-laba
4 years agoHelper I
Assign a value to text
Hi all, I am running a skill matrix on my team and in few questions we are asking them to give themself a score on few categories. For instance in Excecel they can select between 5 options: Novic...
- 4 years ago
Since, there are many columns which you need to make this replacement and you don't want to create new columns, I would suggest you should do this in Power Query which will do the replacement within the columns themselves
Select all columns which are for questions
Transform - Replace values - Replace Novice with 1. Do the same for other words as well with their respective values as well.
amitchandak
4 years agoSuper User
Alessandro-laba , Based on what I got
A new column
Switch( Table[Column],
"Novice" , 1,
"Understand basics", 2,
// Add other values
)
If there are circular dependencies then create a new column
column1 =[Column]
Then the set other column as the sort column