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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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