BookmarkSubscribeRSS Feed
Sultana
Calcite | Level 5
 
Can you provide me with a code that shows only the end of quarter months March ,June, September, December and moves on in the future months my data stats from 2017.so That I can use it in the drop down menu, THIS IS FOR SAS VA
3 REPLIES 3
Sam_SAS
SAS Super FREQ

Hello,

 

I believe this type of expression is what you will be looking for:

 

 

( Month('Date by Month'n) In (3, 6, 9, 12) )

 

 

 

Is this the type of result you want?

 

eoq.png

 

What I did here was create a duplicate of 'Date by Month' and set its format to Month. This data item is assigned to the button bar. To show only the 4 end of quarter months in the button bar, I created a filter similar to the code I shared above. Then I created an interaction so that the list table would be filtered by the button bar. This might happen automatically for you, depending on how you create the button bar.

 

Let us know if that helps, or if you are looking for something different.

 

Thanks,

Sam

touwen_k
Quartz | Level 8

thank you Sam, it also helped me.

Sam_SAS
SAS Super FREQ

Great, thanks for letting us know 🙂

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

Register now!

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
  • 776 views
  • 2 likes
  • 3 in conversation