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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
YashikaAgrawal
Post Patron
Post Patron

ODBC data sources

Hi Team,

 

We are working on creating Virtual machine (VM) for Power BI, gateway.
Source would be SQL server and Oracle.

SQL server and Oracle are in different servers.

 

2 questions:
a. ODBC data sources should we create in VM i.,e User DSN or System DSN.
b. How to use or where to use this DSN.

 

Please let me know.

 

Thanks,

2 ACCEPTED SOLUTIONS
AnalyticPulse
Solution Sage
Solution Sage

hi @YashikaAgrawal 
use system dns as powerbi uses system dns because it is windows service. 
you hve to create a dns in obdc connections  and test it to see if its configured successfully.(hope you know how to create it, if you search ODBC after pressing start button on your screen you will get result for 32 bit and 64 bit. use 64 bit). if you want to use direct native connectors  then you dnt need to create dns.

when you connect in powerbi go to- get data >ODBC > select the dns you have created.

Analytic Pulse Blog 
Docynx Productivity Tools 
Tool to Generate Realistic Sample Data Instantly online  

View solution in original post

lbendlin
Super User
Super User

a) System DSN, and only 64 bit

b) in your connection specify the server as "dsn=<dsn name>" . Refrain from using fancy characters and spaces and overly long names, as there is a 32 character limit.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

a) System DSN, and only 64 bit

b) in your connection specify the server as "dsn=<dsn name>" . Refrain from using fancy characters and spaces and overly long names, as there is a 32 character limit.

AnalyticPulse
Solution Sage
Solution Sage

hi @YashikaAgrawal 
use system dns as powerbi uses system dns because it is windows service. 
you hve to create a dns in obdc connections  and test it to see if its configured successfully.(hope you know how to create it, if you search ODBC after pressing start button on your screen you will get result for 32 bit and 64 bit. use 64 bit). if you want to use direct native connectors  then you dnt need to create dns.

when you connect in powerbi go to- get data >ODBC > select the dns you have created.

Analytic Pulse Blog 
Docynx Productivity Tools 
Tool to Generate Realistic Sample Data Instantly online  

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.