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

Can't schedule refresh on a dataset that doesn't contain a DirectQuery (but used to)

Hi guys,

 

I have PBIX file that has a bunch of queries to an Azure SQL server. All of these queries are import.

At some point, I tried to add a Direct Query on PBI Desktop (after turning on the Preview Feature). 

 

It wasn't great because of the constraint to make many-to-many relationships with Import queries so I removed that only Direct Query.

Now when I publish this PBIX file to the PBI service, I can't schedule the refresh anymore, it treats it as a DirectQuery only file.

The data set has this warning displayed: 

This dataset connects to a source with DirectQuery, which is always up-to-date. You don't have to schedule a refresh on this dataset.

 

But I actually don't... All the queries are import. Is there any way to trick the service into importing the data again?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Ross,

 

Thanks for your reply. 

 

I've found a solution: in the options, de-activate Composite Queries in the options, add a table with Enter Data, delete it, save and re-publish and it works!

 

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Based on this article:

https://docs.microsoft.com/en-au/power-bi/desktop-composite-models

 

Once you make it a composite model, schedule refresh should treat it like an import model, not the other way around.

 

My first step would be to try getting the latest version of the Power BI desktop and publish again.  Also check the 'Data Source Settings' under the EDIT Queries menu to see if anything stands out to you.

Anonymous
Not applicable

Hi Ross,

 

Thanks for your reply. 

 

I've found a solution: in the options, de-activate Composite Queries in the options, add a table with Enter Data, delete it, save and re-publish and it works!

 

 

 

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.