Skip to content

No way to apply parameters to data retrieved #492

@ihrimech

Description

@ihrimech

Describe the issue
I need to apply sorting and filtering to a list of images. To create images as I need them, I've developed an extension that replicates the data from the worksheet but as images. Filtering with simple filters do work. Listening to the FilterChanged does the trick.
Having created parameters and field calculations to sort and filter I tried listening to ParameterChanged events but it doesn't change anything in the Datatable. Am I missing something ?

Version information:

  • Tableau version: 2022.1
  • OS: macOS Monterey
  • Browser Not Applicable
  • Version Any

Steps to reproduce :

  1. Create a worksheet containing Data
  2. create a float parameter and a calculated field that only keeps values under the indicated value for the parameter (filtering by maximum)
  3. create another parameter to sort the worksheet
  4. data in the worksheet is correctly sorted and filtered
  5. Problem : the data from the following code isn't neither filtered not sorted. It always gets back the same.
     worksheet
        .getUnderlyingTableDataAsync(logicalTableId, {
          maxRows: 100,
        }).then((dataTable) => { **// dataTable is the same here whatever parameter is changed**
     // ...etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsIssues with documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions