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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dyee4613v1
Frequent Visitor

Cannot Connect to AS400 with Power BI

Hi.  I'm trying to connect to AS400 database using an ODBC driver.  I tried this with both the ODBC driver and the IBM DB2 Database Drivers with little success. 

 

The ODBC Driver does connect but I can only see system-based tables.  I assumed it was an issue with my default SQL Schema or Library.  However, we tried a bunch of different options and none were successful.  Note: I did try an old user's login and this did show me tables specific to him but it didn't show anything I needed.  

 

The driver is ISeries Access ODBC Driver.  I also tried using IBM DB2 Database but that didn't work either.  Anyone have any tips/tricks I can try?  Thank you!

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @dyee4613v1 

 

Ensure your connection string and DSN are set up to use the correct default schema (library). In your ODBC settings, add the parameter DefaultLibrary (or similar, depending on your driver version) so that your login defaults to the library containing your tables. Also, verify that you’re using the latest ISeries Access ODBC driver (or IBM i Access Client Solutions ODBC driver) and that your credentials have permissions for the target tables. If necessary, use Power Query’s Advanced Editor to further refine the connection string.

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

 

LinkedIn|Twitter|Blog |YouTube 

View solution in original post

5 REPLIES 5
dyee4613v1
Frequent Visitor

Hi.  I realized I never responded to this.  The issue was the library schema.  We thought you could just do it like with SQL where you do select * or something like that.  It didn't work.  You had to point to a specific library.  We tried a specific library and then suddenly we had access to everything.  

v-kathullac
Community Support
Community Support

Hi @dyee4613v1  ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.


Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @dyee4613v1  ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.


Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @dyee4613v1 ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya

VahidDM
Super User
Super User

Hi @dyee4613v1 

 

Ensure your connection string and DSN are set up to use the correct default schema (library). In your ODBC settings, add the parameter DefaultLibrary (or similar, depending on your driver version) so that your login defaults to the library containing your tables. Also, verify that you’re using the latest ISeries Access ODBC driver (or IBM i Access Client Solutions ODBC driver) and that your credentials have permissions for the target tables. If necessary, use Power Query’s Advanced Editor to further refine the connection string.

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

 

LinkedIn|Twitter|Blog |YouTube 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.