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
Markets
Frequent Visitor

Importing/DirectQuerying MONSTROUS database

Hi! I made my first reports with PBID with any issues against my test SQL database. It works great, but when I launch it against the current SQL database (TOO BIG DB, millions of rows at some tables), the server can't afford it and shuts down, using import or direct query. I was reading about ways to improve performance and keep low latency, and I found some demos where reports use live connection against huge databases. I was trying to optimize my querys, using extrictly column and rows I really need, but it crashes in the same way.

The most common advice for this, is deploying one SSAS at my SQL server and model the data into multidimensional cubes, in order to consume that data from my reports, but I think that solution is not enough for my case.


Is there some way to deal with that trouble without going through SSAS and cubes?


Thanks a lot!

1 REPLY 1
Anonymous
Not applicable

Hi @Markets,

There are some proposals for you troubleshoot the above issue.

1. Download the latest version of Power BI Desktop(2.42.4611.901) and install 64 bit Power BI Desktop.

2. Make optimization at SQL Server database level, for example, add proper indexes. For more details about optimization and performance turning tips, please review the following blogs.

https://host4asp.net/optimize-sql-databases/
https://www.codeproject.com/Articles/34372/Top-steps-to-optimize-data-access-in-SQL-Server

3. Connect to SQL Server database via DirectQuery mode with restricted rows and columns.

If Power BI Desktop still crashes, please go to File -> Options and settings -> Options -> Diagnostics in Power BI Desktop and click "enable tracing", then re-connect to SQL Server database and check the detailed logs in the traces folder. Also please help to post the detailed logs here.

Thanks,
Lydia Zhang

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.