cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bryanshaw46
Resolver I
Resolver I

Connect to Oracle 12c with Scheduled refresh

For Power BI Report Server, has anyone made a Power BI viz that connects to Oracle and successfully put in a scheduled refresh? If so, what does the connection string look like?

1 ACCEPTED SOLUTION
josef78
Super User
Super User

Yes, it is depends what connector you are used.

If you are using "Oracle database" you must install Oracle ODAC component on RS server (ODP.NET 4).

In connection string you can use same string as you using in tnsnames. Or you can use only tns alias, in this case you must defined TNS_ADMIN enviroment variable pointing to directory of your tnsnames.ora

View solution in original post

4 REPLIES 4
josef78
Super User
Super User

Yes, it is depends what connector you are used.

If you are using "Oracle database" you must install Oracle ODAC component on RS server (ODP.NET 4).

In connection string you can use same string as you using in tnsnames. Or you can use only tns alias, in this case you must defined TNS_ADMIN enviroment variable pointing to directory of your tnsnames.ora

lbendlin
Super User
Super User

correct

lbendlin
Super User
Super User

We use TNSNAMES.ORA  (same on all gateway cluster members) and then the connection string is simply the TNS entry.

Just to be clear lbendin, in the Connection String text box, the only thing in there is the tns entry.  Nothing else.  Correct?

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.