Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

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?

  • 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

4 Replies

  • josef78's avatar
    josef78
    Icon for Memorable Member rankMemorable Member

    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

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

    • Anonymous's avatar
      Anonymous
      Not applicable

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