New: the real cost of hosting applications in-house
LoadSpring

How to get Primavera P6 data into Power BI

Primavera P6 holds the schedule and Power BI is where most leadership teams read their reports. Here are four ways to connect the two, what each one needs, and where each one runs out.

At a glance4 min read

  1. P6 does not hand data to Power BI by itself. You choose a method.
  2. Exports are quick to start. Database reads and web services scale further.
  3. A curated dataset pays off when reports combine P6 with cost data.
Customer storyBAMBAM UK & Ireland: one view across three planning toolsPrimavera P6, Microsoft Project and Powerproject data unified with LoadSpring Data™.Read the story

Next step

AI won’t fix inaccurate reportingGuide to data readinessTalk to an expertA plan and a quote for your environment

Schedulers work in Primavera P6. The people who fund and steer the program usually read Power BI. Getting schedule data from one to the other is a common request, and there is more than one way to do it.

The right method is the simplest one that still gives you a report people trust on Monday morning.

This article sets out four methods, from the quickest to start to the most durable, and what each one asks of your team.

1. Export files from P6

The quickest start is to export from P6 and load the file into Power BI. P6 exports schedules as XER and XML files, and layouts as spreadsheets.

This works for a single project or a one-off report. It runs out when the report has to stay current. Someone has to run the export, the file is out of date as soon as the schedule is recalculated, and every new project adds another file to manage.

Use it to prove the report is worth having. Plan to replace it.

2. Read the P6 database

In a shared installation, P6 stores its data in a database, on Microsoft SQL Server or Oracle. Power BI can connect to either, so the report reads the schedule data where it lives.

Three points matter here.

  • Keep it read only. Any data access outside the channels the software vendor approves needs to be read only. Otherwise you risk corrupting the data and losing the vendor's support.
  • The tables are built for the application, not for reporting. Activities, the work breakdown structure, resources and assignments sit in separate tables with coded fields, so someone has to model them before a report makes sense. If you run P6 EPPM, read from its extended schema, the set of reporting views Oracle provides for this purpose, and not from the live tables.
  • Power BI needs a network path to the database. For a database behind your firewall or in a hosted environment, that usually means the Microsoft Power BI data gateway or a site-to-site VPN. On Oracle's own P6 cloud service there is no direct database access, so this method applies to P6 you run yourself or have hosted.

3. Use the P6 web services or API

Oracle provides the P6 API and the P6 web services, documented in the integration guides of the Primavera P6 documentation library for each P6 version. The web services exchange data in XML over HTTPS, which suits connections across networks.

This is the vendor's supported route, and it keeps the reporting tool away from the database. It also takes development. P6 does not include integration web services by default, a single web service supports one authentication type, and the services run on infrastructure of their own, which carries a cost.

Choose it when other systems need P6 data as well as Power BI, so the work is shared.

4. Publish a curated dataset

The fourth method puts a prepared dataset between P6 and the report. The data is extracted on a schedule, normalized and flattened, and published where Power BI can point to it. Report builders then work with clean tables, and they do not need to understand the P6 schema.

This is what LoadSpring Data does. It publishes normalized, flattened data that Power BI or Microsoft Fabric can point to, and it keeps the dataset current as the source systems change.

The case for it grows when a report has to combine P6 with other applications. A cost and schedule view needs data from both the scheduling tool and the cost tool, and joining them by hand in each report is where most of the effort goes.

How to choose

  • One project, one report, needed this month: export files.
  • Several projects, one team, P6 only: read the database, read only, through a gateway or VPN.
  • Other systems need P6 data too: web services or the API.
  • Reports combine P6 with cost, risk or field data: a curated dataset.

Most teams move down this list over time. Starting with exports is reasonable, as long as nobody mistakes the first version for the finished one.

What hosting P6 changes

When P6 is hosted, the database and the application run in the provider's environment, so the connection has to be arranged with the provider. Ask three questions before you sign: which of these methods the provider supports, who sets up and maintains the connection, and what it costs.

With Primavera P6 hosting from LoadSpring, the options are web services and APIs, a site-to-site VPN, middleware such as the Microsoft Power BI data gateway, curated data, and file transfer. LoadSpring helps you document the objective, identify the source and destination, and choose the method that fits your requirements for security, performance and maintenance. See the integration options for hosted applications.

Frequently asked questions

Does Primavera P6 have a power BI connector?

P6 does not hand data to Power BI by itself. You connect the two through file exports, a read-only database connection, the P6 web services or API, or a curated dataset published for reporting.

Can power BI connect to a hosted P6 database?

Yes, where the hosting provider supports it. The connection usually runs through the Microsoft Power BI data gateway or a site-to-site VPN, and it should be read only.

Is it safe to query the P6 database directly?

Reading is safe when the connection is read only. Writing to the database outside the channels Oracle approves risks corrupting the data and losing the vendor's support.

What is the best way to combine P6 data with cost data in power BI?

Publish both into one curated dataset and build the report on that. Joining the scheduling tool and the cost tool by hand in each report is slow and hard to keep consistent.

Talk it through

Tell us which applications hold your project data and what the report has to show. We will follow up with a plan and a quote. Talk to an expert.

Customer storyBAMBAM UK & Ireland: one view across three planning toolsPrimavera P6, Microsoft Project and Powerproject data unified with LoadSpring Data.Read the story

Next step

AI won’t fix inaccurate reportingGuide to data readinessTalk to an expertA plan and a quote for your environment
Next step

Talk to us about your own applications.

A 30-minute conversation about your application, your requirements and your timeline, with a plan and a quote to follow.

SOC 2 Type II ISO 27001 data centers Cyber Essentials Plus GDPR compliant Data residency
Having LoadSpring host our software in the Cloud makes it easy for everyone to access our data anywhere, 24/7.
Lisa Varney
Senior Project Control Analyst
HART, Honolulu Authority for Rapid Transportation