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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Ayupchap
Helper III
Helper III

ODBC Connection error - 07006

HI all

 

So I am super new at this kind of thing but very excited to get this to work and wonder if someone would be kind enough to help me.  This is the first time I have ever tried to do anythign like this so I am a super novice.

 

I successfully created a connection with ODBC to a data source I use here at my work (a primary school) which is so exciting as I want to pull it into PowerBI  The source I'm pulling from is called PowerSchool a student SIS.  I am trying to make this work with the ODBC connector in PowerBI which it does, I can see all the tables listed but unfortunately though when I click on any table I get this error: 
DataSource.Error: ODBC: ERROR [07006] [Oracle][ODBC]Restricted data type attribute violation. 
Details: 
DataSourceKind=Odbc 
DataSourcePath=dsn=PowerSchool WORKS 
OdbcErrors=Table 

This weirdly works in MS Access


What can I do about this?  Any help so appreciated!!!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Ayupchap,

Do you use the latest version of Power BI Desktop(2.51.4885.581)? And are you able to import the data into Power BI Desktop with SQL statement?

1.JPG




Regards,
Lydia

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Other way of doing it:

@Anonymous

This can be done by using the TNS name in the Oracle Database Native Driver in Power BI.Oracle_sol_1.png

 

Use TNS Service Name in the place of Server Name. (TNS Sevice Name provided in creation of ODBC driver and DSN )

 

This helps in successfull connection to the Oracle Database.

 

oracle_solution_2.PNG

 Hope it works well for you too...

Anonymous
Not applicable

@Ayupchap,

Do you use the latest version of Power BI Desktop(2.51.4885.581)? And are you able to import the data into Power BI Desktop with SQL statement?

1.JPG




Regards,
Lydia

Ahh ha ha thats it!  Thank you so so much.  I didn't realize you could do that! I have been able to do what I need.  Amazing!

Anonymous
Not applicable

I have the same issue. Using the sql string works as well, but this isn't very conducive to connecting to multiple tables. How do we get this corrected so that browsing the hierarchy works?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.