BookmarkSubscribeRSS Feed
May15
Obsidian | Level 7

Hi all,

 

Is it possible to create a new item ins SAS Visual Analytics (Report designer) like this:

 

if (distinct(A)>1) return "abc"
else return A

A is a category and abc is a string.

 

 

Thanks,

 

LF

1 REPLY 1
abcde
Obsidian | Level 7

Create a new aggregated measure ind use the boolean for the if statement and the aggregated to use distinct

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1321 views
  • 0 likes
  • 2 in conversation