tableau / embedding-api-v3-guide

migration guide for moving to embedding api v3
MIT License
28 stars 9 forks source link

How to apply filter for multiple worksheets in a dashboard #37

Closed Shyam268 closed 2 years ago

Shyam268 commented 2 years ago

The tableau dashboard has a multiple worksheets (composite view). and all worksheets are filtered by same id. when i provide filter to dashboard it applies to only one worksheet. other filters are set to "None". and each worksheet has separate dropdown with same id's.

This is the code snippet

` <tableau-viz id="tableauViz"
src='server/views/workbook/workshhet'
token={JWT} toolbar='hidden'>

 </tableau-viz>

` how to apply filters to other worksheets ?

illonage commented 2 years ago

Hey @Shyam268 - Thanks for opening an issue. Are all your worksheets using the same data source? If you add a drop down filter to the dashboard and filter the data, does it work?

Shyam268 commented 2 years ago

@illonage Yes all worksheets using same data source and drop down filter is working as expected. onLoad is not working. is there any event similar to onLoad ? . need an event when dashboard loading is completed.

Shyam268 commented 2 years ago

working for other dashboards.