Skip to main content

Hi All,

 

I have the R script for preforming linear regression in a calculated field in Tableau. The input variables for the regression are available for the user as a parameter in tableau dashboard.

I have published this view to the Tableau server. Now, as and when the user changes each and every input variable , R script is running for each and every time and it is time consuming.

 

I wanted to run the R script only after the user selects all the variables and clicks refresh button. Is there any way to handle this ?

 

I was thinking of including the R script inside a "if" condition (to make it run only after the refresh button is pressed). Have any idea how to check this / what condition to be used ?

 

Thanks,

Peri

2 answers
0/9000