Call Us Today! 1-800-895-3254
[email protected]
Microsoft Training
Integent offers a comprehensive portfolio of training services, with an ideal fit for every organization. Ranging from general courses to custom solutions, we have you covered.
Learn About TrainingSee Full list of Courses
Microsoft Consulting
Integent provides consulting services for a variety of Microsoft applications including Microsoft Project, Project Online, Project for the Web, Dynamics 365, and Microsoft SharePoint.
Learn About Consulting
Microsoft Support
Microsoft technologies set the standard for project portfolio management, business applications, collaboration, and more. Integent has flexible solutions to support every customer.
Learn About Support
Microsoft Project
Integent has the knowledge and experience to help design and deploy a solution to help your organization manage projects and resources more effectively
Learn More About Microsoft Project
Microsoft Dynamics 365
Integent can help you nsure business continuity with a custom cloud solution that connects sales, service, finance, and operations teams to deliver results.
Learn More About Dynamics 365
Microsoft SharePoint
SharePoint is Microsoft’s collaboration platform that is a place where team members can communicate, exchange data, share files and much more.
Learn More About Microsoft SharePoint
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Power Virtual Agents, the Microsoft Power Platform helps streamline and improve business functions.
Learn More About The Power Platform
About Integent
Integent was founded in 2009 on the principles of building long-lasting relationships with customers, exceeding expectations, and providing outstanding customer service. 

We’re dedicated to providing a customized solution backed by our knowledgeable team of Microsoft experts.
Discover What Makes Us Different
GSA Schedule
Integent is GSA Schedule Contract holder. A GSA schedule helps simplify selling our services to government customers.
Read More Here
News
Stay informed on Integent’s latest company updates and other important industry information. Our passion is customer success.
Read The Latest News
Videos
Learning new software doesn’t have to be difficult with our library of dozens of free training videos. Our video training always has something new.
Browse Our Training Video Library
Blog
Our industry experts share best practices and common pitfalls to avoid, in order to get the most out of your technology solutions.
Discover More

October 26, 2015

Microsoft Project Online Reporting with Excel: Why Isn’t My Data Model Working?

Recently, we were working on a nice set of Project Online timesheet reports for a client.  The fields we needed were in these Odata tables:

  • Tasks
  • TimesheetLines
  • TimesheetLineActualDataSet

We knew we were going to need to create some calculated fields, so we decided to use PowerPivot.  We needed to create relationships between these 3 tables, so we started with the most granular tables.  We created these relationships:

  • TimesheetLineActualDataSet relates to TimesheetLines using the TimesheetLineId field
  • TimesheetLines relates to Tasks using the TaskId field

We started to create the pivot table for our report, and noticed none of the information we needed from the Tasks table was populating. We needed those fields for our report.  After a bit of troubleshooting, we found the ID fields had inconsistent formatting that was causing them to not relate. Two of the fields had curly brackets ({}) around the ID.  One table did not. When Project Online looks at those fields, it knows to ignore the curly brackets.  Excel does not.

We had some cleaning up to do.  We needed to change the TaskId field in the TimesheetLines table to show the TaskId without curly brackets. That would make it look like the TaskId field in the Tasks table.  While we could make one long intricate formula, we decided to break it into three:

First, using best practices, instead of counting the number of characters in an ID field, we allow Excel to count. That way, should the numbering standard change, it will not affect us:

SNAGHTML128c4b7

Next, we remove the curly bracket from the left side of the field:

SNAGHTML12bbe11

Then, we removed the curly bracket from the right side:

SNAGHTML12c8b06

Now, we have a TaskId field that will relate to the Tasks table, and we are able to create our data model, and then our report, successfully!

If you’d like to find out about classes we offer in Reporting from Project Online or Project Server, contact us!

© Copyright 2023 | Integent.com | All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram