We can use the loop functions on the table

Can we use loop functions (for, while, do while) in a table calculated by fields? If possible, how can we use these functions in calculated fields and how can we initialize the variables declared in these functions?

+3


source to share


2 answers


No, we cannot. There are some hacks to do some calculations like this using PREVIOUS_VALUE and other table calculations, but there are no loop functions in the table.

Why? As Tableau is not designed for data processing, but rather a data visualization tool. Don't get me wrong, Tableau is very good at processing data, but only for performing "query-like" operations.



So why don't you post exactly what you are trying to achieve and we might be wondering if it is possible to accomplish this with Tableau or if you need some preprocessing of your data.

+4


source


I wanted to pass a list of values ​​to a parameter in a table using JSAPI, but was unable to pass. Is it possible to pass a list of values ​​through jsapi and display as values ​​to decrease in a table.



0


source







All Articles