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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

why is direct query using scheduled refresh and not scheduled cache refresh

Hello,

 

I'm testing direct query vs import, I have a separate .pbix file for each.

Last week, my direct query was doing a scheduled cache refresh every 15 min and my import was set up to import every couple hours, no issues.

 

Today I log in and now my direct query wants to do a scheduled refresh, not a scheduled cache refresh. I created a new file, configured it as direct query, saved it under a different name and published it, and it still wants to do a scheduled refresh, instead of cache.

 

The only thing i can think of, is that the native custom query i have added is flipping it to an import somehow, but it didn't do that last week.

 

Custom native query underneath Import vs. DirectQuery selection:

 


SELECT [timestamp]
,[newDATETIME]
,[tagname]
,CAST([value] as float) as [value]
FROM [TurbineValues]

 

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

You should not see any data is the table view with DQ, if you add any additional datasource to the DQ pbix, it would be a mixed mode become import mode.

 

You can check the actual mode in Model view > Property > Advanced. 

 

Paul Zheng
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

3 REPLIES 3
Anonymous
Not applicable

@Anonymous 

You should not see any data is the table view with DQ, if you add any additional datasource to the DQ pbix, it would be a mixed mode become import mode.

 

You can check the actual mode in Model view > Property > Advanced. 

 

Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

That's it, thanks Paul.

 

The Model view tip is helpful.

I added a .xlsx as a data source in addition to the SQL table and that's what flipped the dataset it to import mode.

Should've noticed it, says in the documentation that Direct Query can only use 1 data source.

 

Thanks!

GilbertQ
Super User
Super User

Hi there

If you go into your PBIX and into the Table View, what is the properties set to on the table?

Is it set to DirectQuery or Import mode?

It would appear that it is on Import mode.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors