Skip to main content

Hi All,

 

I am trying to use getUnderlyingDataAsync method to perform a CSV export but if i set the {maxRows: 200000}, I am getting a error Uncaught range error: Invalid string length. Attached is a screenshot of the error.

 

Is it a bug in the API? How can i workaround the issue. Any help would be really appriciated.

 

Thanks.

답변 6개
  1. 2020년 4월 11일 오전 12:14

    Hi Akshar,

     

    Per the Dashboard Extensions API docs, the limit is 10K rows:

    Hi Akshar, Per the Dashboard Extensions API docs, the limit is 10K rows:I'm not sure if the same limit applies to the JavaScript API (in case that's what you are using), but I'd guess it is or you mig

    I'm not sure if the same limit applies to the JavaScript API (in case that's what you are using), but I'd guess it is or you might end up eating all the resources on your local computer (by storing all that data in a JS object).

     

    If you need to export more rows, you may want to try using the out-of-the-box export functionality in Tableau Server. Or, you can do multiple pulls using the API:

     

    1. Filter the Viz

    2. Pull CSV_1

    3. Update the Viz with new filter

    4. Pull CSV_2

    ...

     

    You can union all CSVs after that.

     

    Hope this helps!

    Santiago

0/9000