Skip to main content
Akshar Jamgaonkar 님이 #Tableau APIs & Embedding에 질문했습니다

Hi All,

 

We have a selected Wells Set Filter which is a set and user can add filtered results to the "set" using "add to selection" option on the map.

 

I am able to fetch the filters user has added to set using getFiltersAsync method, But i am unable to set the values using applyFilterAsync method,

 

I have tried by passing an Array, Single value, Array of quoted string, single quoted string. But every time I see an error "invalidFilterFieldValue".

 

Any help on how to fix this would be really great, Thanks,

답변 1개
  1. 2020년 8월 3일 오후 7:12

    Hi Akshar, could you share a snippet of your code? The following are two ways to apply categorical filters:

    worksheet.applyFilterAsync("Region", "West", tableau.FilterUpdateType.REPLACE)

    worksheet.applyFilterAsync("Region", ["Central", "West"], tableau.FilterUpdateType.REPLACE)

    -Keshia

0/9000