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

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

Reply
webportal
Impactful Individual
Impactful Individual

Can't refresh semantic model

My semantic model contains a direct query connection to a table and a dataflow connection to another table.

No calculated tables.

I get the error upon refreshing:

 

"We cannot refresh this dataset because the dataset contains calculated tables or calculated columns based on data from a Single Sign-on (SSO)-enabled Direct Query data source. Please configure the dataset to use an explicit connection with granular access control to access this data source and then try again"

 

And the warning in Power BI desktop:

webportal_0-1727196812959.png

 

 

 

4 REPLIES 4
Lan_Ng
Regular Visitor

I encountered the same issue when I first published a composite model which had a calculated column that relied on a DirectQuery table within a published semantic model.

Here's my successful workaround:

1. Create a Shareable Cloud Connection for this DirectQuery data source connection:

  • Open the Settings of this composite model dataset. Under "Gateway connections" > "Cloud connections," select the "Maps to" dropdown and choose "Create a connection."
  • Select "Authentication method" as OAuth 2.0 and enter credentials.
  • Enable "Use SSO via Azure AD for DirectQuery" by checking the box.
  • After creating the connection, check that this DirectQuery data source is mapped to the newly created connection (instead of Personal Cloud Connection when the composite model was first published)

2. Under "Data connections", you can tick on "Disconnect this item from data sources if it's edited by anyone who doesn't have permission to use its data connection." This option is to set up Granular Access Control for this dataset. In my case, I left it unchecked and the dataset refreshed successfully.

Reference Links:

webportal
Impactful Individual
Impactful Individual

No calculated columns either.

I simply load the data through direct Query.

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

lbendlin
Super User
Super User

No calculated tables, but does it have calculated columns?  Did you make additions to the Direct Query data source?

Helpful resources

Announcements
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