I have a quesiton: in a drop-down list I have values as last wk, last 12 wks etc. I would like to select this value and based on that filter my crosstab table( I have a week value there). how to do it? regards Karolina T
Create an item today as datepart(now())
Then add a slider as a filter, assign a parameter to it allowing for week shifts from 1 to 12.
then apply an advanced filter to your object, this resolves to true if the date variable is greater then the shifted date from today.
Create an item today as datepart(now())
Then add a slider as a filter, assign a parameter to it allowing for week shifts from 1 to 12.
then apply an advanced filter to your object, this resolves to true if the date variable is greater then the shifted date from today.
thank you very much for your answer. I will try it out. I am a beginner in VA. The request I 've got it to have a sum of sales for last week and sum of sales for last 12 weeks. The idea is to have one row in cross tab which shows the sum. Is this slider also showing that?
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.