You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :
Create a worksheet containing Data
create a float parameter and a calculated field that only keeps values under the indicated value for the parameter (filtering by maximum)
create another parameter to sort the worksheet
data in the worksheet is correctly sorted and filtered
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
The text was updated successfully, but these errors were encountered:
@ihrimech
It sounds like you want getSummaryDataAsync, which has the parameters, calculated fields, and sorting applied. getSummaryDataAsync returns the data that is currently in the viz.
Let us know if that doesn't work for you.
John
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:
Steps to reproduce :
The text was updated successfully, but these errors were encountered: