BookmarkSubscribeRSS Feed
QAMARSULTANA
Calcite | Level 5

For only quarterly reports , how to prepare a  drop down  in SAS VA to  use the quarter-end months only.  if you have months from 2017, 2018 and to move forward.

3 REPLIES 3
FredrikE
Rhodochrosite | Level 12

If you have the months in date format you just need to change it to year-quarter format 🙂

Otherwise you can create a quarter variable where you create it from year and month.

//Fredrik

QAMARSULTANA
Calcite | Level 5
How do u change it to year quarter format please provide an example
I prepared a new custom category with quarter format as quarter 1
-20170100, 20170200,20170300.20180100,20180200,29180300
And the other quarters in similar way but then when I press on quarter 1 it
shows all the months I want result of only quarter end month that is
20170300or 20180100 as required
FredrikE
Rhodochrosite | Level 12

If tou only want to show the last month in each quarter, you can use the MONTH function and create a new calculated variable.

You will then only create the quarter value if the month number is 3,6,9 or 12.

//Fredrik

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
  • 3 replies
  • 915 views
  • 0 likes
  • 2 in conversation