Home > Paul Mather, Work > #ProjectOnline reporting using #PowerBI Part2 #BI #Office365 #Reports #PPM #PMOT

#ProjectOnline reporting using #PowerBI Part2 #BI #Office365 #Reports #PPM #PMOT

Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

This is the second post for the Project Online reporting with Power BI intro I created earlier this week. If you missed it, a link to the post can be found below:

http://bit.ly/1M9xYMm

In this post we will look at creating new reports using the Power BI Desktop tool then adding these to Power BI.

Firstly if you haven’t already, download the Power BI Desktop: http://bit.ly/1giTosP.

Once launched you will see a getting started type page:

image

Close this and you will see a blank canvas:

image

The first thing we need to do is get the data, to do this click the Get Data button on the ribbon then OData feed:

image

In the  next window, paste in your Project Online OData feed, in this example I am using:

http://bit.ly/1W61jKW

image

Click OK and you will see your data:

image

At this point you can click OK to load the data but I would Edit the data to only select the fields you want. So in this example I will click the Edit button to load the query editor. The Query editor is very similar to the Power Query editor you see in Excel:

image

I only want certain columns so I will select the columns I want then remove the others. To select the columns just click the first one and hold down the Ctrl key then click the rest:

image

Or use the Choose Columns button on the ribbon:

image

Once all selected, click the Remove Columns > Remove Other Columns:

image

Notice in the Query Settings pane you see the Applied Steps, so you can easily undo a step if required:

image 

That is the project data loaded, now I want to load the task data. In the Query Editor click New Source > OData feed:

image

Paste in the URL for the Tasks feed:

image

Click OK to add the new source. I then selected the columns I wanted and named the query:

image

There is also an advanced editor that I used to filter out the summary tasks by modifying the URL:

image

The advanced editor can be used to type the code to manipulate the data but use the UI where possible.

Now we have two individual datasets / queries, we need to merge the queries to create the join, click the Merge Queries button:

image

Chose the columns and table to join then the join type:

image

Click OK.

Once you are happy with the data click Close & Load > Close & Load:

image

This will load the dataset to the report, see the fields pane:

image

Then add your visualisations on, the first one I added is the Treemap:

image

Then drag the fields to the visualisation settings on the pane, in this example I use Project Name for the group property and % complete in the values property:

image

Add the other visualisations you need, the example I created looks like this:

image

I then added another page to visualise some task information:

image

A very basic report but that gives you the idea how easy it is to create visualisations of your Project Online data using the Power BI Desktop.

The next stage is to add this to Power BI. To do this I can either publish the report using the Publish button or from the Power BI site, upload the file. For this example I clicked the Publish button:

image

The report will then be available in Power BI. The manual way from the Power BI portal site is to click the Get Data button:

image

Then chose the type of data, for this example I will use Files:

image

Then click local file:

image

Locate the Power BI file (or can be Excel etc. but this was a Power BI file) and add the file:

image

Once loaded, Power BI will create the dataset, the report and create a dashboard with a link to the report (note, I removed everything from my Power BI portal so that is was clean for the screen shots :))

image

Clicking the link under the Reports heading will load my report:

image

Clicking on an element from a visualisation will filter the data in the other visualisations:

image

The first thing to do is set up the dataset to refresh, to do this click the ellipsis next to the dataset then click Schedule Refresh button on the fly out menu:

image

Expand Manage Data Sources:

image

Enter the credentials for both sources, click the Edit Credentials link, select the oAuth2 for the Authentication Method and click Sign in:

image

Enter the credentials for the Project Online tenant and click sign in. Repeat for the other data source.

Now expand the Schedule Refresh section and turn on the “Keep your data up-to-date”:

image

Click Apply. The data sources will update Daily now but you can also update it on demand using the Refresh Now option:

image

When the data is refreshing you will see a spinning icon next to the dataset:

image

Now lets look at the dashboard. I will create a new Dashboard called “Dashboard Example” using the + button next to the Dashboards heading:

image

Once created you will see a blank canvas:

image

Now I can pin visualisations to this dashboard. To start with access the report previous loaded, hover over a visualisation and click the pin icon:

image

Navigate back to the dashboard and you will see the visualisation:

image

Repeat this process until you have the dashboard you need, for example:

image

You can also create new visualisations from the dashboard using the natural language query “Ask a question…” field, start typing a question about the data, for example “show project work” will create a visualisation for the total project work in the dashboard:

image

This visualisation can then be pined using the pin too. You can also change the default visualisation for the data returned using the visualisation pane, see the example below for a different query:

image

Once finished, the visualisations can be been seen on the dashboard:

image

The properties of the tiles can be edited using the pencil icon:

image

This loads the Tile detail pane:

image

Clicking on a visualisation that was added from a report will navigate you to that report directly.

You can then share your dashboard out to other people in your organisation using the Share Dashboard option, this loads the following window:

image

Enter the email addresses and click Share.

This is just touching the surface of what you can do with Power BI, take a look today – it will be your favourite reporting tool!

Advertisements
Categories: Paul Mather, Work Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: