cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wonga Established Member
Established Member

Connect to OBIEE RPD using ODBC Connection

I'm trying to connect to the repository for OBIEE using an ODBC connection and the list of subject areas appears to load in Power BI, but I am unable to load any data into Power BI in order to make visualizations and reports.

 

Has anyone tried doing this and found a solution? Thanks.

46 REPLIES 46
arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

Are you seeing an error? Can you provide more details?

wonga Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

Hi @arify, no error pops up but please see picture below:

 

rpd 1.PNG

 

As you can see, I'm trying to expand the "Purchase Orders" subject area but nothing shows up below it implying that the subject area is empty or something. Of course this isn't the case, so it looks like Power BI isn't digging deep enough or something in regards to accessing the RPD through an ODBC connection.

 

Also notice that the "Load" button is greyed out, implying that there is nothing to load. I can force it to load by right clicking the subject area and clicking "Load", but the end result is an import of a table with no data in it at all, as seen in the below picture:

 

 

 rpd 2.PNG

 

Expanding the "Data" column results in nothing to expand to, which further implies that there is no data in the subject area from Power BI's point of view.

 

Thanks.

arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

We're working on handling a driver bug, this 'could' be one of those bugs we don't handle yet.

 

Can you open Advanced Query window, and in the M code you see, you'll see something like HierarchicalNavigation=true. Can you set it to false and try again?

arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

Another question, are you connecting to a normal Oracle database, or is this a different datasource?

wonga Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

@arify, this is the error I get when implementing your suggested change:

 

rpd 3.PNG

 

Thanks.

 

EDIT: In reference to your follow up question, I believe the ODBC connector is configured to connect to an Oracle BI Application Server and NOT an Oracle Database.

arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

This is a new issue, I haven't seen this before. Can you help us fix this?

 

Can you send us a frown, including your

  • M query when HierarchicalNavigation=false,
  • PowerBI desktop traces (Options > Diagnostics > Enable tracing and then reproduce this failure. Then, get those files that appeared in the Traces folder)
  • ODBC traces

Thanks!

wonga Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

Hi @arify, I sent the requested information earlier today. Is there any way you can confirm receipt of my error submission?

arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

We got your email, thanks 🙂

 

Actually, when you set the HierarchicalNavigation to false, can you also remove the last step?

 

So, your M query should be like this:

 

let
    Source = Odbc.DataSource("dsn=#YOURDSNNAME#", [HierarchicalNavigation=false])
in
    Source

 

See if that works 🙂

arify Established Member
Established Member

Re: Connect to OBIEE RPD using ODBC Connection

@wonga I also noticed this:

 

let
    Source = Odbc.DataSource("dsn=#YOURDSNNAME#", [HierarchicalNavigation=true]),
    #"Procurement and Spend - Purchase Orders#(#)(0000)_Database" = Source{[Name="Procurement and Spend - Purchase Orders#(0000)",Kind="Database"]}[Data]
in
    #"Procurement and Spend - Purchase Orders#(#)(0000)_Database";

 

Looks like we're picking a null character at the end of the database name. From your M query (where HierarchicalNavigation is still set to true) can you remove the #(0000) I striked above?

 

Note: the code I'm pasting here is incomplete, because of a forum bug it swallows rest of the code after a closing curly bracket character. So, instead of copying this code, change your existing code 🙂

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 198 members 2,206 guests
Please welcome our newest community members: