Frankly, there is no problem with what Tableau Server is doing, the problem lies in the mindset of the developers: Making improvements is a worthy reason alone! Personal opinion aside, there is no fix for this as the logic is set in the Server and the implementation makes sense.
If you query the repository for Historical Events, you can see the number of Views for a Workbook, irrespective of whether views within the Workbook have been deleted / updated, etc.
You will be able to see the view count for each view and the workbook in total.
Does this give you what you need?
Number of Views for Workbook.twb 55.7 KB
2 of 2 people found this helpful
I don't believe your statement to be entirely correct. I frequently update /tweak workbooks I own by republishing them to the server and the historic viewed stats don't get reset. I am overwriting the existing report though, so the 'workbook id' stored in the postgres database is being retained (essentially updating an existing record in the db).
If your users are either a) publishing a new instance and then deleting the old* or b) deleting the old and then publishing a new version**, then the ids will be changing, hence the stats start again as the database sees these quite rightly as completely different instances (you're inserting records in to the db).
* a) you'd only be able to do this if publishing workbook with same name to different project and then the url of the workbook would be modified with a _1 or similar at the end
** b) this way you can then publish the same project and the url will be retailed but it is still a new instance.
1 of 1 people found this helpful
We are having somewhat similar situation where business want to preserve the views and favorites count that was in dev stage, and it should be preserved when the dashboard is moved to production.
It will only work in the following scenario
There needs to be a workbook with the same name within the site project folder, Over write and views and favorites are preserved.
If you keep the workbook name the same, but the worksheets /dashboards within the workbook are renamed, it will loose the views and favorites.
And there is no way of retaining that as its not stored in the database
That should not affect the view count