Hi
I would like to display 7 months data on a crosstab (Current month and 6 months prior).
Is there any suggestions i can use to achieve this?
Regards
You could use an advanced filter expression like this:
( TreatAs(_Number_, DatePart(Now())) - TreatAs(_Number_, 'Facility Opening Date'n) ) <= 210
This selects the last 210 days of rows. I'm not sure if you can make a filter that selects on months intelligently that would span years.
Sam
You could use an advanced filter expression like this:
( TreatAs(_Number_, DatePart(Now())) - TreatAs(_Number_, 'Facility Opening Date'n) ) <= 210
This selects the last 210 days of rows. I'm not sure if you can make a filter that selects on months intelligently that would span years.
Sam
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.