- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
-
Working with Dashboards
- Dashboard Designer
- Selecting a Dataset
- Data Attributes
- Dashboard Scenarios
- Dashboard Templates
- Component Templates
- 3D Scene
- Explorer
- Visualization Wizard
- Data Analysis and Interactivity
- Dashboard Appearance
- Preview Dashboard
- Export Dashboard
- Dashboard Lite Viewer
- Using Dashboard Designer
- Animating Dashboard Components
- Document Binder
- Dashboard Insights
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Pass Dynamic Parameter to Direct Dataset
You can pass a dynamic parameter (a parameter bound to a slicer whose data is from a query, or a parameter bound to a selected value) to a direct dataset. For this, you need to bind the slicer fields and chart fields to the direct dataset and this direct dataset can be the same or different for the slicer and chart.
Example: In this example, we will bind a Label Slicer and a Column Chart to the same dataset.
There is a dataset(Office-Supplies-Original) with a parameter 'Parameter1' as shown below
Apply Filters, using the Parameter1. In this example, we have applied filters on the field Location, as shown below.
Duplicate the dataset(Office-Supplies-Original-Copy), and remove the parameter and the filter. The purpose of the step is to create data to provide available parameter values.
Create a dashboard and add a label slicer, bind it to 'Office-Supplies-Original-copy', and add Location to the slicer's Columns field.
Create a dashboard parameter (Parameter1) and bind it to the slicer.
Create a Column Chart, bind it to 'Office-Supplies-Original', and drag Location to Axis (Category) and Quantity to Values.
Click Set Parameter Values to open the Set Parameter Values.. dialog box.
Bind to Parameter1. As we have set the default value to Mumbai in the dataset while defining the parameter, so it is displaying the default value here
Click any item on the slicer, the data will be displayed on the chart as per the direct dataset.