Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Scheduled cache refresh for DirectQuery greyed out

Hi, 

 

I have a dataset with a direct connection using DirectQuery and would like to schedule cache refresh so that the dataset doesn't update everytime a user interacts with it. However, I cannot set the refresh frequency, as it is greyed out. 

 

Does anyone know what my issue could be? 

1 ACCEPTED SOLUTION

hi, @Anonymous 

It's pleasant that it works well now. Could you please tell me if you have other problem? If not, could you please mark the helpful replies as Answered?  Smiley Very Happy

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
fijijuan
New Member

I have the opposite problem.  I have a dataset that I cannot turn off the scheduled cache refresh. The check box is grayed out in the on position.  I'm not comfortable creating these real-time reports (that create their own dataset), and then they are auto being refreshed every hour.  Some of these reports don't even get used after a few weeks. I rather the database hit occur only when user opens the report.

That is why I chose direct query.  I did not want to schedule the dataset, and our end users are consuming via the app, so they dont have ability to refresh the dataset in the workspace manually.

v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

You need to add the data source into gateway and enable it as below, then it will work well.

6.JPG7.JPG

 

https://docs.microsoft.com/en-us/power-bi/refresh-data#live-connections-and-directquery-to-on-premises-data-sources

https://docs.microsoft.com/en-us/power-bi/service-gateway-manage

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you for your reply. The data gateway was insalled and running but the field was still greyed out. However today I can set the refresh schedule for some reason. Maybe I just had to give it some time. 

hi, @Anonymous 

It's pleasant that it works well now. Could you please tell me if you have other problem? If not, could you please mark the helpful replies as Answered?  Smiley Very Happy

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.