Hi dear members!
My objective is to Filter a "Gauge" object in a way to show a measure only for the most recent date available in the data. The filter need to be dynamic as the data will get updated every few days.
Problem is that Max operator is not available for Filtering. Do you have any idea how I can do this?
Thank you in advance!
Mahraz
Hello Mahraz,
In present versions (to 7.3) we don't have any option to get Max date (or As on date Values).., This is the most basic requirement........
The best way is that you have to Calculate Max date in your backend data.
after loading the data in VA environment put a condition (Calculated).
i.e.,
If date = Max date
Return (Your measure)
else (.).
You will get Max date or As on date value and it is dynamic.
Hope this helps..,
Thanks & Regards,
Teja Surapaneni
Thank you Teja! It is helpful to know there is no standard way
Any update on this question? Important feature!
Work-arounds such as rank is really suboptimal
Hello David,
There is a new feature in 7.4 that might be helpful.
In 7.4, you can create a slider prompt with a date assigned to it, then on the Properties tab you can set Value=Single and Set value to dynamic maximum. This will dynamically select the latest value for the date data item.
Is that helpful?
Thanks,
Sam
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.