Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Filtering when using aggregated measures

Not applicable
Posts: 1

Filtering when using aggregated measures

Is there any way to filter dates, but allow the full range of dates only for aggregated measures?

For example, I want to create a geo region bubble map, with a value, let's say inquiries, as the size for a selected month. I also want the color to be based on change from previous year (using an aggregated value) for a different metric, let's say sales.  So if a user selects January 2015, I want the map to be sized by inquiries for January 2015, and colored by % change in sales from January 2014 to January 2015.  The problem I run into, is when I use a filter on the map to select January 2015, it filters out January 2014, and the aggregated measure comes up with no value. Does anybody know a workaround for this?


Frequent Contributor
Posts: 130

Re: Filtering when using aggregated measures

I'm not aware of a way - I have learned to do things where I didn't have to use a filter.  For instance, I built the aggregated measure using the Periodic Operators under the Aggregated Measure.



Tricia Aanderud
Zencos Consulting
Twitter: @taanderud - Follow me!

Regular Contributor
Posts: 191

Use parameters

[ Edited ]
Hi Warch,
There is a way to do this using parameters. Assign your year selection to a parameter using text input.
Now create two calculated field (act and last year) and fill them if year of date equals selected year or year before.
While using aggregated measures to accumulate the data by select period, you can compare last year with actual year.
The period/month can be selected with a any other object.
greeting and success.
Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation