BookmarkSubscribeRSS Feed
raziel999
Calcite | Level 5

Hello, I am having an issue with the categorisation of variables in categories and measures in VA.

 

I uploaded a table with a bunch of numeric fields I need to use as measures. When looking into the table in the report editor, a few of those variables are correctly listed as measures, and a few others are categorised as categories. I tried to convert those back into metrics using the parse function, but this is not working due to those variables already being numeric. I also tried to convert them to text and then parse (e.g. parse(format('variable1'n,'$.'),'F12.) but to no avail. In this latter case a measure is created but when added to charts/tables it gives no results.

 

Is there any other way to change those categories into metrics? Thanks

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

Unless they are characters, you could just right-click them one at a time and select measure(Mått) instead of category(Kategori):

image.png

 

//Fredrik

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1695 views
  • 0 likes
  • 2 in conversation