I just added a new report in the Xer reader to show the float Erosion Report between two XER, I am using the “Harbour Pointe Assisted Living Center” from Primavera P6 default installation as example.
1- Download the pbix file here
2- Save a two XER in this folder C:\XER
3- Refresh PowerBI Desktop
4- Review the report, and export for Excel for sharing/Further analysis.
5- if you have PowerBI service in your company then publish it there, so other users can interact with the reports.
let me know if you want to see other reports.
4 years ago, we had to customize the xer parser for a client, that work end up as Xer Reader, turn out the file was very popular, but unfortunately, as it was written in VBA, users get all kind of different errors, and I was not able to provide a proper support.
now I am trying to rewrite the same Excel Macro but now using PowerBI, the file is hosted in github
in order to open a pbix file, you need PowerBI Desktop, it is a free download
I think it will be an interesting experience, some stuff are much easier using VBA, and there is no equivalent in PowerBI, I will try to document the progress.
in the main time here is my progress so far
You can download the file here or view the reports online
The last time I tried parsing an Xer file, I was using VBA and it was a horrible experience, anyway that was three years ago, The problem was not VBA per se, but supporting the different combination of Excel and Windows, I still receive sometimes emails from users complaining that Xer reader do not work for them, after a while I concluded it is not worth the effort.
Yesterday for no reason, I got this idea why not trying Powerquery , in 10 minutes I had a working prototype without writing a single line of code!!! even better it reads in bulk, copy a bunch of xer in the same folders, and there are loaded, only conditions they needs to have the same revisions( don’t mix P6 rev 7 with rev 8), as different revisions of P6 introduce some minor changes in the Xer schema, ( they add or remove some columns)
It is only a proof of concepts, I only loaded some tables, (activities and activities code), the data is loaded in the Data Model, and you need at least Excel 2013 with the free PowerQuery Installed.
Make sure you write the path to where your Xer is stored
You need to refresh the Queries here
Here is a pivot with some measures, now you can group only by Project and Activity codes and obviously by activity id.
I test it with two Xer that contains 47 projects