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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Data not showing in Power BI service using Direct query mode but its showing in desktop

Hi team,

 

We recently are facing some direct query issue.

 

Data not showing in Power BI service using Direct query mode but its showing in desktop.

Even with 4 mb data tables, its unable to load.

Its giving the following error.

SubhamKumar_7_0-1689256841322.pngSubhamKumar_7_1-1689256876004.png

or its giving this error

SubhamKumar_7_2-1689256903311.png

Its working fine with direct query mode.

Please help me in understanding what can the issue be and how can we resolve it.

@ibarrau @GilbertQ 

2 REPLIES 2
ibarrau
Super User
Super User

Hi. I'm not a direct query expert but let's see. We might need futher information in order to help. For example, what's the direct query source? are you conecting to tables or views? have you created a data model in there?

The first error sounds like you haven't configured the conection to the source correctly, if it's on premise you need a gateway, if not then you need to edit the credentials.

There is a limit on the time and size of the result of the query that can produce an error like the second one. If the data model is not built correctly, it can take a lot of time. The error shows it last 225 seconds. Even if it continue, it doesn't make sense for a user to wait that long.

For using direct query correctly, please make sure to follow this guide: https://learn.microsoft.com/en-us/power-bi/guidance/directquery-model-guidance

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

Thanks for the reply @ibarrau ,

FYI, the report was running smooth ,until monday . No changes were pushed to report. It automatically started throwing these errors from Monday.
I am taking data from postgres and its connected to tables,not views.

Previously the data would come in 1- 2 seconds, nows its getting timed out and still data is not coming. If it was the proper configuration or data model problem, the dashboard would never have shown data, but it was running smooth from last 6 months.

What could have gone wrong, I definitely know that the issue is not from Power BI side, its either gateway issue or from where the data is coming. Because it stopped working ans started throwing error all of a sudden. 

And its not just this report, my other reports which were running in direct query all stopped working but the ones with import mode is working fine.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors