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
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.
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.