🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Converting text to numerical values with generate attributes

User: "Olivius"
New Altair Community Member
Updated by Jocelyn
Good morning
I am trying to generate a new column in the file using the generate attribute operator. This new column would take the text in the serviciointernet column and replace these text strings with numerical values. For example, a "no" would be replaced with a 0, DSL with a 5, and fibraoptica with a 10. 
I am quite clumsy when it comes to programming and am getting stuck.
Any help would be very welcome