- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have a numeric measure field and I want to convert it to character. The reason is I need to add the field on a row in crosstab.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi, this should be straight forward. You can either just switch the data item classification to category in the left data pane (find your item - then expand the section to see the classification) - or create a new calculated item and use the Format function to convert your numeric item to character. If you want to convert a character to numeric - you can use the Parse function. Hope this helps. Falko
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi, this should be straight forward. You can either just switch the data item classification to category in the left data pane (find your item - then expand the section to see the classification) - or create a new calculated item and use the Format function to convert your numeric item to character. If you want to convert a character to numeric - you can use the Parse function. Hope this helps. Falko
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I apologize it is the other way around numeric to character. Sorry about that and thanks for the quick response
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
you can use the Format function for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to convert a character to numeric using the parse function. Can you direct me to a link that provides instruction on using the parse function in SAS Viya?
V/R,
JoyCons