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