Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Excel 2016 Power Query and the Instance Web API Service Root URL

Posted on by 1,784

When using the new Service Root URL instead of the ODATA 2.0 OrganizationData.svc, how can I restrict data load to certain columns?

Someting like 

Lead?$select=Id,FirstName

works only for the OrganizationData.svc URL but not for the Service Root URL.

*This post is locked for comments

  • moko33 Profile Picture
    moko33 1,784 on at
    RE: Excel 2016 Power Query and the Instance Web API Service Root URL

    Hi Nithya Gopinath,

     

    thanks for your answer. Of course I should have mentioned "Leads?$select=..." instead of "Lead?$select=..." as Lead?$ doesn't work at all.

    However my problem still resists. The column selector doesn't select any columns and I get all columns of the leads table in my result set.

    Is it a current bug within Excel 2016 and/or because we're accessing an CRM 2016 on prem system?

    I think I've read about some others who had similar problems with the service root URL.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Excel 2016 Power Query and the Instance Web API Service Root URL

    Hi,

    Try using the URL below.

    ServiceRootURL/leads?$select=leadid,firstname

    It helps you to fetch only these two columns from the lead entity.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans