Hi @Joyzhao-MSFT .
We have Execution Time in the header so I can see it is showing the cached version. Thanks for all the ways a cached report can be invalidated. I was aware of those but good to know I was correct. BTW, I've got Microsoft SQL Server Reporting Services Version 15.0.1102.932 installed locally and was able to reproduce this problem, and we've got Microsoft Power BI Report Server Version 15.0.1108.153 installed on several servers (dev, several testing servers, production), and had this issue on all of them.
This is really strange. We have been having this problem on many reports over the last two weeks and yesterday I was able to reproduce it all morning. Then suddenly it started working fine and I couldn't reproduce the problem. This morning I tried several reports that had the problem and they all work as expected, the document map shows all the time. However, on one report where we created a history snapshot on 10/16 the document map is not showing. But I just now created a new history snapshot and it does have the document map. This problem happened to multiple users on different machines and different browsers. We didn't reboot anything or clear anything out, it just suddenly started working as expected. Some of the reports that have this problem produce very large output, as in 800+ pages. We thought maybe that had something to do with it because the smaller reports always worked. But the history snapshot I created this morning has 9,024 pages and shows the document map. I also ran the report with the same parameters as the history snapshot getting 9,024 pages and it shows the document map on the cached version. It is very strange.
One question. In the ReportServer database there's the table SnapshotData. In that table there's a field HasDocMap. I noticed that is set to NULL for all reports, even ones that have a document map. Do you know anything about this table and field, and why it would be NULL when there is a document map? It's a bit field so would there be any harm in setting that to 1?
I'm going to continue working on this to see if I can reproduce it again, and if I can I'll be sure to post it. Thanks for your help!