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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Odata Connection - General Ledger Entry

(0) ShareShare
ReportReport
Posted on by 5

Hi,

We are a small company, we do not have datalakes or data warehousing capabilities but want to utilise the data within our cloud BC to build Power BI reports within the PBI environment.

I have set-up multiple Power BI dataflows to extract data from Business Central and all dataflows work well apart from the General ledger (Page 20 General Ledger Entries) which keeps on falling over, not all the time but enough to annoy me.  The error i get is:

"Error: DataSource.Error: OData: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

Our small IT team don't know if this is a Power BI dataflow or Business Central issue forcing the connection to close, does anybody know how to fix this issue?

The dataflow is pulling 3 companies General Ledger Entry data about 70k rows in total across the 3 companies.

I have tried splitting the connection out based on the posting date where i updated the Odata connection string to filter greater than 1st Jan 2021 so 6 months data but it still falls over all the time.

I have tried using a Web Api / Json format connection which worked extremely fast in comparison to the Odata connection but for some reason the connection did not extract all the data.  On a small sample comparison i looked at with no date filters applied to the connection the Web Api Json connection only started from GL entry number record 320 so literally missing the first 319 records which i have no idea why as i did not customise the connection it was a standard Web Api connection.

Any help would be appreciated.

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    Did you try postman or other tool to verify you are getting the data using that endpoint?

  • GreenPowerBI Profile Picture
    10 on at

    Kim Rivelio did you manage to find a solution? i got the exact same issue

  • Suggested answer
    Steven Renders Profile Picture
    5,692 Moderator on at

    What I would suggest, for Ledger Entry tables is to use (or create) a Query object and expose that as an ODATA webservice or API.

    In the Query object you can implement a group-by and Sum subtotals (=aggregating), which results in less records. You can also set the DataAccessIntent property of the query to ReadOnly, which makes it basically a little faster.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,121 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 669 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans