web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    93,956 Super User 2025 Season 2 on at
    Custom (filtered) webservices
    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,267

#2
Sumit Singh Profile Picture

Sumit Singh 2,098

#3
YUN ZHU Profile Picture

YUN ZHU 1,766 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans