For performance testing and optimization, it's useful to measure the raw performance of a Form refresh (how long it takes to refresh the Form from a cold start). To do this, you need to ensure the SSAS cache is clear before you measure any response times. We will show you how to clear your SSAS cache, in this article.
1. Open SQL Server Management Studio and connect to your Analysis Server.
2. Expand Databases.
3. Right-click your target database and select New Query > XMLA.
4. Copy and paste the following code into the query. Change the DatabaseID to your database name.
5. Select Execute to run the query.