Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Extracting characters 2 and 3 from my V_String as doesn't recognise %

binsell
8 - Asteroid

Hi everyone! This is probably really simple but I can't seem to figure out! As Alteryx doesn't like % I am trying to extract characters (which are numbers in this case) 2 and 3 from my data. To explain, I brought in a % from another file into my main dataset, in the file it stated 60%, but when I brought into my main data set, it's coming out as 0.600328947368421 I tried to change the type to String, Float etc and still got the same result. So my thinking is now I can extract characters 2 & 3 (60 in this example) so at least I will know it is representing 60%. I hope that makes sense and any help would be very much appreciated :) 

2 REPLIES 2
Amit_G_Limbasia
8 - Asteroid

Dear @binsell,

 

You can simply try by converting into number and Multiply by 100 so it come as % then you can convert into string and add % sign that might help you !

 

Capture.JPG

 

 

For your case You can round like this also

unwanted row.JPG

binsell
8 - Asteroid

Amazing! Thank you so much, worked perfectly! 

Labels