Call Us Today! 1.800.895.3254
[email protected]
Consulting & Advisory
Consulting / Advisory helps business and IT leaders make better decisions and turn strategy into execution-ready initiatives. Most engagements start with a Discovery Initiative to confirm outcomes, and build a roadmap.

Learn About Consulting
Data & AI
Data & AI delivers modern data platforms, analytics, and practical AI solutions—from assistants to agents—built on enterprise cloud tools. Integent helps you govern, deploy, and drive adoption so solutions stick and scale across your organization.
Learn About Data & AI
Support
Support keeps your solution stable, secure, and aligned with day-to-day operations. We combine functional and technical expertise with proactive monitoring, preventive maintenance, and 24/7 coverage for critical incidents.

Learn About Support
Microsoft Planner Premium
Leverage proven knowledge and experience to design and deploy Microsoft Planner Premium so your organization can manage projects, work, and resources more effectively across teams.
Learn More About Planner Premium
OnePlan
Integent can help you ensure continuity beyond Project Online by deploying OnePlan in the Microsoft Cloud—connecting portfolio governance, resources, and delivery execution for results.
Learn More About OnePlan
Microsoft Dynamics 365
Ensure business continuity with a custom cloud solution that connects your sales, service, finance, and operations teams to deliver measurable, predictable results.

Learn More About Dynamics 365
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Copilot Studio, the Microsoft Power Platform helps streamline and improve business functions.

Learn More About 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
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

December 11, 2015

Use Power Query to Shrink Odata Requests Down to Size

Most of the reports I create have a time element… Which client used the most project hours last year? ….. How many hours are my QA people scheduled to work next month?  Without that time framework, the information is less valuable.

Time phased reports do, however, have an unfortunate side. The tables we must use to get this information are huge, often requiring 20 minutes or more to refresh, or a PowerPivot layer to accept more rows of data than a standard spreadsheet.

When we create Project Online reports, we use Odata.  Luckily, Microsoft’s Power Query is able to import data from Odata and create filters to limit the data we access.

The first thing to do is add Power Query to Excel. Power Query is a free add-in.

Under the File menu, Options/Add-Ins, select COM add-ins.

image

Select Power Query and click Add.

Now, let’s go get some data.

Open Excel and click on the Power Query tab.

Click on From Other Sources/From Odata Feed.

image

Enter the URL for your PWA’s Odata.  This is your PWA’s URL plus /_api/projectdata.

image

At this point, you will probably be asked to re-sign in to access the data.  Select Organizational login.

You will see a list of Odata tables.  Select the time-phased table you want to filter.  For me, this is often the AssignmentTimePhasedDataSet table. This table has planned and actual work, per day, for all assignments. Yes, it is quite large.

image

The first thing we will do is fairly simple.  If you table has a lot of columns, use the Choose Columns option to select only the columns you need. TIP: never remove ID columns, as these are frequently used to create relationships between tables.

image

The next step is the most important one.  You are able to use Date/Time Filters to select data according to how close it is to today’s date.

To do this, click on the down arrow at the top of the TimeByDay column. Select Date/Time Filters.

image

Often, I use the “is in the previous” or “is in the next” filters. This will make a huge difference in the size of the table you pull.

TIP:  Sometimes you can’t restrict the data using this technique.  For instance, if you need to make monthly data available for all projects throughout their life, this filter is not useful.

image

Notice that the View/Advanced Filter actually shows you the filter that you’ve created using these GUI tools.

 

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