Skip to main content
kobayashi junna ha fatto una domanda in Japan

tableau publicを使用しています。

データの一覧リストを表示しているtableauの埋め込みビューに対し、jsで「Tableau Embedding API v3」のAPIを使用し「addFilter」でフィルター、「getSummaryDataReaderAsync」でフィルター後の件数を取得しています。

しかし、データのアクセス制限設定をしなければならなくなり、「getSummaryDataReaderAsync」で件数を取得できなくなりました

この問題を解決する方法は何かあるでしょうか?

(アクセス制限設定をこのように変えたらいい、件数取得には違う関数が使えるなど)

1 risposta
  1. 20 mag 2024, 05:42

    Hi Junna,

     

    The only 2 suggestions that come to mind are to confirm if you are logging in as the site admin (it might not even be possible to get this level of access, but I am presuming that an account owner is the equivalent of a site admin) on Tableau Public, or a second option might be to convert to a URL reference because this can accept the filter, and then count the results.

     

    With a bit of magic HTML you could probably get away with it without even rendering the viz on screen if you have a main view embedded on the page, but I've not tested this theory or figured out how you might then return the result to another system. The part I do know is that you can extract figures out of the page XML so a well designed viz could potentially give you the result you are looking for.

     

    But is the juice worth the squeeze ? I'd say no.

     

    HTH

     

    Peter

0/9000