[]
        
(Showing Draft Content)

Use an Image to Reset a Parameter Filter

In addition to filtering a dashboard using a parameter, Wyn Dashboards also allows you to change that filter by clicking an image. In the example below, we use an image to reset the filter on a column chart showing the sum of working capital.

This tutorial uses the Working Capital Dataset, which can be downloaded here.

WorkingCapitalDataset.cdst

Step 1: Set Up the Dashboard and Add a Parameter

  1. Create a dashboard bound to the Working Capital dataset.

  2. Add a column chart to display the sum of working capital.

  3. Insert an image onto the dashboard canvas (see customizing images for details).

  4. In the General section of the dashboard’s properties pane, click + Add under the Parameters section to create a new parameter.


    Screenshot 2025-07-01 at 10.04.33 AM

Step 2: Configure the Parameter

  1. In the Parameter Setting dialog:

    • Set the Data Type to Integer (since we are filtering by year).

    • Enter a Static Value of 2017 (this will be the initial filter value).


      Screenshot 2025-07-01 at 10.10.40 AM

Step 3: Filter the Column Chart by the Parameter

  1. Select the column chart.

  2. In the Action Bar, click Filter to open the Filter dialog.

  3. Click + Add to create a new filter condition.

  4. Under the General tab, click the icon next to the search bar.

  5. Choose the parameter you created (Parameter1) and click OK.


    Screenshot 2025-07-01 at 10.11.15 AM

Step 4: Assign a Click Action to the Image

  1. Select the image and go to the Inspector tab.

  2. In the Interaction section:

    • Set Click Action to Command.

    • Click + Add to create a new command.

    • Choose Set Parameter from the Command dropdown.

    • Select Parameter1 as the target parameter.

    • Enter the new value (e.g., 2018).


      Screenshot 2025-07-01 at 10.11.55 AM


Step 5: Preview and Test

Preview the dashboard. When you click the image, it will update the value of Parameter1 2018, and the column chart will automatically reflect the new filter.


Screenshot 2025-07-01 at 10.15.56 AM