Friday, September 30, 2016

Data Entry / Write Back in Tableau using Google Forms and Google Sheets

Here is a neat technique you can use to gather data right from inside your Tableau dashboard and write it to a 'database', which you can then connect to live to see real-time results.

Tableau is a read-only tool.  This is on purpose.  However sometimes there are scenarios where you might want to capture commentary, or host a poll/survey from inside Tableau, and you want to write that data back somewhere else.  Enter Google Forms and Google Sheets.  This technique works because Google Forms can accept entries via URL.  And Tableau and send URL actions which include dynamic inputs from your data.  Therefore we can post data to a Google Form from any Tableau dashboard to achieve 'write back' functionality.  I will walk through two use cases, but Im sure you will find many other creative ways of using this.

First step is to create your Google Form.  Create questions that are the same data type as what you want to have your users enter in tableau (numbers, string/text, etc).

For long Text input choose Paragraph:

And for numerical input you still choose text type of input, but choose Short Answer:

Note the unique ID of your form.  You will need this later when we make the URL Action in Tableau.

Right click in background and choose ‘View Page Source’:

Search for ‘entry’ and you will see them listed in order.  First occurrence is Question 1, next is Question 2, etc.  We will need to reference these when we create our URL action in Tableau.

Now let's set up a couple things in Tableau before we get to the URL actions (will need to make parameters and will need a sheet to act as the 'send' or 'submit' button).

Create a Parameter(s) in Tableau of the data type you want (string, integer, float, etc).  Show the Parameter(s) on your dashboard somewhere.  In this example I have a set of numerical parameters used for voting and another parameter used to capture comments (lets focus on the comment for now).

Create a new worksheet which uses the ‘Shape’ mark type and add a custom shape for your ‘Submit’ button.

Add this worksheet to your dashboard.

We will now create a URL Action to post the data to the Google Form.  Construct your URL so that it contains the Unique ID for your Google Form we found earlier in the browser, as well as all the entries/responses/inputs/parameters in it as well (separating them with ‘&’).  The form of the URL should look like this:[UNIQUE_ID_OF_YOUR_GOOGLE_FORM]/formResponse?ifq&entry.[ENTRY_1_ID]=[INSERT_PARAMETER_YOU_WANT_TO_ENTER_FROM_TABLEAU]&submit=Submit

If you need to submit multiple parameters/entries from this submission/click then separate them with ‘&’s and enter as many as you want:


Add the Parameter values using the arrow on the side:

Then after you submit your first response you can return to the Google Form in the browser and you will see your first ‘comment’.  Click the Spreadsheet icon to create (and then see) the Google Sheet:

And now let's look at what the Numerical inputs for out beer voting parameters look like in the Google Sheet of Responses:

Awesome!  Now we can open a new Tableau workbook to connect to this Google Sheet and build whatever dashboards we want from it.  If you are using Tableau 10 just select ‘Google Sheets’ in the Connect To Data list:

In 9.3 and earlier you will need to use the Web Data Connector to connect to Google Sheets.  Go here and scroll down until you get to the Google Sheets Connector:

Now you have a live connection set up to the sheet of responses – create whatever you want with it!  Here is a simple example using the voting/poll results:

Credit to Dash Davidson who showed me this technique in his presentation at Tableau Conference 2015!

-The Don


  1. Hi, thank you so much for sharing this!

    However, I think the link should start with "" - one "e" is omitted. At least in my case it doesn't work w/o it. :)


  2. Hi Stanislava - thanks for your input! I just double checked my older example and it is working without the extra "e" like you mention, but perhaps due to the region you are in or maybe you have google enterprise (just some guesses) it is requiring an extra letter in the URL? Either way thank you for your tip as others may find this helpful as well!

  3. Hi Jesse,

    I am using Tableau 10.1.5 and my personal Google Account.

    The strange thing is that it is working without any problems in Desktop, but when I upload it in Tableau Online or Tableau Public, it just doesn't work - no entries in the google sheet appear.

    I have 60 parameters and I checked them one by one from Desktop yesterday (all of them are included in the dashboard, where the Submit "button" is).

    Another approach which finally worked in my case is when:
    - for each parameter a calc.field is created
    - then the calc. field(s) should be added in a View (in Level of Detail shelf). This view should be included in the dashboard.
    and... it works :D

    I also tested:
    - pass static parameters, i.e &entry.688393943=YourName (I was thinking that the string should be in "" or '', but if I do it. it concatenates them to the str, so I receive "YourName" or 'YourNamne')
    Static parameters are working w/o problem. The problem comes when I add parameters. (I tested with just one static value, then replaced it with a parameter)
    The result is still the same - when I submit it from T. Desktop - a response is submitted, when t. Online or T. Public - no.

    In summary:

    - Constant values (static, hardcoded strings) are working in Tableau Desktop, Tableau Server and Tableau Public
    - Dynamic values from parameters - working only in Tableau Desktop
    - Dynamic values from parameters - working in Tableau Desktop, Tableau Server and Tableau Public
    after using calc. field fontaining the parameters. The calc. field should be included in a view, which is the Dashboard with Submit "button"

    I guess it can be an issue from Tableau side, (which will answer to "d" added in the link) or I just have some mistake, but I really can't see anything wrong. I double check everything :)
    So I will do it with 60 calc fields :)

    Thank you once again for sharing.


    1. HI, could you please post an example where you'd created 60 parameters and stored the value using calc. fields

  4. ...And also, most of the parameters are numeric. I was thinking that it might be a problem, when parsing the values, but again it is not this, because the same problem occurs when there are string parameters only in the link.


  5. Guess Google forms page source coding got changed now, unable to locate "entry xxxxx".

    Thanks for sharing!

  6. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Tableau.kindly contact us
    MaxMunus Offer World Class Virtual Instructor led training on Tableau. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.

    For Free Demo Contact us:
    Name : Arunkumar U
    Email :
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –

  7. Thank you so much. This is very helpful.

    Will this procedure work with any other survey sites like survey gizmo etc ?

    1. Also one more question... is there a way to refresh data source automatically ?

    2. so when ever a user submits a response that should show up in the tableau data source automatically..

      I have tried it using live connection to the google sheets ... but until i refresh the data source the data source is not getting updated

    3. Hi Rishikesh Bayya,
      I'm facing same issue. Manual refresh on desktop works but while on server, data sources doesn't get updated and I don't see latest data. Did you find out a way to solve this?

  8. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information. got a good knowledge.
    Tableau Online Training|
    SAS Online Training |
    R Programming Online Training|

  9. Iam very impressive your site gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you..

    Tableau online training

  10. Are you looking for Business Leads , data entry of specific criteria?

    Well, I am providing targeted Business Leads,(Company Name,Website,Business Phone Number,Direct Email address) data entry of your Specific Criteria/Location(Zip Code,City,State,Country) with high accuracy. Data Entry and Web Research Service

  11. This comment has been removed by the author.

  12. Thanks for your informative article.Really very useful.Tableau Training in chennai

  13. India Data Entry Services is a trusted Amazon Bulk Product Upload Services provider to e-commerce companies and platforms. Be it e-commerce product cataloguing or Product Upload Services, since our inception in 2010, we are striving to get all best o cater global organizations. The company is strategically positioned to support big or small e-Commerce Stores working on various domains such as fashion apparels, crockery items, furniture, accessories, shoes, bags, technology and much more. We house dedicated professionals who are assigned to separate divisions that are deftly managing Ecommerce Product Data Entry Services, specification and attributes for web stores, online retailers and eCommerce catalog companies.

  14. Any updates on this with regards to the google form source? what can I get now knowing that I'm unable to locate "entry: XXXXXXX)


  15. It is our need that you put it here in your post as much useful that all can take it as a good thing from your site. Thank you.
    digital marketing company in india

  16. Hi, I am Faiza. I can assist you with all kinds of Data Entry, Web Research, Copy Paste Work, Contact Details from Websites, PDF to Excel/Word, Image to Excel/Word, Typing in Excel/Word, , E-Manually Typing Work to Excel or Word Document and other various business related works. data entry

  17. Magento is one of the most popular eCommerce platform, customizable shopping cart platforms available. If you have chosen Magento as your eCommerce platform (WebSite), Acelerar can offer you end-to-end support with our efficient and streamlined Magento Product Data Entry Services at the most economical rates and 24x7 Support. Our Experts have a wealth of experience working on Magento Product Upload Services on eCommerce platform.

  18. This comment has been removed by the author.

  19. Health Is God expects to convey the most ideal wellbeing surveys of the supplement accumulations and different wellbeing generation that range from skincare to mind, muscle, male upgrade and cerebrum wellbeing conditions. You, the client are of most extreme significance to us, and we are focused on being the entrance that maintains your sound way of life.

  20. Nutra Trials defines personal characteristics of different health products including skincare, weight loss, muscle and male enhancement. The study presented here is briefly described for reader convenience and to deliver them assurance with health standards. The best possible answers are given here regarding the selection of an ideal supplement or cream or serum that possibly remains to be safe for health and do not cause any side effects.

  21. I think this is a real great article post.Really looking forward to read more. Visit at
    Crazy Video Hub

  22. It is a great job, I like your posts and wish you all the best. and I hope you continue this job well.
    NutraT line

  23. Dear Mr.Jesse,

    I have browsed and read many articles in tableau community forum and tableau kb regarding write-back workaround for Tableau but none of them seems to answer my need. Until I found this article and it is really what I need. It works great without trouble.

    Thank you so much for sharing this!

  24. Hello, I am thomus jons thank you for this informative post. That is a great job. Wish you more success.Thank you so much and for you all the best. Takes Down

  25. nice blog !! i was looking for blogs related of Data Capture Form

  26. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    Selenium Training in Chennai
    Selenium Course in Chennai
    selenium training in coimbatore
    best selenium training in coimbatore
    Selenium Training in Bangalore
    Selenium Training Institutes in Bangalore

  27. TecSmash is your ultimate source of Technology news and Make Money Online product reviews. We research and review all Tech, MMO, Biz Opp and IM products.TecSmash

  28. Income is the number one destination to find genuine make money online programs and services. Income designers

  29. HealRun is a health news blog we provide the latest news about health, Drugs and latest Diseases and conditions. We update our users with health tips and health products reviews. If you want to know any information about health or health product (Side Effects & Benefits) Feel Free To ask HealRun Support Team.

  30. We are here to give you a complete review on the Parallel Profit project by Steve Clayton and Aidan Booth. If you are someone from the field you would already be familiar with these two names, for those of who are new. Parallel Profits Review

  31. Pilpedia is supplying 100 percent original and accurate information at each moment of time around our site and merchandise, and the intent is to improve the usage of good and pure health supplement. For More Info please visit Pilpedia online store.

  32. Supplements For Fitness The five best glutamine supplements available in the market include BSN CellMass, Higher Power L-Glutamine, Xyience NOX-CG3, CytoSport Muscle Milk RTD and Prolab N-Large II. Glutamine supplements ensure

  33. Revuesdefaits defines personal characteristics of various health merchandise together with skincare, weight loss, muscle and male enhancement. The study presented here is briefly described for reader convenience and to deliver them assurance with health standards. The best potential answers are given here concerning the selection of a perfect supplement or cream or serum that presumably remains to be safe for health and do not cause any facet effects.

  34. Buyers Reviews defines personal characteristics of different health products including skincare, weightloss, muscle and male enhancement.Buyers Reviews is supplying 100% original and accurate information at each moment of time around our site and merchandise, and the intent is to improve the usage of good and pure health supplement.

  35. Suplementarios >>> La autenticidad de nuestro sitio web es claramente visible a través de salud y estado fisico con

    el nombre mencionado en él. Tenemos el mejor producto relacionado con la salud aquí y la tendencia a ofrecer nuestro mejor apoyo a los huéspedes que buscan

    detalles de los suplementos y comparaciones entre ellos. Para más información amable >>>

  36. Overnight Freedom Review by Mark Ling is an online affiliate marketing training program that teaches its students the intricacies of affiliate marketing. It tutors the students to achieve a 6 to 7 figure income through affiliate marketing.

  37. great article, write back is sim-leading though, since its not writing it back to database.

  38. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! Buy Pinterest Followers