tableau / embedding-api-v3-guide

migration guide for moving to embedding api v3
MIT License
28 stars 9 forks source link

Invalid float native values retrieved in the summary data of Workbooks using a live data source #54

Closed florent-guinard closed 5 months ago

florent-guinard commented 1 year ago

I have a Workbook that uses float and double values, and I want to retrieve its summary data with the Embedding API.

Float values are properly displayed in the Worksheet itself: image

Downloading the data in Tableau also displays the expected values: image

Using the Embedding API to retrieve the underlying data also produces the expected values: image

Using the Embedding API to retrieve the summary data produces invalid native values: image

I unfortunately can't share the Workbook used since it only happens for a live datasource: we no longer experience the issue if we switch to a data source extract.

It looks like the value we retrieve is the Java float approximation of "1.3" rounded to the 16th decimal: image

hackwithharsha commented 1 year ago

@florent-guinard In Embedding API, How do we get data summary? can you please share code snippet ?

florent-guinard commented 1 year ago

We're not able to reproduce the issue on Tableau Cloud 2022.4 (we were using Tableau Server 2022.3). I'll try to confirm that the issue no longer happens on Tableau Server 2023.1 and close the issue.

bcantoni commented 5 months ago

Closing due to age and the fact it appears to be resolved / no longer reproducible.