Using Content Linking to Create Interactive Dashboards
Depending on your needs, you can create a "static" dashboard, which contains content in each panel that is separate but related. For example, you may provide users with a bar chart that contains total sales figures by region. Additionally, you may provide a data table that displays sales details for each state in a specific region. You may also want to provide sales data associated with each salesperson in a specific region. The content in your dashboard is useful to dashboard consumers, but to make it more "interactive", you may want to consider using content linking.
The content linking features in dashboards allow you to associate (link) content in one dashboard panel to content on another dashboard panel as long as query parameters have been defined. These features are particularly helpful for drilling down or for dynamic filtering; for example, when dashboard consumers explode a single slice in a pie chart to launch content in a data table associated with that pie slice. In this instance, dashboard consumers are moving from a summary view to a detailed view interactively.
You can use content linking if your dashboard panel contains a data table, chart, .xaction, .prpt, and Analysis report.
Content Linking and Query Parameters
Query parameters are required for content inside a dashboard panel to receive values used to filter data from a filter control. They are also required when receiving values from content in other dashboard panels that are broadcasting values associated with Content Linking. The way in which query parameters are defined is different depending on the type of content you are placing inside your dashboard panels:
If
Then
You are defining parameters in the Analysis...
See Adding Query Parameters to Analysis Reports above
You are defining parameters in an Action Sequence (.xaction)...
Consult with your Business Intelligence administrator
You are defining parameters for a chart or data table...
Use the Query Editor to define your parameterized query. See below
Note: You can link directly to a dashboard by creating a deep link. Right-click on the tab with the Console Title, and select Create Deep Link. This will provide you with a direct link to the dashboard.
Linking Charts and Data Tables
Below are general instructions for linking charts and data tables in a dashboard. This is just an example. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains a chart and a data table. At this point, none of the content has been linked and you have a "static" dashboard.
Notice the pie chart in the example above. You want dashboard consumers to click a slice (NA, APAC, Japan, EMEA) and have the data table on the right update with the values associated with that slice exclusively. For example, if a report consumer clicks the EMEA slice, the data table will display values associated with EMEA and nothing else. To get the correct filter display, you must first create a parameterized query that drives the content in the data table.
2. Click theEditbutton to open up theEditpane at the bottom of the screen. Within theObjectspane, select the report you want to parameterize.
Note:Parameterizing a query, as described here, allows you to pass values dynamically and update the chart based on events triggered by other elements of the dashboard such as a user selecting an item from a filter control or following links defined in content associated with another panel in the dashboard.
3. Click on the{p}button next to theTitlebox.Theparameterswill populate after the title within theTitlebox.
4. Click on theParameterstab and ensure that the parameters name is linking to the correctSource.
5. ClickApply.
The new source for the parameter corresponds to the title of the dashboard panel that contains the chart as shown in the example above. This new source will now drive the display in the data table.
6. Click on theEditbutton (pencil icon) to exit the edit mode.The filters will appear after the panel titles.
7. Save your dashboard. SeeSaving Your Dashboard, below.
When users click a pie slice or bar in a chart, the data table displays content associated with that specific pie slice or bar. The currently applied filters appear after the title.
Linking Columns in a Data Table to Content in other Dashboard Panels
The instructions that follow show you how to link a chart to a column in a data table. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains a data table and a bar chart. At this point, none of the content has been linked and you have a "static" dashboard.
Notice the data table in the example above. You want dashboard consumers to click on a product in theProduct Linecolumn and have the bar chart update with information about sales by territory for that specific product line.
Add a parameterized condition to the query for the bar chart by specifying a parameter name in curly braces in theValuetext box; then, provide a default value for that parameter in theDefaulttext box. In the example below, a parameter calledProductlinewith a default value ofClassic Carshas been created.
2. In the Chart Designer, set the data definitions for the series, category and values columns associated with your bar chart and clickOK.
UnderGeneral Settings, select the data table and click theContent Linkingtab. Enable content linking on the column in your data table that will filter content in your chart. Each of the columns in a data table is able to broadcast values to other dashboard components.
3. UnderGeneral Settings, select the chart and click theParameterstab. Click the down arrow, in theSourcetext box to display another source for the parameter you created. In the example below, notice thatOrder Details - Product Line, (this is the name of the dashboard panel that contains the data table), can now be selected as a source for theProductlineparameter.
4. Save your dashboard. SeeSaving Your Dashboardbelow.
5. In the data table, select an item in the column that has content linking enabled.The content in the chart updates in response to the item that was clicked in the data table.
In the example below, theProduct Linecolumn was enabled for content linking.
Creating Content to Content Links in an Analysis Report
Below are general instructions for creating content links in an Analysis report, (inside a dashboard), that can be used to drive the parameter values of content in other dashboard panels. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains an Analysis Report and a data table. At this point, none of the content has been linked and you have a "static" dashboard.
In the example above, when content linking is achieved, the list of territories (APAC, EMEA, Japan, and NA) will become hyperlinks that, when clicked, will update Customer details data table. To get the correct filter display, a parameterized query that drives the content in the data table must be created.
2. Add a parameterized condition to the query for the data table by specifying a parameter name in curly braces in theValuetext box; then, provide a default value for that parameter in theDefaulttext box. In the example below, a parameter calledTERRITORYwith a default value ofNAhas been created.
Note:Parameterizing a query, as described here, allows you to pass values dynamically and update the chart based on events triggered by other elements of the dashboard such as a user selecting an item from a filter control or following links defined in content associated with another panel in the dashboard.
UnderGeneral Settings, click the data table and examine its available parameters. In the example below, there is an available parameter called TERRITORYwith a default source value of NA (North America). A drop-down arrow in theSourcetext box indicates that there are additional values to control the available parameter. In this example, there are no additional source values that control the TERRITORY parameter.
3. UnderGeneral Settings, select the Analysis report. Click theContentLinkingtab then click the check box next to the field/column name you want enabled for content linking. ClickApply.
In the Analysis report, the values under Territorybecome hyperlinks.
4. UnderGeneral Settings, select the data table and examine its available parameters. Notice that there is a drop-down arrow in theSourcetext box. Click the down arrow to display and select a new source value for the available parameter. ClickApply.
In the example below, content linking was applied. When users click on a territory hyperlink in the Analysis report, the data table updates and displays Customer-related details associated with that specific territory exclusively.
Linking an Analysis Chart to a Report
You can create content-to-content links between an Analysis chart and any other parameterized report such as a Report Designer report, a data table, or another Analysis report.
Below are general instructions for linking an Analysis chart to a report. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains an Analysis chart and a parameterized report. The example above displays an Analysis chart and an Analysis Report displayed as a table view. At this point, none of the content has been linked and you have a "static" dashboard.
Hypothetically, if you want users to be able to click on a bar in the bar chart and update the Analysis table view, the table must contain at least one parameter. In the example below, there are two parameters, (LINE and TERRITORY), associated with the Analysis table.
2. UnderGeneral Settings, select the Analysis chart. Click theContent Linkingtab then click the check box (or check boxes) next to the field/column name you want enabled for content linking. ClickApply.
3. Under General Settings, select the Analysis Report (table view) and click theParameterstab. Click the down arrow, in theSourcetext box to display another source for the parameters you created. In the example below, notice thatSales by Line, (this is the name of the dashboard panel that contains the chart), can now be selected as a source for both the TERRITORY and LINE parameters.
4. Save your dashboard. SeeSaving Your Dashboard below.
In this example, content linking is applied when users click on a bar in the bar chart. The data table updates and displays sales details for a product line in a specific territory.
Linking an Action Sequence Parameter to Content in other Dashboard Panels
To complete this task you must have an action sequence (.xaction) that contains at least one parameter.
Below are general instructions for allowing an Action Sequence parameter to drive the filter associated with content in another dashboard panel. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains an action sequence file and a data table. At this point, none of the content has been linked and you have a "static" dashboard.
Notice the chart (action sequence file) in the example above. You want dashboard consumers to click on a territory (APAC, EMEA, etc.), bar and have the data table update with information about that territory specifically.
2. UnderGeneral Settings, select the action sequence file and clickContent Linking. If parameters have been defined in the action sequence, they will appear as values to be enabled for content linking. Parameters are hard-coded in the action sequence and cannot be changed.
3. Add a parameterized condition to the query for the data table by specifying a parameter name in curly braces in theValuetext box; then, provide a default value for that parameter in theDefaulttext box.
Note:Parameterizing a query, as described here, allows you to pass values dynamically and update the chart based on events triggered by other elements of the dashboard such as a user selecting an item from a filter control or following links defined in content associated with another panel in the dashboard.
UnderGeneral Settings, click the data table and examine its available parameters. In the example below, there is an available parameter called TERRITORYwith a default source value of EMEA. A drop-down arrow in theSourcetext box indicates that there is an additional value to control the available parameter. The value comes from the parameter in the action sequence.
5. In the action sequence file click on an object such as a bar as shown in the example above.The content in the data table updates in response to the object that was clicked in the action sequence.
Controlling a Dashboard Parameter from a PRPT Hyperlink
You must have a report (.prpt) that contains a hyperlink before you can complete this task.
The instructions that follow show you how a link inside a Report Designer report (.prpt) can drive a parameter in content on another dashboard panel. You must adjust the instructions when working with your own data.
1. Create a simple dashboard that contains a .prpt report and a data table. At this point, none of the content has been linked and you have a "static" dashboard.
Notice the report (.prpt) in the example above. You want dashboard consumers to click on a territory (APAC, EMEA, etc.), hyperlink and have the data table update with information about that territory specifically.
2. UnderGeneral Settings, select the report (.prpt) and click theContentLinkingtab. Click the checkbox next to the field you want used for content linking.
3. Add a parameterized condition to the query for the data table by specifying a parameter name in curly braces in theValuetext box; then, provide a default value for that parameter in theDefaulttext box. In the example below, a parameter calledTERRITORYwith a default value ofNAhas been created.
Note:Parameterizing a query, as described here, allows you to pass values dynamically and update the data table based on events triggered by other elements of the dashboard such as a user selecting an item from a filter control or following links defined in content associated with another panel in the dashboard.
4. UnderGeneral Settings, select the data table and click theContent Linkingtab. Click the drop-down arrow in theSourcetext box, to display another source for the parameter you created. In the example below, notice thatProduct Line Share by Territory - Territory, (this is the name of the dashboard panel that contains the .prpt), is now selected as a source for theTerritoryparameter.
5. Save your dashboard. SeeSaving Your Dashboard below.
When content linking is achieved, the data table updates when a link in the report (.prpt) is clicked as shown in the example below.
Saving Your Dashboard
Follow the instructions below to save your dashboard:
1. In the Business Intelligence User Console toolbar, click (Save) to open the Save dialog box.
2. In the File Name text box, type a file name for your dashboard.
3. Enter the path to the location where you want to save your dashboard. Alternatively, use the up/down arrows or click Browse to locate the solution (content files) directory in which you will save your dashboard.
4. Click Save.
Editing Your Dashboard
Follow the instructions below to edit an existing dashboard:
1. In the Business Intelligence User Console, (under Browse Files), select an existing dashboard file. The dashboard panels and their related content appear.
2. Click (Edit) from the console toolbar to go into Edit mode.
3. Click (Edit) in the upper-right corner of the dashboard panel you want to edit.
Note: Some content such as action sequence files (.xaction) and Report Designer files (.prpt) cannot be edited directly in the dashboard. In such instances, Edit is disabled.
4. Make your changes as needed.
5. In the toolbar, click (Save As) to open the Save As dialog box.
6. In the Filenametext box, type a file name for your dashboard. Alternatively, use the up/down arrows or click Browse to locate the solution (content files) directory in which you will save your dashboard.
7. Click Save.
Adding Content to a Dashboard Using Drag-and-Drop
Follow the instructions below to add an existing chart, table, or file to your dashboard panels using the drag-and-drop feature.
1. Create a new dashboard. See Creating a New Dashboard for specific instructions.
2. In the Business Intelligence User Console, under Browse Files, locate the content (chart, table, or file) you want added to your dashboard.
3. Click and drag the content into a blank panel on your dashboard. You will see the "title" of the content as you move it around the dashboard. Notice that the title background is red; it turns green when you find a panel where the content can be dropped.
Repeat steps 2 and 3 until your dashboard contains all the content you want to display. To swap content from one panel to another, click the title bar of the panel that contains the content you want moved and drag it over the panel you want swapped. You will see the swap icon as you are moving the content.
If you are working with an existing dashboard, you can perform steps 2 and 3 steps; however, a warning message appears when you try to place content in a panel that already contains content. The new content will override the existing content.
4. Save your dashboard.
Adjusting Whitespace in Dashboard Panels
Sometimes you must adjust the whitespace in dashboard panels, (or the filter panel), so that content appears correctly. Follow the instructions below to adjust whitespace.
1. Open an existing dashboard.
2. In the lower pane, click General Settings and then click the Properties tab.
3. Click Resize Panels. The whitespace between the dashboard panels turns blue.
4. Adjust the panel size by clicking and holding the left mouse button down as you move the blue lines (whitespace) around. Release the mouse button when you are satisfied with the positioning of the panel.
5. Click Close in the lower right corner of the dashboard to exit resize layout mode.
6. Examine the dashboard contents to make sure they are placed correctly. You can return to the resize layout mode if you need to make additional changes.
7. Save your dashboard.
Setting the Refresh Interval
The content in your dashboard may need to be refreshed periodically if users are examining real-time data. You can set refresh intervals for individual panels on your dashboard or for the entire dashboard.
To set the refresh interval for individual panels in the dashboard, click the edit button and the select the panel that contains the content you want refreshed within the Objects panel. Under Refresh Interval (sec) enter the interval time in seconds and click Apply.
If you want the entire dashboard to refresh, click the Prompts tab in the dashboard and set your refresh interval.