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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors