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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
nbs33
Helper II
Helper II

Load errors when connect to Datamart SQL Server

Hi,

 

I recently created a Datamart and want to take an existing report which is connected to an on-prem SQL Server via a gateway and swap the source to the Datamart's underlying SQL Server.

 

I change the source of all my queries but I get either inconsistant loads or they timeout. It's hard to determine the failure mode because it changes.

 

I tried loading one table in a blank file and it works but when I try to load multiple it fails.

 

I have three table with between 2 to 5 million rows and am wondering if the size has something to do with it. Maybe I need a composit model. Any help or suggestions are greatly appreciated.

 

Invoice Load error.png

load failure.png

6 REPLIES 6
Anonymous
Not applicable

Hi @nbs33 ,

According to the error message display in your screenshot, it seems there is syntax error in the measure [Invoince Count] which involves the table [Invoice]. In order to make troubleshooting and give you a suitable solution, could you please provide the formula and the logic of the measure [Invoince Count]? Thank you.

Best Regards

Hi @Anonymous I have tried everything. Loading the data in a new file. I've tried using the SQL Server connector with the connection string. I have also created a new datamart and tired loading the data again. Nothing seems to work. The most recent attempt with the new datamart gives me this error. Can you help me connect Microsoft support directly? I think this is an issue with the new Datamart feature.

 

nbs33_0-1665422093423.png

 

Anonymous
Not applicable

Hi @nbs33 ,

Whether you problem still persist? If yes, you can raise one support ticket to support team by yourself if you have a pro license. Any comment or problem, please feel free to let me know.

 

Best Regards

Hi @Anonymous 

the measure is as follows:

Invoice Count = COUNT( Invoice[InvoiceKey] )
...btw I corrected the spelling error 🙂 
Anonymous
Not applicable

Hi @nbs33 ,

Thanks for your reply. But as checked the screenshot you provided in your last reply, but that expression (Invoince Count=countrows(Invoice) ) in the screenshot is different with this one: Invoice Count = COUNT( Invoice[InvoiceKey] ) ...

yingyinr_0-1665112898069.png

Whether the problem still persist after you correct the spelling of expression? If yes, could you please try to refresh again and check if it is working or not? Or please try to create new Datamart using the same data source and configuration, then check if all can work well....

Best Regards

Hi @Anonymous the issue still persisted after fixing the measure. I opened a blank pbix file and connected to the datamart but got the following error.

 

I will try making a new datamart.

 

nbs33_0-1665174170960.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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