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

Hi All,

 

I am listening to FILTER_CHANGE event on the viz but the function onFilterChange is getting called multiple number of times,

 

onFirstInteractive: function(){

          tableauViz.addEventListener(tableau.TableauEventName.FILTER_CHANGE, onFilterChange);

          tableauViz.addEventListener(tableau.TableauEventName.MARKS_SELECTION, onMarksSelection);

        }

}

 

I am trying to save the filters users has applied for processing in the database, but the function is getting called multiple number of times.

 

Any help in this would be really great.

답변 5개
  1. 2021년 2월 22일 오후 7:06

    Hi Akshar,

    Can you test this in a smaller environment, like a hello world page? Also, are you unregistering your event listeners as well so they don't duplicate?

    -Keshia