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
danielpaduck
Helper III
Helper III

ODBC Connection In Service - How To Save Username and Password

Hi, 

 

I am using an ODBC connection for my Power BI Reports.  I set up the System DSN and confirmed it worked on the Gateway computer. I then set up the connection in the Tenant.  My reports work fine locally when I refresh and I use the system DSN (however, it first prompted my to enter a Username and Password).  However, after the report is deployed it fails refreshing.  I believe the main issue is that it does not know what the Username and Password is. I heard you can save these setting in the registry. But, can you can save them in the connection string?  Not sure how best to resolve this. 

 

Cheers! 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @danielpaduck 

 

You should be saving your details as part of the connection name in the Power BI Service.


here is my blog post below where I show how to use the Athena ODBC Driver to get it working. Yours should be very similar on how to install, configure the ODBC Driver on your Gateway server and in the Power BI Service

Did you know you can query data from AWS S3 into Power BI? - FourMoo | Power BI | Data Analytics





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @danielpaduck 

 

You should be saving your details as part of the connection name in the Power BI Service.


here is my blog post below where I show how to use the Athena ODBC Driver to get it working. Yours should be very similar on how to install, configure the ODBC Driver on your Gateway server and in the Power BI Service

Did you know you can query data from AWS S3 into Power BI? - FourMoo | Power BI | Data Analytics





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Awesome, I will check that out!  

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.