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
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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.