cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

When Does Cache Refresh Happen w SSAS?

Hi all. I found an article that describes direct connections(SSAS for example). I had a question on some things. https://docs.microsoft.com/en-us/power-bi/refresh-data#live-connections-and-directquery-to-on-premis...

It says the database updates the visual when “you interact with a visual”. What defines interacting with a visual? Do I need to full-screen it or just open up the dashboard containing the visuals?

Also, I have the understanding that this doesn’t apply to the actual report. In PBIRS when does the data refresh for the report? Every cache refresh cycle(whatever it’s set at) or something else?

Any other information you think is necessary would be appreciated as well.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver IV
Resolver IV

Re: When Does Cache Refresh Happen w SSAS?

No problem. No with a live connection the report will always go to the SSAS database. Of course you could set your models to run in memory in the SSAS server and they will be quick to respond.

 

Hope this helps.

View solution in original post

5 REPLIES 5
Highlighted
Microsoft
Microsoft

Re: When Does Cache Refresh Happen w SSAS?

There's two modes, direct query and cached, depending on how you authored the report. 

 

Direct query, queries your back end data source with every query or interaction with the report (e.g. every click). Cached, uses a copy of the data stored locally and is refreshed by the refresh plan you setup on the server. 

Highlighted
Resolver I
Resolver I

Re: When Does Cache Refresh Happen w SSAS?

Does “every click” include loading a dashboard?
Highlighted
Resolver IV
Resolver IV

Re: When Does Cache Refresh Happen w SSAS?

Your link is for the Power BI Service (e.g. hosted in Azure) rather than the on-prem Report Server, so disregard that post.

 

For connecting the SSAS databases you have two choices, import or connect live. Import will bring that data into the database supporting your Report Server instance. Connect live will connect directly to your SSAS instance.

 

If choosing import, you will need to setup a data refresh to refresh the data imported into your Report Server instance.

 

For both options, bear in mind you need to refresh the SSAS instance. We achieve this by issuing an SSAS command at the end of our ETL routines (orchestrated by the SQL agent) which refresh the relevant areas of SSAS.

Highlighted
Resolver I
Resolver I

Re: When Does Cache Refresh Happen w SSAS?

Thank you very much. To clarify, using a live connection to SSAS there's no way to access cached data, correct? I'm trying to understand if there's some way of using SSAS live connection without querying the SSAS database every time a user views a report.

Highlighted
Resolver IV
Resolver IV

Re: When Does Cache Refresh Happen w SSAS?

No problem. No with a live connection the report will always go to the SSAS database. Of course you could set your models to run in memory in the SSAS server and they will be quick to respond.

 

Hope this helps.

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors