tableau - How to update dashboard data with google sheet manually? -
in tableau public when dashboard google sheet published tableau update data everyday or can update manually shown in below image
but how update manually using tableau api in embedded web?
i have tried
setinterval(function () {viz.refreshdataasync() }, 3000);
{edit: removing answer of adding ?:refresh=yes url, doesn't work in case.}
tableau public creates extract of data in google sheet, need refresh viz.refreshdataasync() work.
i don't think tableau has exposed javascript or rest api of refreshing extract on tableau public.
there 2 (crappy!) options see open:
- open workbook in tableau desktop client, refresh data source manually. republish workbook.
- depend on tableau refresh data. can choose 'keep data in sync google sheet. embed google sheet credentials' option while publishing tableau public. tableau (hopefully!) refresh extract once every day. see image below.
Comments
Post a Comment