2 Replies Latest reply on Jan 6, 2017 11:20 AM by Alex Katona

    Is it possible to use getData() to get values of table calculations?

    Alex Katona

      I’ve been testing the JavaScript API and I noticed that using the getData() or getColumns() functions do not return the values or column names of table calculations. This somewhat makes sense since table calcs do not appear in the View Data dialog and are computed locally. However, I wanted to see if anyone else is experiencing this or has come up with a workaround.

       

      I’m using the Tableau and R integration to do some machine learning in R and then return the results to Tableau. Then, I was going to feed the R results into a D3 network diagram using the JavaScript API. The R integration is created using table calculations so if the JavaScript API is not able to return values from table calcs, then I can’t access the R results using the JavaScript API. It seems like this would also affect the Python integration.

       

      Alex