BookmarkSubscribeRSS Feed
scan
Obsidian | Level 7

Hello everyone,

I have a dataset of this kind

IDvalue
11
13
22
24

and, choosing avg as aggregation in a crosstab I have something like this as you know

IDAVG value
12
23

this is plotted in a line chart.

I want to add a button bar to filter outliers where that calculated average is ge 4 or le 1 (showing only ID 1 in this sample).

Also, is it possible to do the same thing filtering values only when they are ge than the mean of avg values + 3 * their standard deviations?

(In this case mean(avg1 avg4) + 3*sd(avg1 avg4) )

I'm pretty new with sas va.

Thanks to everyone who will help.

1 REPLY 1
Sam_SAS
SAS Employee

Hello,

Unfortunately you cannot apply post-aggregation filters to visualizations in the data explorer.

In the report designer you can apply post-aggregation filters to many report objects, but crosstabs do not support post-aggregation filters.

https://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#p0989k7vl59ugbn1183c...

Hopefully we can support aggregated filters against crosstabs in a future release.

For the second part of your question, if I understand correctly, you want to apply nested aggregations in a filter expression (average of the average values, stddev of average values.) I don't think this is possible in our expression builder, but I'm not sure.

Thanks,

Sam

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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