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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mihaicrt
Frequent Visitor

Refresh error - Single Sign-on (SSO)-enabled Direct Query data source.

Hello all,

 

I’m working on both the development and support sides of Power BI. So far, I’ve had two incidents related to this error, which took me a long time and a lot of effort to resolve. I’m looking for a more efficient way to handle it in the future if I encounter similar issues.

 

The problem occurred when trying to refresh reports in Power BI Service, and the error message was as follows:

"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."

 

After investigating the data model, I discovered that the issue was caused by the report using other semantic models as data sources set to 'Direct Query' storage mode, which contained calculated tables and columns.

 

The solution was challenging and time-consuming because I had to identify all the data sources used in the report, obtain the necessary access permissions for the user, and rebuild the model by connecting directly to those data sources and setting them to 'Import mode.'

 

Has anyone else faced this error before? If so, how did you solve it? I feel like I might be missing something.

 

Also, I should mention that eliminating the calculated tables or calculated columns wasn’t a viable option in my case.

 

Thank you! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mihaicrt 

 

I found a post with a similar problem to yours with several solutions mentioned by other users, I hope it helps you.

Refreshes for Datasets containing Calculated Table... - Page 7 - Microsoft Fabric Community

 

I put screenshots of the number of messages with the workaround below so you can find them faster.

 

vxuxinyimsft_2-1738294767227.png

 

vxuxinyimsft_3-1738294797448.png

 

vxuxinyimsft_5-1738295138765.png

 

 

vxuxinyimsft_4-1738294955768.png

 

Best Regards,
Yulia Xu

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @mihaicrt 

 

I found a post with a similar problem to yours with several solutions mentioned by other users, I hope it helps you.

Refreshes for Datasets containing Calculated Table... - Page 7 - Microsoft Fabric Community

 

I put screenshots of the number of messages with the workaround below so you can find them faster.

 

vxuxinyimsft_2-1738294767227.png

 

vxuxinyimsft_3-1738294797448.png

 

vxuxinyimsft_5-1738295138765.png

 

 

vxuxinyimsft_4-1738294955768.png

 

Best Regards,
Yulia Xu

 

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

Hello, 

I'm encounterign the same issue: "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."

Reading the solutions in the forum I tried to grant the access control but the option is not availavble:

EliasForma_0-1738852432895.png

The option is greyed out also for the workspace owner. 

 

Do you have any idea why this is appening?

 

Thank you

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.