This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Power BI Live Connect reports allow the dataset to be stored in Azure Analysis Services (Azure AS) or SQL Server Analysis Services (SSAS) while the report itself resides in the Power BI service. Report interactivity can be enhanced by Power BI maintaining caches of dashboard tile data and report data for initial load.
However, enterprise BI deployments where semantic models are reused throughout organizations can result in a great deal of dashboards and reports sourcing data from a single Analysis Services (AS) model. This can cause an excessive number of cache queries being submitted to AS and, in extreme cases, can overload the server. This is especially relevant to Azure AS (as opposed to SSAS) because models are often co-located in the same region as the Power BI capacity for faster query response times, so may not even benefit much from caching. This post discusses the options to disable automatic cache refreshes including the new governance setting called ClientCacheRefreshPolicy.
PBI_service_scheduled_refresh
The above setting may depend on report authors being conscious of the Power BI cache refresh behavior and taking the time to set it. An administrator can set it for each individual dataset one by one, but it does not prevent new Live Connect reports from being uploaded with the default 1-hour frequency.
Currently the setting is only for Azure AS, not SSAS.
You can set this property using SQL Server Management Studio (SSMS) in the Server Properties dialog box.
Azure_AS_server_property
ClientCacheRefreshPolicy is an integer with the following allowed values.
· 0: Discourage all background cache refreshes
· -1 (default): Allow all background cache refreshes
Setting the property to 0 does not disable caching of tiles and report data altogether; it just means they are refreshed on demand. Power BI still polls the AS model at the interval specified in dataset settings and invalidates stale caches, but they are not refreshed automatically. Instead, caches are created on demand based on user interaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.