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...
Answered

Custom (filtered) webservices

(1) ShareShare
ReportReport
Posted on by 18
Hi all,
 
We use Power BI to create financial reports from Business Central through Webservices (OData). These reports tend to focus on the current and previous financial year.
As Power BI has recently been struggling with refreshing large tables from BC, we would like to limit the data that is imported from specific tables.
 
E.g. we use an OData-feed to load General Ledger Entries into our Power BI Dataflow, which contains data from 2018 and up. We only need data from 01-01-2022 and later to show up in Power BI.
Is there a way to create an OData-feed in Business Central for a filtered version of the Ledger Entries-table?
Bonus points if this can be a dynamic filter, so we don't have to repeat the process every 1 or 2 years (as in 2024, we will not need 2022-data anymore etc.).
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    99,611 Super User 2026 Season 1 on at
    Hi, if you add the ODada feed manually, you can try adding filters directly in Endpoint.
     
    For example, https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox230/ODataV4/Company('My%20Company')/SalesOrders?$filter=Posting_Date ge 2023-04-02 and Posting_Date lt 2023-05-01
     
    Hope this helps.
    Thanks.
    ZHU

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 1,937 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,031 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 700 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans