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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Cuatexoft
Frequent Visitor

PowerBi error on MariaDB Direct Query Dataset

I created a  directquery dataset in PowerBI Desktop connected to our MariaDB database using the MariaDB ODBC,  then I published it and our IT team created the Connector in the Gateway, and I created a new MariaDB Data Sourse using my database server credentials, the Data Source appears Online 

Cuatexoft_0-1672895124751.png

but when I enter to the dataset Settings I got this message 

 

We cannot discover all data sources in this dataset right now because the dataset uses a customer connector. Make sure the data gateway associated with this dataset is online and has the custom connector loaded, then click again on Discover Data Sources. Learn more

Discover Data Sources

 

When I click to Discover Data Sources I got this error

 

 Unable to determine the data source. When custom connectors are used, the error can happen if gateway doesn't have the extension enabled. Details: Static analysis failed in gateway. gatewayObjectId:527c76f5-9850-42ef-9603-efce282a77e7, resultCode:FailedWithUnknownOrUnsupportedDataSources Query contains unsupported function. Function name: MariaDB.Contents .Learn more

 

Any Idea about what is happening and how to solve it?

6 REPLIES 6
Anonymous
Not applicable

Hello, 

 

For our case we had to remove the third argument in the datasource (which is null), so change your datasource from MariaDB.content("xxx.xxx.xxx.xxx",databasename,null) to MariaDB.content("xxx.xxx.xxx.xxx",databasename"), the issue will be resolved on the powerbi service and you could now see and configure the gateway section on the dataset parameters.

JNP
Advocate I
Advocate I

Any luck i have the same issue?

Cuatexoft
Frequent Visitor

Hi, sure, I got it solved, the issue was that the Cloud team was using an old old On-premise Gateway version, so 

  1. Upgrade your on-premise Gateway to the latest version (if no already done):

Update an on-premises data gateway | Microsoft Learn

 

Hopefuly this works for you!

Regards

Josue O

Okay Thanks i will try that tomorrow !👍

AbbasG
Memorable Member
Memorable Member

@Cuatexoft had a similar issue, check your gateway connection, if it is connecting to the same one that was created by your IT team.

It is using MariaDB Connector with Direct Query

Cuatexoft_0-1672934526670.png

 

 

So no Gateway settings in the Data Set 

Cuatexoft_1-1672934583131.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.