That's not good. You may want to reach out to Tableau Support on this one.
What version of Tableau are you opening this workbook in? It looks like that document was written by Tableau 2018.3, and it contains features your version of Tableau (probably 2018.1 or 2018.2) doesn't understand. If that's the case, consider advising your students to use the Export As Version dialog (File > Export As Version...) to save their workbooks at your version before sending them to you.
When using Export As Version, the exported documents may lose functionality. For example, `density-color` is associated with Heatmaps, a feature introduced in Tableau 2018.3 (Heatmaps, set actions, new dashboard formatting, and more—now available in Tableau 2018.3 | Tableau Software). A document exported to version 2018.2 or lower will lose any Heatmaps it contains.
Thanks for your post but this is not a version problem. Worksheets were created in Tableau 2018.3 and I am trying to load them in Tableau 2018.3. Dan Stone
When I open the attached workbook in 2018.3 or 2018.2, I only get one error: the `density-color` one. When I open it in 2018.1, I get all of the errors you mentioned. Are you getting all of those errors when opening in 2018.3, or just the density one?
I was able to get it opened. Since the main error seemed to be the density-color, and since Tableau files are actually .xml files, I opened the .twb file in a text editor (I'm talking about the .twb in your zip file, not the standalone .twbx file you attached).
I did a search for any line with "density-color" and only one came back. This one:
"<encoding attr='density-color' palette='tableau-map-temperatur' type='interpolated' />".
I deleted that line and saved the file. I was then able to open it in Tableau.
However, it seems like your student was likely using density marks and since I deleted that line in the xml, i think it removed the density coloring from the dashboard. You may want to have the student confirm how they intended for the viz to look, since right now it just shows dots on a map.
Let me know if you have any questions.
NYC+Wifi+Map - working.zip 213.6 KB
4 of 5 people found this helpful
This is a bug in 2018.3.0. These steps cause the problem to occur:
- Create a sheet and choose the `Density` mark type.
- Click on `Color` and change the color palette to anything other than `Automatic`.
- Change the mark type to something other than `Density`.
- Do not have any sheets using the `Density` mark type.
- Save the workbook - it will be un-open-able.
The bug should be fixed in 2018.3.1. Until 2018.3.1 is released, there are some steps your students can take to avoid writing bad workbooks:
- Go to every sheet, change the mark type to `Density`, make sure the color palette is set to `Automatic`, and then change the mark type back to what it was.
- Add a blank sheet to the workbook that uses the `Density` mark type. If any sheet uses the `Density` mark type, this problem doesn't occur.
These steps prevent saving bad workbooks, and Paul's suggestion should work to recover already-broken workbooks. Performing the TWB modification Paul suggested will not affect the functionality of the workbook, because this problem only occurs if the Workbook doesn't actually have any Density mark types in it.
Great - thanks.
Thanks alot for providing the solution! It totally worked for me.
Even after updating to Tableau 2018.3.1 the problem persists.
I think this should be reported to Tableau.
2018.3.1 still can't open workbooks broken by this bug, but it shouldn't write broken workbooks anymore. If you need to repair a workbook that is already broken, see Paul's message above.
Why is this still a problem? It was originally identified back in November 2018, but we're still seeing this today (5th June 2019).
We can't open a previously created workbook any more as it has the same error message.
When can we update to remove this annoying bug?
I came to this board because I was having a problem with the exact same messages about:
Errors occurred while trying to load the workbook "C:\Users\DanStone\Downloads\NYC+Wifi+Map.twbx". The load was not able to complete successfully, and
no declaration found for element 'simple-id', attribute 'uuid' is not declared for element 'simple-id', element 'simple-id' is not allowed for content model
but there was nothing about density in my error message.
I tried opening the file directly from the file explorer instead of from Tableau's File>Open menu and miraculously it opened without a hitch.
1 of 1 people found this helpful
I was helping someone with this same issue and thought I would share a workaround that worked for us.
Please note that the issue seems to be fixed in 2019.1, but if you need the workbook to work in a prior version like we did, then the following steps should work:
- Install Tableau Desktop 2019.1 and open the affected workbook.
- Go to File > Export As Version...
- Select the desired Tableau Desktop version that you need the workbook to work in by clicking the Export As dropdown.
- Click Export and select where you want to save the file when prompted.
- Open the version of Tableau Desktop the original workbook was issues in and open the newly saved workbook. =)
Hope this helps!