BookmarkSubscribeRSS Feed
RedBishop
Fluorite | Level 6

Dear SAS VA community,

 

From the columns "Have", I am trying to generate a calculated item "Want": = the count of Have.

HaveWant (=calculated item)
A4
A4
A4
A4
B3
B3
B3

 

Is there an easy way to do this in SAS VA? "Want" needs to be dynamic, so I can't do it in SAS EG.

 

Thanks in advance!

2 REPLIES 2
PetriRoine
Pyrite | Level 9

Hello @RedBishop ,

 

Which version of VA you are using? One way to achieve this in VA8.3 onwards is by creating Aggregated Data Source (Selected items: Have + Frequency) from the original data source. Then utilize New data from join to join the aggregated frequency back to original data.

Capture.PNG

 

Best regards,

Petri

RedBishop
Fluorite | Level 6

Thanks for the reply @PetriRoine. Too bad I'm using SAS VA version 7.4.

Assuming it's just impossible then?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 2256 views
  • 3 likes
  • 2 in conversation