web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Power Query OData with Business Central - Select columns yields errors in unselected columns

(1) ShareShare
ReportReport
Posted on by 46
Hello,
 
I'm using a BC OData URL as a source in a power query in Excel. The source works fine and I can filter the rows in the source itself which speeds up the query. However, I can't get it to select specific columns. When I choose specific columns to bring in, instead of only bringing those in, it brings all columns in and only populates the ones I selected (and fills the other columns with /error/). Is there a way to have the OData exclude these unneeded columns entirely? It doesn't seems to be any faster the way I have it because it still brings in all the columns, it just doesn't populate data for them.
 
For example, I only want to bring in the Posting Date and the GL Account Number:
 
 
Is there a better way to weed out the unneeded columns before they're loaded so the query can update faster?
 
Thanks,
 
Jared
I have the same question (1)
  • Judy Profile Picture
    Microsoft Employee on at
    Hi, please specify what the error are you experiencing.
  • Jared M Profile Picture
    46 on at
    Sorry, the picture didn't load:
     
     
    It's not a specific error, what's happening is the columns I've not selected are just coming through with errors in every row. If it still doesn't load, it's basically the same as the image in this post: https://forum.enterprisedna.co/t/power-query-odata-connection-with-select/22639
     
    The workaround suggested in that post doesn't help because it weeds out the columns after the data is loaded, so it doesn't help speed up the OData refresh.
     
    I drilled into one of the errors (document type for example) and this is what it said:
     
    DataFormat.Error: We expected a property 'Document_Type', but the OData service omitted it from the response data. This can occur for a number of reasons and does not necessarily imply that the data does not exist or is of a default value.
    Details:
        Property=Document_Type
     
    But again, the issue isn't the specific error, it's the fact that columns I did not select are still showing up (just filled with errors)
     
    Jared
  • EG-11091351-0 Profile Picture
    4 on at
    Im having the same issue, converting my odata calls to BC, using the same $select method, example ?$select=Job_No and i still get all columns with "Error" in the columns where i didnt specify i wanted the data. If i skipp null and implemention 2.0 settings i get null in every column i didnt want.

    Did you figure out a fix for this?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans