BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Dee2
Obsidian | Level 7

I have 2 datasets in a VA report. Both should be controlled by a date slider and drop-down list. The slider is using the first dataset ReportMonth column and the drop-down list is using a column in the first dataset. How can the second dataset relate to the both columns? what I meant is if I select a different range of report months and a different value from the drop-down list, all objects using either dataset would change. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Super FREQ

If you create a data mapping between the data sources, the controls should filter both of them.

Read about how to map data here:

https://documentation.sas.com/doc/en/vacdc/v_003/vareportdata/n0hk5nlzlwj7don19ziq4946pwdn.htm#n18w1...

 

Let us know if that helps!

Sam

View solution in original post

2 REPLIES 2
Sam_SAS
SAS Super FREQ

If you create a data mapping between the data sources, the controls should filter both of them.

Read about how to map data here:

https://documentation.sas.com/doc/en/vacdc/v_003/vareportdata/n0hk5nlzlwj7don19ziq4946pwdn.htm#n18w1...

 

Let us know if that helps!

Sam

acordes
Rhodochrosite | Level 12
An alternative to what Sam recommends is the usage of a dummy data set.
This could be as simple as number 1 to 25, one variable therefore.
To this dummy table loaded to VA you apply customized categories.
Imagine you'd like to filter both tables by continent.
So define 5 customized categories Europe, Asia...
Attach a parameter to the drop down list where you use the customized category.
Once selected the parameter holds this value and can be used to filter the target tables. Use advanced filters like equal or within and compare against the parameter.

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
  • 2 replies
  • 432 views
  • 1 like
  • 3 in conversation