Forum Discussion
Extraer numero de texto
- 7 years ago
Anonymous,
You can write an IF ( ) with an ISERROR to only show when there is no error.
Column = IF ( NOT ( ISERROR ( VALUE ( RIGHT ( Table1[Column1], 2 ) ) ) ), VALUE ( RIGHT ( Table1[Column1], 2 ) ) ) - Anonymous7 years ago
Excellent!!!!
Thank you very much for your help. Can I take advantage and ask about a formula to calculate the growth rate? - Anonymous7 years ago
Hola,
En power query intenta:
1-Transforma la columna a Texto (temporalmente)
2-En el Menu>Transform (o Add Column en caso ocupes una columna extra)>Extract (aqui seleciona los ultimos 2 characteres)
3-Cambiar el formato de las columnas de Texto a Numero
- 7 years ago
Anonymous,
You should start another Post as it is not related to this Post. You should make sure to include sample data that is relevant to your issue.
Good morning Chris Mendoza,
Thanks for your attention. It shows #ERROR in the column. Already validate that the number does not have spaces
- ChrisMendoza7 years ago
Resident Rockstar
Anonymous,
My guess is that in your actual data you can't always just take the RIGHT ( ) 2 characters? Possibly you need to take the x characters to the RIGHT of the '-'?Hm, actually I can't reproduce your error.Google Translate says:
you can not convert the 'E' value of the Text type to the tip numberMy attempt translating to Spanish using Google Translate
Esto significa que tiene un carácter 'E' que se encontró en la DERECHA (), 2
- Anonymous7 years agoNot applicable
Thanks Chris, I did not understand very well. I am using the translator because I am very bad for English. Thank you for your comments
- Anonymous7 years agoNot applicable
Thank you. Maybe another way to do it?
- petrovnikitamai7 years ago
Resolver V
try this
column = right([NONCONTENEDOR];2)
and change column type
- Anonymous7 years agoNot applicable
Maybe you're right, I just saw the following: