Hello everyone,
I have a dataset of this kind
ID | value |
---|---|
1 | 1 |
1 | 3 |
2 | 2 |
2 | 4 |
and, choosing avg as aggregation in a crosstab I have something like this as you know
ID | AVG value |
---|---|
1 | 2 |
2 | 3 |
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.
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.
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
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.