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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
afaro
Helper III
Helper III

Refresh not working due to DirectQuery source and calculated table

"We cannot refresh this dataset because the dataset contains calculated tables or calculated columns"

 

I used two semantic models in DirectQuery mode and then used them to create a summary table using calculated table. 

I wanted to not import the tables directly in the dataset again to ensure that the semantic models can be reusable across different reports. However, I am facing this refresh issue and do not know of any workaround that can fix it other than to import the tables directly from source again instead of semantic model. 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @afaro ,

Thank you for reaching out to Microsoft Fabric Community Forum. Also thank you @lbendlin  for your inputs.

 

The error you're encountering occurs because the dataset includes calculated tables or columns while also using semantic models (datasets) as DirectQuery sources. This combination is currently not supported for refresh operations in the Power BI Service.

 Calculated tables are evaluated during dataset refresh, but datasets that connect to other semantic models via DirectQuery cannot perform these evaluations during service-side refresh, which leads to the failure you're seeing.

 

To resolve this, you can either avoid using calculated tables and instead implement the logic using measures or visuals, move the summarization logic upstream into the source semantic models, or switch to importing the required tables if the calculated table is essential. We understand the goal of maximizing model reuse, and we're happy to help you rework the model structure based on these supported patterns.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thankyou.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @afaro ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

Anonymous
Not applicable

Hi @afaro ,

Thank you for reaching out to Microsoft Fabric Community Forum. Also thank you @lbendlin  for your inputs.

 

The error you're encountering occurs because the dataset includes calculated tables or columns while also using semantic models (datasets) as DirectQuery sources. This combination is currently not supported for refresh operations in the Power BI Service.

 Calculated tables are evaluated during dataset refresh, but datasets that connect to other semantic models via DirectQuery cannot perform these evaluations during service-side refresh, which leads to the failure you're seeing.

 

To resolve this, you can either avoid using calculated tables and instead implement the logic using measures or visuals, move the summarization logic upstream into the source semantic models, or switch to importing the required tables if the calculated table is essential. We understand the goal of maximizing model reuse, and we're happy to help you rework the model structure based on these supported patterns.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thankyou.

Anonymous
Not applicable

Hi @afaro ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

lbendlin
Super User
Super User

I had imported two semantic models in DirectQuery mode

That's not a thing. It's either Direct Query Mode or it's Import Mode.  

 

and then used them to create a summary table using calculated table. 

That pretty much negates the idea of Direct Query. Your calculated table will be recalculated each time a user interacts with the visuals in your report.

 

 other than to import the tables directly from source again instead of semantic model

You can do either.  Sadly, it is possible to import data from a semantic model.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.