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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to make a oledb connection?


I'm looking for a way to make a connection oledb however only against odbc option

1 ACCEPTED SOLUTION
arify
Microsoft Employee
Microsoft Employee

In the Other (Outras), at the bottom there's a "Blank Query" option, click that one.

 

And then, when you have the formula bar, type:

= OleDb.Query

It'll show a small help about how you can use that function

Untitled.png

 

You can use it like this:

 

= OleDb.Query("your connection string", "your query")

 

You need to find out what connection string & query you need to type in 🙂

View solution in original post

6 REPLIES 6
arify
Microsoft Employee
Microsoft Employee

You can try OleDb.Query

Anonymous
Not applicable

I'm finding this option in Power Bi Desktop where exactly against this means of connection with my bank?

arify
Microsoft Employee
Microsoft Employee

Hi vitexo87, sorry, I couldn't understand what you're asking. Can you give me an example?

Anonymous
Not applicable

I find OLEDB connection option in the Power BI desktop, you could tell me how I make that connection?

 

 

3.png

arify
Microsoft Employee
Microsoft Employee

In the Other (Outras), at the bottom there's a "Blank Query" option, click that one.

 

And then, when you have the formula bar, type:

= OleDb.Query

It'll show a small help about how you can use that function

Untitled.png

 

You can use it like this:

 

= OleDb.Query("your connection string", "your query")

 

You need to find out what connection string & query you need to type in 🙂

My Power BI Desktop doesn´t recognize 

OleDb.Query 

Is it possible to create an OLEDB connection to a file? 

Helpful resources

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

Top Solution Authors