Hi all, I ran a frequency and now i want to create a second table off the first table and make the numeric count into a character count so that i can suppress low turnout values with an asterisk. Originally, i tried input(), since i was going from numeric to character. In end, i tried all 4 options. I run this one, and I get the "numeric values converted to character" in the log, and the count2 values are now "." for everything that should have an actual value: data test; length count2 $5; set junk.Part1a_count; if 1 <= count <= 10 then count2="*"; else count2=input(count,8.); where zipcode ne ""; run; I run this one, and I get the "numeric values converted to character" in the log, but no values in count2 where there should be values. Just blanks. data test; length count2 $5; set junk.Part1a_count; if 1 <= count <= 10 then count2="*"; else count2=left(input(count,$5.)); where zipcode ne ""; run; I run this, get no errors, but no values in count2 where there should be values. Just blanks: data test; length count2 $5; set junk.Part1a_count; if 1 <= count <= 10 then count2="*"; else count2=put(count,8.); where zipcode ne ""; run; If i run this, I get a warning in the log that count has already been defined as numeric, but it works. data test; length count2 $5; set junk.Part1a_count; if 1 <= count <= 10 then count2="*"; else count2=left(put(count,$5.)); where zipcode ne ""; run; What's the code to make it work, but without the warning message? Thanks
... View more