Using Java script API, how do I get the list of values of a dimension (example Business Unit) and show it in my website as a drop down combo(or a check box / radio button) and then use this as a global filter to my embedded workbook?
2 answers
There is no way to do this with the JavaScript API as of yet - The API focuses on controlling a visualization rather than using it as a way to pull lots of data OUT of Tableau for other purposes.
There has been some public dicussion around the fact that some of these features may get added in the future, but that is longer term. In the short term, you'll probably need to query the database directly yourself or use the "baked in" filters of Tableau.