20 Comments

  1. Kade Soprano
    24 September, 2021 @ 17:09

    How can you connect Power BI to P6 if the P6 database is cloud connect, which is the database in my P6 installation?

    Reply

    • Project 2080
      3 October, 2021 @ 20:25

      Hi Kade,

      thanks for your comment. We recommend you contacting Oracle to find out the best way to connect this database to Power BI. In the meantime, we will try to find out more about it. We are so sorry for not being able to help you this time.

      Regards,

      Reply

  2. Rogerio Valle
    14 January, 2022 @ 16:46

    Sir,
    Do you have by any chance documentation regarding Primavera p6 database tables and their fields in order to create
    a project S-Curve?

    I appreciated.

    Regards,

    Reply

    • Project 2080
      17 January, 2022 @ 09:39

      Hi Rogerio,

      thanks for your message. I am currently working on a new post where I show how to connect XER files to POWER BI, using the tables within the XER file. As part of this new post, i will include for free a Power BI file with all these P6 tables and data transformation. You will have only to download your XER file and magic will be automatically shown.

      Regards,

      Reply

    • Erik Jonker
      29 April, 2022 @ 21:31

      Reply

  3. Rogerio Valle
    14 January, 2022 @ 16:47

    Sir,
    Do you have by any chance documentation regarding Primavera p6 database tables and their fields in order to create
    a project S-Curve in Power BI, I mean.

    I appreciated.

    Regards,

    Reply

    • Project 2080
      17 January, 2022 @ 10:02

      Dear Rogerio,

      thanks for your message. As we informed you in a previous message, we are working on a new post where we explain how to connect the XER file to Power BI. On it, you will find how we create S-Curves in Power BI.

      In the meantime, to create an S-Curve in Power BI you can use the following formula:

      Physical Progress to date =
      CALCULATE (
      [Physical Progress to date],
      FILTER (
      ALL(‘Data Set’),
      ‘Data Set'[Finish Date]<=TODAY() ) ) where [Physical Progress to date] is a measure in Power BI and equals to "Physical Progress to date = SUM ('Data Set' [Physical Progress])". If you want to be the first one to receive new content and be actively part of our community, you can subscribe for free.

      Regards,

      Regards,

      Reply

      • B. Konrad
        26 December, 2023 @ 04:02

        Would this Power BI cumulative measure work better with an imported time-scaled report from P6?

        Reply

        • Project 2080
          24 January, 2024 @ 07:28

          Hi Konrad,

          the more detail our data is the better our reports will be.

          Regards,

          Reply

  4. Khaled
    6 May, 2022 @ 09:38

    I followed Step 1 and 2 in your post. But I can not find “SQLite3 ODBC Driver” option in the list as per Step 3. What to do?

    Reply

    • Project 2080
      6 May, 2022 @ 12:00

      Hi, Khaled

      Thanks for your message. Please, select “SQLite ODBC Driver” instead. It is weird you are not able to see the “SQLite3 ODBC Driver” option. Did you install the Primavera P6 database as “P6 Pro Standalone (SQLite)”?

      Regards,

      Reply

      • Khaled
        3 October, 2022 @ 21:58

        I managed to connect to P6 database following the instructions on this page. Thank you very much.
        Do you have a post explaining how to utilize the data from P6 to create visualizations in Power BI?

        Reply

  5. PRAVEEN
    20 April, 2023 @ 19:51

    Hi, Can you please help me on the following question,

    Do you know how to move the data from P6 EPPM and Unifier cloud database to MSSQL local database? I’m planning to maintain database snapshots at local MSSQL databse and from there planning to have PowerBI dashboards.

    Reply

    • Daniel Blázquez
      13 May, 2023 @ 09:21

      Yes, we can certainly guide you on moving data from Oracle’s Primavera P6 EPPM and Unifier cloud databases to a local MSSQL database. Please note that the exact procedures can vary depending on the versions and specific setup of the software in use, and you should always make sure to back up any important data before attempting any kind of migration.

      Here’s a general step-by-step guide:

      1. Data Export from Oracle Cloud Database (P6 EPPM and Unifier): First, you need to export the data from your Oracle Cloud databases. You can use Oracle SQL Developer, which is a free integrated development environment that simplifies the management and development of Oracle Database, to do this. You can create a full database export, or select only the specific tables you need.

      2. Data Import to MSSQL: After you have your exported data, you will need to import it into your MSSQL database. If the data was exported in a format like CSV, you can use SQL Server Management Studio (SSMS) to import the data. You can use the Import Flat File wizard for this. If the data was exported in a SQL format, you may need to adjust the syntax to be compatible with MSSQL, as there can be differences between Oracle SQL and MSSQL.

      3. Creating Database Snapshots in MSSQL: Once the data is in MSSQL, you can create database snapshots as needed. A database snapshot is a read-only, static view of a SQL Server database (the source database). The database snapshot is transactionally consistent with the source database as of the moment of the snapshot’s creation. You can create a database snapshot in SSMS by right-clicking on the database, selecting Tasks, and then Generate Scripts. In the scripting options, you can select to script all objects and data.

      4. Connecting to Power BI: Once your data is in MSSQL and you have created your snapshots, you can connect Power BI to your MSSQL database. In Power BI Desktop, you can click on “Get Data”, select “SQL Server”, enter your server and database information, and then load the data you want to use in your reports.

      Please note that this is a simplified overview of the process, and the exact steps may vary depending on your specific setup and requirements. You should also keep in mind issues of data security and compliance when moving data from a cloud environment to a local one, particularly if the data contains any sensitive or personally identifiable information. You should ensure that your MSSQL server is secure and that you have taken all necessary steps to protect the data.

      Before you begin, it’s a good idea to consult with a database administrator or other IT professional who is familiar with both Oracle and MSSQL databases, as they can provide guidance tailored to your specific situation.

      Reply

  6. Hasan Nazan
    4 June, 2023 @ 10:55

    Hi,

    when I follow the steps and create DB connection to SQLite database. Some table names does not show up. For example, RESOURCEASSIGNMENTSPREAD table is not selectable when choosing source in Power BI. Does this table not exist in SQLite database or I am doing something wrong.

    Reply

    • Project 2080
      22 September, 2023 @ 08:32

      Hi, Hasan

      you are not doing something wrong. Tables related to “Resources” all starting by “RSRC” (RSRC, RSRCANDASH, RSRCANVIEW, RSRCCCURV, RSRCHOUR, etc). I hope this comment helps you.

      Regards,

      Reply

  7. Ryan
    8 December, 2023 @ 22:33

    The P6 database I want to connect to is configured as a Microsoft SQL Server / SQL Express. How do I connect Power BI to this database type?

    Reply

    • Project 2080
      24 January, 2024 @ 07:23

      Hi Ryan,

      this post is related to the connection to “P6 Pro Standalone (SQLite)”. We will prepare a new post related to “Microsoft SQL Server / SQL Express”. In the meantime, you can connect to “SQL Server” (this is one of the options to get data). Just select the server name and database you want to get data from.

      Regards,

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *