A SAS Visual Analytics report requirement came in requesting a pop-up page to show additional detail including both category and measure data items. Let’s walk though one way to design a pop-up page to meet this requirement.
There are three types of pages in SAS Visual Analytics: basic, hidden, and pop-up. See the SAS Documentation Working with Pages for additional details. A pop-up page is a nonvisible page to report viewers that only appears when the viewer clicks on the source object. If the source object and target object use the same data source, then values are passed automatically and applied as a filter. This is extremely convenient! Otherwise, you will need to manually map data if you need values passed the objects. See the SAS Documentation Basic Tasks for Data in Reports for more information about mapping data.
Let’s take a look at the desired report behavior. The customer wants to select a Product Line in the bar chart and #1) filter the Dual axis bar-line chart and #2) open a pop-up page with the details of the selected Product Line, Total Year’s Average for both measures Product Cost of Sale and Product Sale.
Report requirements:
Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.
Requirement #1: Filter the Dual axis bar-line chart:
Requirement #2: Open a pop-up page with the details of the selected Product Line, Total Year’s Average for both measures Product Cost of Sale and Product Sale:
In order to configure the filter from the bar chart to the dual axis bar-line chart:
Finished. Now when you select a value in the bar chart, the dual axis bar-line chart is automatically filtered. Toggle to View mode and test this configuration by clicking on a value in the bar chart.
In this pop-up page, we want to see the Product Line that was selected and then the yearly average for the two measures: Product Cost of Sale and Product Sale.
For beginners, when designing the pop-up page, it’s easiest to add a page prompt for the incoming values you expect from the source object, in this example, Product Line.
Now you have seen how quick and easy it can be to design and configure a pop-up page for objects using the same data source. If your objects use different data sources, take a look at this article for Tips for working with multiple data sources in SAS Visual Analytics and how to configure the map data under the section Prompting with Multiple Data Sources. Once you add the data mapping, the same page link configuration steps can be taken.
Check out the below articles for additional SAS Visual Analytics examples:
Find more articles from SAS Global Enablement and Learning here.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.