-
Notifications
You must be signed in to change notification settings - Fork 445
Open
Description
Describe the bug
Tableau's autogenerated count field is not recognized when refreshing a hyper and publishing it to Cloud.
Publishing with TSC causes that field to be regenerated when opening a web edit workbook or a local workbook that is connected to the published datasource. The original count field becomes an invalid field and any calc field referencing it breaks.
I think I've narrowed it down to the publish portion of the script.
Versions
- Tableau Cloud
- Python version: 3.11.8
- TSC library version: 0.37
To Reproduce
- Create a new simple hyper and publish it. I published it from Desktop to Cloud.
- Set the workbook to use as datasource during publish.
- Connect another workbook to the local hyper file.
- Run refresh and publish
- Only the workbooks that are connected to the published version of the datasource see the error. This includes a web edit version and the local desktop version of the workbook.
- On recommendation, I used
TSC.update_hyper_dataaction:replaceand this corrected the error in Cloud and local workbooks. - running the original script on the original broken then fixed datasource again changes the outcome a little bit. Calculated fields that reference the
Extract(count)field break, the invalid version of the field is not present, but a working version is and theNumber of Recordsfield appears.
Results
The original count field becomes an invalid field and any calc field referencing it breaks.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.
Metadata
Metadata
Assignees
Labels
No labels