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

enter image description here

but how update manually using tableau api in embedded web?

i have tried

 setinterval(function () {viz.refreshdataasync() }, 3000); 

you can find tableau api here

{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:

  1. open workbook in tableau desktop client, refresh data source manually. republish workbook.
  2. 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.refresh option while publishing

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -