-
Notifications
You must be signed in to change notification settings - Fork 446
Description
Describe the bug
When publishing a workbook to Tableau Server using the Tableau Server Client (TSC) Python library, a column in the underlying table that contains None values is being converted to the string "All".
This happens only when publishing via TSC.
Publishing the same workbook manually to Tableau Server preserves the None values correctly.
Expected behavior
When publishing a workbook using the TSC client, column values that are None should remain unchanged—exactly as they do when publishing manually to Tableau Server.
Actual behavior
A datasource table includes a column with None values.
When publishing the workbook using TSC (server.workbooks.publish()), the None values in that column are changed to "All".
No transformation or custom handling of values is applied in the Python script.
Versions
Details of your environment, including:
- Tableau Server version - 2025.1.7 (20251.25.0825.1650) 64-bit Linux
- Python version - 3.9
- TSC library version - 0.15.0
To Reproduce
- Create a workbook with a datasource table containing at least one column with None values.
- Publish the workbook using TSC:
- server.workbooks.publish(wb_item, file_path, mode)
- Open the published workbook on Tableau Server.
- Observe that the original None values have been replaced with "All".
Results
This issue leads to incorrect data representation in the published workbook and may cause:
- Misleading data displays
- Filters not behaving as expected
- Broken calculations relying on None values
- Confusion or incorrect interpretation for end users
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.