BookmarkSubscribeRSS Feed
Bliss
Calcite | Level 5

Hello,

 

I'm trying to do the following:

 

Objects

Drop down list control || assigned variable: Date (format YYQC5)

Key Value graph || assigned variable: either Measure 1 (Cumulative total) OR Measure 2 (CumulativePeriod)

 

The Drop down list is filtering the Key Value.

 

When selecting a date in the Drop down list, I'd like the Key Value to return the cumulative total up to the date selected in the Drop down list.

Example:

 

Data

Quarter  || Amount

Q1 2022 || 100.000

Q2 2022 || 125.000

Q3 2022 || 75.000

Q4 2022 || 100.000

 

Objective

Selection: Drop-down list = 2nd Quarter 2022

Results: Key Value  = 225.000 (100.000 + 125.000)

 

Actual Results

Selection: Drop-down list = 2nd Quarter 2022

Results: Key Value = 125.000

 

How should I proceed?

 

additional info:

release: 8.5.2

1 REPLY 1
acordes
Rhodochrosite | Level 12

There are several ways to solve this.

 

If the quarter is defined as "date" then you can use the quarter in a slider as page filter. The key value shows the accumulated value. 

 

Or assign a parameter to the quarter selection and apply a filter in the key value object. 

 

 

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
  • 1 reply
  • 357 views
  • 0 likes
  • 2 in conversation