New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All values in the Excel sheet are Strings #1
Comments
I did raise this issue with Tableau tableau/extensions-api#121 and while the issue may have been fixed on Tableau's side (although the issue hasn't been closed) I haven't had chance to dive in and check. I'll update when I know. |
Tableau says this issue has been fixed since version 2018.2 (which we are using). I had a look at your source code as well as the underlying SheetJS library. I can understand why everything is a string in the resulting Excel file. The call
The Unfortunately it's not possible to forward the data types of
then/correct:
This needs to be done with all possible data types. If this fixed json is then forwarded to SheetJS, the result is what you would expect! //UPDATE:
|
Hello. I needed a version to run on a local server so no external server would be used. I didn't see this issue earlier, which would have helped my debug. However, I've created a version where I've : -- updated to the latest version of the extension API, and latest for community xslx.js (not sure if last needed) I pushed a "Col_Types" branch to my forked repository (https://github.com/shimrot/Tableau-Extension-ExportData/tree/Col_Types). It may be adequate but take a look. I have no tableau server instance with which I'm able to test. However, I was able to check results with my "indirect_server_save" branch - which requires a different discussion. |
Any word on when this will be available? |
Thanks for your branch @shimrot I've now added your suggestion to the v2 release with one or two tweaks. The meta from Tableau's summary data is now passed into the Excel file. |
Hi,
when exporting anything from Tableau (Server) every single column inside the Excel file is a String. This leads to the problem that you can't calculate with numbers, build sums etc.
Is there any way to avoid this behaviour? The underlying SheetJS should have no problems with real numbers but it seems that Tableau somehow masks every attribute as String. The same thing happens when using the internal csv export option of Tableau by the way.
The text was updated successfully, but these errors were encountered: